1- // stylelint-disable
1+ // stylelint-disable value-keyword-case
22
33// Breakpoints
44$large-breakpoint : 64em ;
@@ -10,12 +10,14 @@ $header-bg-color: #159957 !default;
1010$header-bg-color-secondary : #155799 !default ;
1111
1212// Text
13+ $font-family : " Open Sans" , " Helvetica Neue" , Helvetica , Arial , sans-serif !default ;
1314$section-headings-color : #159957 !default ;
1415$body-text-color : #606c71 !default ;
1516$body-link-color : #1e6bb8 !default ;
1617$blockquote-text-color : #819198 !default ;
1718
1819// Code
20+ $font-family-code : Consolas, " Liberation Mono" , Menlo, Courier , monospace !default ;
1921$code-bg-color : #f3f6fa !default ;
2022$code-text-color : #567482 !default ;
2123
@@ -49,7 +51,7 @@ $hr-border-color: #eff0f1 !default;
4951body {
5052 padding : 0 ;
5153 margin : 0 ;
52- font-family : " Open Sans " , " Helvetica Neue " , Helvetica , Arial , sans-serif ;
54+ font-family : $font-family ;
5355 font-size : 16px ;
5456 line-height : 1.5 ;
5557 color : $body-text-color ;
6567}
6668
6769.btn {
68- display : inline-block ;
69- margin-bottom : 1rem ;
70- color : rgba (255 , 255 , 255 , 0.7 );
71- background-color : rgba (255 , 255 , 255 , 0.08 );
72- border-color : rgba (255 , 255 , 255 , 0.2 );
73- border-style : solid ;
74- border-width : 1px ;
75- border-radius : 0.3rem ;
76- transition : color 0.2s , background-color 0.2s , border-color 0.2s ;
77-
78- & :hover {
79- color : rgba (255 , 255 , 255 , 0.8 );
80- text-decoration : none ;
81- background-color : rgba (255 , 255 , 255 , 0.2 );
82- border-color : rgba (255 , 255 , 255 , 0.3 );
83- }
84-
85- + .btn {
86- margin-left : 1rem ;
87- }
88-
8970 @include large {
9071 padding : 0.75rem 1rem ;
9172 }
10687 margin-left : 0 ;
10788 }
10889 }
90+
91+ display : inline-block ;
92+ margin-bottom : 1rem ;
93+ color : rgba (255 , 255 , 255 , 0.7 );
94+ background-color : rgba (255 , 255 , 255 , 0.08 );
95+ border-color : rgba (255 , 255 , 255 , 0.2 );
96+ border-style : solid ;
97+ border-width : 1px ;
98+ border-radius : 0.3rem ;
99+ transition : color 0.2s , background-color 0.2s , border-color 0.2s ;
100+
101+ & :hover {
102+ color : rgba (255 , 255 , 255 , 0.8 );
103+ text-decoration : none ;
104+ background-color : rgba (255 , 255 , 255 , 0.2 );
105+ border-color : rgba (255 , 255 , 255 , 0.3 );
106+ }
107+
108+ + .btn {
109+ margin-left : 1rem ;
110+ }
109111}
110112
111113.page-header {
112- color : $header-heading-color ;
113- text-align : center ;
114- background-color : $header-bg-color ;
115- background-image : linear-gradient (120deg , $header-bg-color-secondary , $header-bg-color );
116-
117114 @include large {
118115 padding : 5rem 6rem ;
119116 }
@@ -125,12 +122,18 @@ a {
125122 @include small {
126123 padding : 2rem 1rem ;
127124 }
125+
126+ color : $header-heading-color ;
127+ text-align : center ;
128+ background-color : $header-bg-color ;
129+ background-image : linear-gradient (
130+ 120deg ,
131+ $header-bg-color-secondary ,
132+ $header-bg-color
133+ );
128134}
129135
130136.project-name {
131- margin-top : 0 ;
132- margin-bottom : 0.1rem ;
133-
134137 @include large {
135138 font-size : 3.25rem ;
136139 }
@@ -142,13 +145,12 @@ a {
142145 @include small {
143146 font-size : 1.75rem ;
144147 }
148+
149+ margin-top : 0 ;
150+ margin-bottom : 0.1rem ;
145151}
146152
147153.project-tagline {
148- margin-bottom : 2rem ;
149- font-weight : normal ;
150- opacity : 0.7 ;
151-
152154 @include large {
153155 font-size : 1.25rem ;
154156 }
@@ -160,15 +162,13 @@ a {
160162 @include small {
161163 font-size : 1rem ;
162164 }
165+
166+ margin-bottom : 2rem ;
167+ font-weight : normal ;
168+ opacity : 0.7 ;
163169}
164170
165171.main-content {
166- word-wrap : break-word ;
167-
168- :first-child {
169- margin-top : 0 ;
170- }
171-
172172 @include large {
173173 max-width : 64rem ;
174174 padding : 2rem 6rem ;
186186 font-size : 1rem ;
187187 }
188188
189+ word-wrap : break-word ;
190+
191+ :first-child {
192+ margin-top : 0 ;
193+ }
194+
189195 img {
190196 max-width : 100% ;
191197 }
208214
209215 code {
210216 padding : 2px 4px ;
211- font-family : Consolas, " Liberation Mono " , Menlo, Courier , monospace ;
217+ font-family : $font-family-code ;
212218 font-size : 0.9rem ;
213219 color : $code-text-color ;
214220 background-color : $code-bg-color ;
219225 padding : 0.8rem ;
220226 margin-top : 0 ;
221227 margin-bottom : 1rem ;
222- font : 1rem Consolas, " Liberation Mono " , Menlo, Courier , monospace ;
228+ font : 1rem $font-family-code ;
223229 color : $code-text-color ;
224230 word-wrap : normal ;
225231 background-color : $code-bg-color ;
269275 background-color : transparent ;
270276 border : 0 ;
271277
272- & :before ,
273- & :after {
278+ & :: before ,
279+ & :: after {
274280 content : normal ;
275281 }
276282 }
300306 width : 100% ;
301307 overflow : auto ;
302308 word-break : normal ;
303- word-break : keep-all ; // For Firefox to horizontally scroll wider tables.
304- -webkit-overflow-scrolling : touch ;
305309
306310 th {
307311 font-weight : bold ;
340344}
341345
342346.site-footer {
343- padding-top : 2rem ;
344- margin-top : 2rem ;
345- border-top : solid 1px $hr-border-color ;
346-
347347 @include large {
348348 font-size : 1rem ;
349349 }
355355 @include small {
356356 font-size : 0.9rem ;
357357 }
358+
359+ padding-top : 2rem ;
360+ margin-top : 2rem ;
361+ border-top : solid 1px $hr-border-color ;
358362}
359363
360364.site-footer-owner {
0 commit comments