]>
Commit | Line | Data |
---|---|---|
bc5b7100 | 1 | @import "variables"; |
91e44d91 | 2 | |
8e1ad516 | 3 | // Use all Bootstrap modules that we want |
bc5b7100 MT |
4 | @import "../bootstrap/scss/functions"; |
5 | @import "../bootstrap/scss/variables"; | |
6 | @import "../bootstrap/scss/mixins"; | |
8e1ad516 | 7 | @import "../bootstrap/scss/root"; |
bc5b7100 | 8 | @import "../bootstrap/scss/reboot"; |
bc5b7100 | 9 | @import "../bootstrap/scss/type"; |
8e1ad516 MT |
10 | @import "../bootstrap/scss/images"; |
11 | @import "../bootstrap/scss/code"; | |
bc5b7100 MT |
12 | @import "../bootstrap/scss/grid"; |
13 | @import "../bootstrap/scss/tables"; | |
14 | @import "../bootstrap/scss/forms"; | |
15 | @import "../bootstrap/scss/buttons"; | |
bc5b7100 | 16 | @import "../bootstrap/scss/transitions"; |
8e1ad516 | 17 | @import "../bootstrap/scss/dropdown"; |
bc5b7100 | 18 | @import "../bootstrap/scss/button-group"; |
8e1ad516 | 19 | @import "../bootstrap/scss/input-group"; |
bc5b7100 MT |
20 | @import "../bootstrap/scss/nav"; |
21 | @import "../bootstrap/scss/navbar"; | |
8e1ad516 MT |
22 | @import "../bootstrap/scss/card"; |
23 | @import "../bootstrap/scss/pagination"; | |
bc5b7100 | 24 | @import "../bootstrap/scss/badge"; |
8e1ad516 | 25 | @import "../bootstrap/scss/alert"; |
bc5b7100 MT |
26 | @import "../bootstrap/scss/progress"; |
27 | @import "../bootstrap/scss/media"; | |
28 | @import "../bootstrap/scss/list-group"; | |
8e1ad516 | 29 | @import "../bootstrap/scss/close"; |
95b30f84 | 30 | @import "../bootstrap/scss/modal"; |
bc5b7100 | 31 | @import "../bootstrap/scss/utilities"; |
8e1ad516 | 32 | @import "../bootstrap/scss/print"; |
1423222c | 33 | |
616bd6a5 MT |
34 | // Include fonts |
35 | @import "fonts"; | |
36 | ||
5236a99a | 37 | // Custom stuff |
7ca46dd8 | 38 | @import '_icons'; |
5236a99a | 39 | |
60ad7705 MT |
40 | // Makes everything white with dark text on it |
41 | .inverse { | |
42 | background-color: $body-color; | |
43 | color: $body-bg; | |
44 | } | |
45 | ||
cc59f0e1 | 46 | body { |
9f043320 MT |
47 | // For scrollspy |
48 | position: relative; | |
49 | ||
cc59f0e1 MT |
50 | padding-top: 6rem; |
51 | } | |
52 | ||
41f3d31d MT |
53 | // Buttons |
54 | .btn { | |
55 | text-transform: uppercase; | |
56 | } | |
57 | ||
dd06f761 | 58 | @each $color, $value in $theme-colors { |
3e486013 | 59 | .btn-glow-#{$color} { |
dd06f761 MT |
60 | background-color: rgba($value, .15); |
61 | } | |
62 | } | |
63 | ||
25346297 | 64 | .card { |
60ad7705 | 65 | @extend .inverse; |
25346297 MT |
66 | } |
67 | ||
9f043320 MT |
68 | .nav { |
69 | .nav-link { | |
25346297 | 70 | color: $white; |
9f043320 MT |
71 | |
72 | &.active { | |
73 | color: $link-color; | |
74 | border-left: 2px solid $link-color; | |
75 | } | |
76 | } | |
77 | } | |
78 | ||
56fdd02c MT |
79 | .navbar { |
80 | &.scrolled { | |
60ad7705 | 81 | @extend .inverse; |
56fdd02c MT |
82 | |
83 | transition: background-color 200ms linear; | |
a9a5d02b MT |
84 | |
85 | border-bottom: 4px solid $body-bg; | |
86 | } | |
87 | ||
88 | .navbar-brand { | |
89 | color: inherit; | |
56fdd02c | 90 | } |
dce6f905 MT |
91 | |
92 | .navbar-nav { | |
93 | .nav-link { | |
a9a5d02b | 94 | color: inherit; |
dce6f905 MT |
95 | |
96 | &.active { | |
97 | border-bottom: 2px solid $link-color; | |
98 | } | |
99 | } | |
100 | } | |
56fdd02c MT |
101 | } |
102 | ||
c2cbe16d S |
103 | footer { |
104 | .btn-toolbar .icon { | |
fdae1aac S |
105 | height: 2.25rem; |
106 | width: 2.25rem; | |
25346297 | 107 | fill: rgba($gray-400, .6); |
c2cbe16d S |
108 | } |
109 | .i_heart { | |
fdae1aac S |
110 | vertical-align: top; |
111 | transform: translateY(-.15rem); | |
112 | @include media-breakpoint-down(sm) { | |
113 | transform: translateY(-.75rem); | |
114 | } | |
c2cbe16d S |
115 | } |
116 | } | |
117 | ||
c2cbe16d | 118 | // Sections |
319dd276 | 119 | |
cc59f0e1 | 120 | .main { |
30b0d61a MT |
121 | .intro { |
122 | min-height: 100%; | |
123 | min-height: 100vh; | |
124 | ||
125 | margin-top: -6rem; | |
126 | ||
35c610f8 MT |
127 | @include media-breakpoint-down(sm) { |
128 | padding-top: 6rem; | |
129 | } | |
130 | ||
30b0d61a MT |
131 | display: flex; |
132 | align-items: center; | |
133 | } | |
134 | ||
cc59f0e1 MT |
135 | section { |
136 | padding: 3rem 0; | |
319dd276 | 137 | |
cc59f0e1 MT |
138 | @include media-breakpoint-up(sm) { |
139 | padding: 72px 0; | |
140 | } | |
319dd276 | 141 | } |
319dd276 MT |
142 | } |
143 | ||
12e5de7e | 144 | .blog-post { |
4b2975d2 MT |
145 | .blog-header { |
146 | h5 { | |
147 | a { | |
9632ca8b | 148 | color: $dark; |
4b2975d2 | 149 | } |
60e77f07 MT |
150 | } |
151 | } | |
8ebc98d4 | 152 | |
fb37ac29 MT |
153 | .blog-content { |
154 | h1, h2, h3, h4, h5, h6 { | |
155 | font-size: 20px; | |
156 | font-weight: $headings-font-weight; | |
157 | ||
158 | line-height: 28px; | |
159 | ||
160 | margin-bottom: 0.25rem; | |
161 | } | |
c5cfd0d5 MT |
162 | |
163 | img { | |
164 | @include img-fluid; | |
165 | } | |
fb37ac29 MT |
166 | } |
167 | ||
8ebc98d4 | 168 | &.lightning-wire-labs { |
4b2975d2 MT |
169 | .blog-header { |
170 | h5 { | |
171 | a { | |
172 | color: $lwl; | |
173 | } | |
174 | } | |
175 | ||
176 | a { | |
177 | color: $lwl; | |
178 | } | |
179 | } | |
180 | ||
181 | .blog-content { | |
182 | a { | |
183 | color: $lwl; | |
184 | } | |
8ebc98d4 MT |
185 | } |
186 | } | |
12e5de7e MT |
187 | } |
188 | ||
8bc72662 MT |
189 | // Donations |
190 | ||
191 | .faq { | |
192 | a { | |
193 | color: $body-color; | |
194 | } | |
195 | } | |
196 | ||
161b0c22 | 197 | .donation-explanation { |
161b0c22 MT |
198 | margin-bottom: 2rem; |
199 | ||
200 | p { | |
201 | color: $text-muted; | |
202 | } | |
203 | ||
204 | @include media-breakpoint-down(sm) { | |
205 | background-color: $dark; | |
206 | color: $white; | |
207 | ||
f929df78 MT |
208 | padding: 1.5rem; |
209 | ||
161b0c22 MT |
210 | h5, p { |
211 | color: inherit; | |
212 | } | |
213 | } | |
214 | } | |
215 | ||
9f043320 MT |
216 | // Sidebar navigation |
217 | ||
218 | #sidebar .nav { | |
219 | position: fixed; | |
220 | } | |
221 | ||
c2cbe16d S |
222 | .feature_icons { |
223 | width: 40px; | |
224 | height: 100%; | |
225 | float: left; | |
226 | margin-right: .75rem; | |
4b4334da S |
227 | } |
228 | ||
61975d93 S |
229 | .progress { |
230 | background-color: rgba(255, 255, 255, .2); | |
231 | } | |
232 | ||
c2cbe16d S |
233 | .circle { |
234 | position: relative; | |
f8c4f791 | 235 | p.fireinfo_per { |
25346297 | 236 | color: $gray-800; |
c2cbe16d | 237 | position: absolute; |
d56f505e | 238 | top: calc(50% - 18px); |
c2cbe16d S |
239 | width: 100%; |
240 | } | |
20df8773 S |
241 | } |
242 | ||
8e4a3eaa | 243 | .fixed-top + .blog-content { |
96dd6875 | 244 | padding-top: 88px; |
0955047d | 245 | margin-bottom: 40px; |
346e30de | 246 | @include media-breakpoint-up(lg) { |
96dd6875 SH |
247 | padding-top: 161px; |
248 | } | |
0955047d S |
249 | .content { |
250 | background: white; | |
251 | border-radius: 4px; | |
0955047d | 252 | padding: 40px 24px; |
f59b40f6 | 253 | position: relative; |
0955047d S |
254 | } |
255 | } | |
256 | ||
8e4a3eaa SH |
257 | .blog-content { |
258 | margin-bottom: 80px; | |
259 | } | |
260 | ||
bf5b46d4 | 261 | .divider { |
0955047d | 262 | width: 128px; |
bf5b46d4 S |
263 | height: 4px; |
264 | border-radius: 2px; | |
25346297 | 265 | background-image: linear-gradient(to right, $red, $gray-400); |
96dd6875 SH |
266 | margin: 40px auto 24px auto; |
267 | @include media-breakpoint-up(sm) { | |
268 | margin: 56px auto 40px auto; | |
269 | } | |
0955047d S |
270 | } |
271 | ||
20df8773 S |
272 | footer { |
273 | padding: 3rem 0 0 0; | |
8e18ac98 S |
274 | @include media-breakpoint-down(md) { |
275 | padding-top: 31px; | |
276 | } | |
6aa3b1ec S |
277 | h4 { |
278 | margin-bottom: 1.25rem; | |
25346297 | 279 | color: rgba($gray-400, .6); |
f8c4f791 S |
280 | font-size: 20px; |
281 | line-height: 28px; | |
6aa3b1ec S |
282 | } |
283 | ul { | |
284 | li { | |
f8c4f791 | 285 | font-size: 14px; |
6aa3b1ec S |
286 | margin-bottom: .75rem; |
287 | a { | |
25346297 | 288 | color: rgba($gray-400, .6); |
6aa3b1ec S |
289 | text-decoration: none; |
290 | &:hover { | |
25346297 | 291 | color: $gray-400; |
6aa3b1ec S |
292 | text-decoration: underline; |
293 | } | |
294 | } | |
295 | } | |
296 | } | |
297 | .btn-lg { | |
298 | margin-bottom: 2.75rem; | |
6aa3b1ec | 299 | } |
20df8773 | 300 | |
23015f63 | 301 | .copyright { |
25346297 | 302 | background-color: rgba($gray-400, .06); |
23015f63 MT |
303 | padding: $spacer 0; |
304 | ||
305 | font-size: $small-font-size; | |
306 | ||
307 | a { | |
308 | color: $text-muted; | |
309 | } | |
f8c4f791 | 310 | } |
ac7f3ec6 S |
311 | } |
312 | ||
c2cbe16d | 313 | // Animation |
c2cbe16d | 314 | @keyframes scroll { |
61eaa9b2 | 315 | 0%, 100% { transform: translateY(30%); } |
fdae1aac | 316 | 50% { transform: translateY(50%); } |
7c0605e8 | 317 | } |