mirror of
https://github.com/danog/sass-site.git
synced 2024-11-27 12:35:03 +01:00
200 lines
1.7 KiB
Plaintext
200 lines
1.7 KiB
Plaintext
%h1 Documentation
|
|
|
|
:markdown
|
|
## Installation
|
|
|
|
### Basic
|
|
|
|
Basic command line usage vs GUI. Send folks over to the get started section?
|
|
|
|
### Rails
|
|
|
|
### Sinatra
|
|
|
|
### Middleman
|
|
|
|
### Nanoc
|
|
|
|
### Drupal
|
|
|
|
### Node
|
|
|
|
---
|
|
|
|
## Options
|
|
|
|
### :style (nested, expanded, compact, compressed)
|
|
|
|
### :syntax (sass, scss)
|
|
|
|
### :property_syntax
|
|
|
|
### :cache
|
|
|
|
### :read_cache
|
|
|
|
### :cache_store
|
|
|
|
### :never_update
|
|
|
|
### :always_update
|
|
|
|
### :always_check
|
|
|
|
### :poll
|
|
|
|
### :full_exception
|
|
|
|
### :template_location
|
|
|
|
### :css_location
|
|
|
|
### :cache_location
|
|
|
|
### :unix_newlines
|
|
|
|
### :filename
|
|
|
|
### :line
|
|
|
|
### :load_paths
|
|
|
|
### :filesystem_importer
|
|
|
|
### :line_numbers
|
|
|
|
### :debug_info/:trace_selectors options.
|
|
|
|
### :trace_selectors
|
|
|
|
### :debug_info
|
|
|
|
### :custom
|
|
|
|
### :quiet
|
|
|
|
---
|
|
|
|
## Nesting
|
|
|
|
### Nested Rules
|
|
|
|
### Nested Properties
|
|
|
|
### Referencing Parent Selectors
|
|
|
|
|
|
|
|
## Operations
|
|
|
|
### Math (+, -, *, /, %)
|
|
|
|
/ Cover parenthesis here as well
|
|
|
|
### Relational (<, >, <=, >=, ==, !=)
|
|
|
|
### Colors
|
|
|
|
### Strings
|
|
|
|
### Boolean (and, or, not)
|
|
|
|
|
|
|
|
## @import
|
|
|
|
### Partials
|
|
|
|
### @import
|
|
|
|
|
|
|
|
|
|
## Variables
|
|
|
|
### Defaults
|
|
|
|
|
|
|
|
|
|
## Interpolation
|
|
|
|
|
|
|
|
|
|
## Logic
|
|
|
|
### @if
|
|
|
|
### @for
|
|
|
|
### @each
|
|
|
|
### @while
|
|
|
|
|
|
|
|
## Mixins
|
|
|
|
### Create a mixin
|
|
|
|
### Using a mixin
|
|
|
|
### Arguments
|
|
|
|
### @content blocks
|
|
|
|
|
|
|
|
|
|
## @extend
|
|
|
|
## Placeholder
|
|
|
|
## Gotchas
|
|
|
|
|
|
## @media
|
|
|
|
|
|
|
|
|
|
## Functions
|
|
|
|
### Custom Functions
|
|
|
|
### RGB
|
|
|
|
### HSL
|
|
|
|
### Opacity
|
|
|
|
### Strings
|
|
|
|
### Numbers
|
|
|
|
### Lists
|
|
|
|
### Introspective
|
|
|
|
|
|
|
|
## Debugging
|
|
|
|
### @debug
|
|
|
|
### @ward
|
|
|
|
|
|
|
|
## Comments
|
|
|
|
---
|
|
|
|
## Extending Sass
|
|
|
|
### Defining custom functions
|
|
|
|
### Cache Stores
|
|
|
|
### Custom Importers |