File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22# Only the main Sass file needs front matter (the dashes are enough)
3- sitemap_exclude: y
3+ sitemap_exclude: true
44---
5- @charset " utf-8" ;
6- @use ' sass:color' ;
7-
85
6+ @charset " utf-8" ;
7+ @use " sass:color" ;
98
10- // Our variables
9+ // Variables
1110$base-font-family : Helvetica , Arial , sans-serif ;
12- $base-font-size : 16px ;
13- $small-font-size : $base-font-size * 0.875 ;
11+ $base-font-size : 16px ;
12+ $small-font-size : $base-font-size * 0.875 ;
1413$base-line-height : 1.5 ;
1514
16- $spacing-unit : 30px ;
15+ $spacing-unit : 30px ;
1716
18- $text-color : #111 ;
17+ $text-color : #111 ;
1918$background-color : #fdfdfd ;
20- $brand-color : #2a7ae2 ;
19+ $brand-color : #2a7ae2 ;
2120
22- $grey-color : #828282 ;
21+ $grey-color : #828282 ;
2322$grey-color-light : color .scale ($grey-color , $lightness : 40% );
24- $grey-color-dark : color .scale ($grey-color , $lightness : -25% );
23+ $grey-color-dark : color .scale ($grey-color , $lightness : -25% );
2524
2625// Width of the content area
27- $content-width : 800px ;
28-
29- $on-palm : 600px ;
30- $on-laptop : 800px ;
26+ $content-width : 800px ;
3127
28+ $on-palm : 600px ;
29+ $on-laptop : 800px ;
3230
33-
34- // Using media queries with like this :
31+ // Media query mixin
32+ // Usage :
3533// @include media-query($on-palm) {
36- // .wrapper {
37- // padding-right: calc( $spacing-unit / 2) ;
38- // padding-left: calc( $spacing-unit / 2) ;
39- // }
34+ // .wrapper {
35+ // padding-right: $spacing-unit / 2;
36+ // padding-left: $spacing-unit / 2;
37+ // }
4038// }
4139@mixin media-query ($device ) {
42- @media screen and (max-width : $device ) {
43- @content ;
44- }
40+ @media screen and (max-width : $device ) {
41+ @content ;
42+ }
4543}
4644
47-
48-
4945// Import partials from `sass_dir` (defaults to `_sass`)
5046@import
51- " base" ,
52- " layout" ,
53- " syntax-highlighting"
54- ;
47+ " base" ,
48+ " layout" ,
49+ " syntax-highlighting" ;
You can’t perform that action at this time.
0 commit comments