If you have already learned classical algebraic geometry and are planning to study how it's been studied through stacks, one of the best places to learn from is the Stacks Project. While I understand that it is not a textbook, it is a collaborative mega-project that uses stacks to study algebraic geometry. You may also like to read Toen's course notes, Demazure's book, and Anton's notes.
Just one note - you may not be very well motivated to study derived categories and stacks without first learning classical algebraic geometry, eg., Hartshorne. While they are used in research in algebraic geometry, they might seem like very complex things that cannot be used correctly. (Of course, one can go into a whole discussion about why this is usually discouraged, but this is not the scope of the question.)