1- // stylelint-disable value-keyword-case
2-
31// Breakpoints
42$large-breakpoint : 64em ;
53$medium-breakpoint : 42em ;
@@ -10,14 +8,16 @@ $header-bg-color: #159957 !default;
108$header-bg-color-secondary : #155799 !default ;
119
1210// Text
13- $font-family : " Open Sans" , " Helvetica Neue" , Helvetica , Arial , sans-serif !default ;
11+ $font-family : // stylelint-disable-line scss/dollar-variable-colon-space-after
12+ " Open Sans" , " Helvetica Neue" , " Helvetica" , " Arial" , sans-serif !default ;
1413$section-headings-color : #159957 !default ;
1514$body-text-color : #606c71 !default ;
1615$body-link-color : #1e6bb8 !default ;
1716$blockquote-text-color : #819198 !default ;
1817
1918// Code
20- $font-family-code : Consolas, " Liberation Mono" , Menlo, Courier , monospace !default ;
19+ $font-family-code : // stylelint-disable-line scss/dollar-variable-colon-space-after
20+ " Consolas" , " Liberation Mono" , " Menlo" , " Courier" , monospace !default ;
2121$code-bg-color : #f3f6fa !default ;
2222$code-text-color : #567482 !default ;
2323
6767}
6868
6969.btn {
70+ display : inline-block ;
71+ margin-bottom : 1rem ;
72+ color : rgba (255 , 255 , 255 , 0.7 );
73+ background-color : rgba (255 , 255 , 255 , 0.08 );
74+ border-color : rgba (255 , 255 , 255 , 0.2 );
75+ border-style : solid ;
76+ border-width : 1px ;
77+ border-radius : 0.3rem ;
78+ transition : color 0.2s , background-color 0.2s , border-color 0.2s ;
79+
7080 @include large {
7181 padding : 0.75rem 1rem ;
82+
83+ + .btn {
84+ margin-left : 1rem ;
85+ }
7286 }
7387
7488 @include medium {
7589 padding : 0.6rem 0.9rem ;
7690 font-size : 0.9rem ;
91+
92+ + .btn {
93+ margin-left : 1rem ;
94+ }
7795 }
7896
7997 @include small {
88106 }
89107 }
90108
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-
101109 & :hover {
102110 color : rgba (255 , 255 , 255 , 0.8 );
103111 text-decoration : none ;
104112 background-color : rgba (255 , 255 , 255 , 0.2 );
105113 border-color : rgba (255 , 255 , 255 , 0.3 );
106114 }
107-
108- + .btn {
109- margin-left : 1rem ;
110- }
111115}
112116
113117.page-header {
118+ color : $header-heading-color ;
119+ text-align : center ;
120+ background-color : $header-bg-color ;
121+ background-image : linear-gradient (
122+ 120deg ,
123+ $header-bg-color-secondary ,
124+ $header-bg-color
125+ );
126+
114127 @include large {
115- padding : 5 rem 6 rem ;
128+ padding : 3 rem 4 rem ;
116129 }
117130
118131 @include medium {
@@ -122,18 +135,12 @@ a {
122135 @include small {
123136 padding : 2rem 1rem ;
124137 }
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- );
134138}
135139
136140.project-name {
141+ margin-top : 0 ;
142+ margin-bottom : 0.1rem ;
143+
137144 @include large {
138145 font-size : 3.25rem ;
139146 }
@@ -145,12 +152,13 @@ a {
145152 @include small {
146153 font-size : 1.75rem ;
147154 }
148-
149- margin-top : 0 ;
150- margin-bottom : 0.1rem ;
151155}
152156
153157.project-tagline {
158+ margin-bottom : 2rem ;
159+ font-weight : normal ;
160+ opacity : 0.7 ;
161+
154162 @include large {
155163 font-size : 1.25rem ;
156164 }
@@ -162,13 +170,11 @@ a {
162170 @include small {
163171 font-size : 1rem ;
164172 }
165-
166- margin-bottom : 2rem ;
167- font-weight : normal ;
168- opacity : 0.7 ;
169173}
170174
171175.main-content {
176+ word-wrap : break-word ;
177+
172178 @include large {
173179 max-width : 64rem ;
174180 padding : 2rem 6rem ;
186192 font-size : 1rem ;
187193 }
188194
189- word-wrap : break-word ;
190-
191195 :first-child {
192196 margin-top : 0 ;
193197 }
344348}
345349
346350.site-footer {
351+ padding-top : 2rem ;
352+ margin-top : 2rem ;
353+ border-top : solid 1px $hr-border-color ;
354+
347355 @include large {
348356 font-size : 1rem ;
349357 }
355363 @include small {
356364 font-size : 0.9rem ;
357365 }
358-
359- padding-top : 2rem ;
360- margin-top : 2rem ;
361- border-top : solid 1px $hr-border-color ;
362366}
363367
364368.site-footer-owner {
0 commit comments