Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Ghost

You're reading from   Getting Started with Ghost Reach out to the world and publish great content with the power of Ghost

Arrow left icon
Product type Paperback
Published in Nov 2014
Publisher
ISBN-13 9781783985180
Length 152 pages
Edition 1st Edition
Languages
Tools
Concepts
Arrow right icon
Authors (3):
Arrow left icon
Kezz Bracey Kezz Bracey
Author Profile Icon Kezz Bracey
Kezz Bracey
Andrew J Boutte Andrew J Boutte
Author Profile Icon Andrew J Boutte
Andrew J Boutte
David Balderston David Balderston
Author Profile Icon David Balderston
David Balderston
Arrow right icon
View More author details
Toc

Stylus files

You're about to start applying CSS to your theme, so before we move on, let's take a quick look at how the Stylus files (you'll find in your LearningGhostSource folder) work.

The import_stylus.styl file

This file imports the other Stylus files of the project, in the order specified therein. The order of import determines that the order code will be written into the actual production style sheet.

The meta folder

This folder contains the modified version of Normalize.css as well as any global variables, functions, and so on that need to be accessible throughout the project.

The vars_mixins_etc folder

In this folder, you will find three files, each containing any variables, mixins, functions, hashes, and any other code that is not an actual CSS style. The files are:

  • typography.styl
  • layout.styl
  • color_and_bgs.styl

These files allow you to keep your project clearly organized along purpose-oriented lines. The driving principle is that once your design is complete, you should...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image