]>
Commit | Line | Data |
---|---|---|
b2051dd7 S |
1 | /*! |
2 | * Bootstrap v4.0.0-alpha.6 (https://getbootstrap.com) | |
3 | * Copyright 2011-2017 The Bootstrap Authors | |
4 | * Copyright 2011-2017 Twitter, Inc. | |
5 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | |
6 | */ | |
7 | ||
8 | // Core variables and mixins | |
9 | @import "bootstrap-4.0.0-alpha.6/scss/variables"; | |
10 | @import "bootstrap-4.0.0-alpha.6/scss/mixins"; | |
11 | @import "bootstrap-4.0.0-alpha.6/scss/custom"; | |
12 | ||
13 | // Reset and dependencies | |
14 | @import "bootstrap-4.0.0-alpha.6/scss/normalize"; | |
15 | // @import "bootstrap-4.0.0-alpha.6/scss/print"; | |
16 | ||
17 | // Core CSS | |
18 | @import "bootstrap-4.0.0-alpha.6/scss/reboot"; | |
19 | @import "bootstrap-4.0.0-alpha.6/scss/type"; | |
22cfab2d | 20 | //@import "bootstrap-4.0.0-alpha.6/scss/images"; |
b2051dd7 S |
21 | // @import "bootstrap-4.0.0-alpha.6/scss/code"; |
22 | @import "bootstrap-4.0.0-alpha.6/scss/grid"; | |
23 | // @import "bootstrap-4.0.0-alpha.6/scss/tables"; | |
24 | // @import "bootstrap-4.0.0-alpha.6/scss/forms"; | |
25 | @import "bootstrap-4.0.0-alpha.6/scss/buttons"; | |
26 | ||
27 | // Components | |
28 | @import "bootstrap-4.0.0-alpha.6/scss/transitions"; | |
b6d1f3b7 | 29 | //@import "bootstrap-4.0.0-alpha.6/scss/dropdown"; |
b2051dd7 | 30 | @import "bootstrap-4.0.0-alpha.6/scss/button-group"; |
b6d1f3b7 S |
31 | //@import "bootstrap-4.0.0-alpha.6/scss/input-group"; |
32 | //@import "bootstrap-4.0.0-alpha.6/scss/custom-forms"; | |
b2051dd7 S |
33 | @import "bootstrap-4.0.0-alpha.6/scss/nav"; |
34 | @import "bootstrap-4.0.0-alpha.6/scss/navbar"; | |
b6d1f3b7 | 35 | //@import "bootstrap-4.0.0-alpha.6/scss/card"; |
b2051dd7 S |
36 | // @import "bootstrap-4.0.0-alpha.6/scss/breadcrumb"; |
37 | // @import "bootstrap-4.0.0-alpha.6/scss/pagination"; | |
38 | // @import "bootstrap-4.0.0-alpha.6/scss/badge"; | |
39 | // @import "bootstrap-4.0.0-alpha.6/scss/jumbotron"; | |
97ed546d | 40 | // @import "bootstrap-4.0.0-alpha.6/scss/alert"; |
b2051dd7 S |
41 | @import "bootstrap-4.0.0-alpha.6/scss/progress"; |
42 | @import "bootstrap-4.0.0-alpha.6/scss/media"; | |
43 | @import "bootstrap-4.0.0-alpha.6/scss/list-group"; | |
97ed546d S |
44 | // @import "bootstrap-4.0.0-alpha.6/scss/responsive-embed"; |
45 | // @import "bootstrap-4.0.0-alpha.6/scss/close"; | |
b2051dd7 S |
46 | |
47 | // Components w/ JavaScript | |
48 | // @import "bootstrap-4.0.0-alpha.6/scss/modal"; | |
49 | // @import "bootstrap-4.0.0-alpha.6/scss/tooltip"; | |
50 | // @import "bootstrap-4.0.0-alpha.6/scss/popover"; | |
51 | // @import "bootstrap-4.0.0-alpha.6/scss/carousel"; | |
52 | ||
53 | // Utility classes | |
97ed546d S |
54 | @import "bootstrap-4.0.0-alpha.6/scss/utilities"; |
55 | ||
22cfab2d S |
56 | |
57 | // Fonts | |
58 | ||
59 | h1 { | |
60 | line-height: 3rem; | |
61 | } | |
62 | ||
63 | h2 { | |
64 | line-height: 2.75rem; | |
65 | } | |
66 | ||
67 | h3 { | |
68 | line-height: 2rem; | |
69 | } | |
70 | ||
ccd81281 S |
71 | h4 { |
72 | font-weight: 600; | |
22cfab2d S |
73 | line-height: 1.75rem; |
74 | } | |
75 | ||
76 | h5 { | |
77 | line-height: 1.5rem; | |
78 | } | |
79 | ||
80 | p { | |
81 | line-height: 1.5rem; | |
82 | &.lead { | |
83 | line-height: 2rem; | |
84 | @include media-breakpoint-down(md) { | |
85 | font-size: 1.5rem; | |
86 | line-height: 2rem; | |
87 | } | |
88 | @include media-breakpoint-down(sm) { | |
89 | font-size: 1rem; | |
90 | line-height: 1.5rem; | |
91 | } | |
92 | } | |
93 | } | |
94 | ||
95 | .display-2 { | |
96 | margin-bottom: 4rem; | |
97 | @include media-breakpoint-down(md) { | |
98 | font-size: 2.5rem; | |
99 | line-height: 3.5rem; | |
100 | margin-bottom: 3rem; | |
101 | } | |
102 | @include media-breakpoint-down(sm) { | |
103 | font-size: 2rem; | |
104 | line-height: 2.75rem; | |
105 | } | |
106 | } | |
107 | ||
108 | .display-4 { | |
109 | @include media-breakpoint-down(sm) { | |
110 | font-size: .875rem; | |
111 | line-height: 1.25rem; | |
112 | } | |
113 | } | |
114 | ||
115 | small { | |
116 | line-height: 1rem; | |
117 | } | |
118 | ||
119 | .truncate { | |
120 | width: 100%; | |
121 | white-space: nowrap; | |
122 | overflow: hidden; | |
123 | text-overflow: ellipsis; | |
124 | } | |
125 | ||
126 | // Images | |
127 | img { | |
128 | &.img-fluid { | |
129 | width: 100%; | |
130 | max-width: 100%; | |
131 | height: auto; | |
132 | } | |
133 | } | |
134 | ||
135 | // Icons | |
136 | ||
137 | .icon { | |
138 | width: 1.5rem; | |
139 | height: 1.5rem; | |
140 | fill: currentColor; | |
141 | vertical-align: -.15rem; | |
142 | overflow: hidden; | |
143 | margin-right: .5rem; | |
144 | } | |
145 | ||
146 | .i_arrow_down { | |
147 | margin: 0; | |
148 | animation: scroll 3s infinite; | |
149 | } | |
150 | ||
151 | .i_lg { | |
152 | width: 2.5rem; | |
153 | height: 2.5rem; | |
154 | margin: 0; | |
155 | transform: translateY(-.25rem); | |
156 | fill: $red_900; | |
157 | } | |
158 | ||
159 | .i_sm { | |
160 | width: 1rem; | |
161 | height: 1rem; | |
162 | } | |
163 | ||
164 | footer { | |
165 | .btn-toolbar .icon { | |
166 | height: 2rem; | |
167 | width: 2rem; | |
168 | fill: rgba($blue-grey-900, .6); | |
169 | } | |
170 | .i_heart { | |
171 | vertical-align: -.25rem; | |
172 | } | |
173 | } | |
174 | ||
175 | // Buttons | |
176 | ||
177 | .btn-red900 { | |
178 | @include button-variant($btn-red900-color, $btn-red900-bg, $btn-red900-border); | |
179 | } | |
180 | .btn-white { | |
181 | @include button-variant($btn-white-color, $btn-white-bg, $btn-white-border); | |
182 | } | |
183 | .btn-bluegrey900 { | |
184 | @include button-variant($btn-bluegrey900-color, $btn-bluegrey900-bg, $btn-bluegrey900-border); | |
ccd81281 S |
185 | } |
186 | ||
187 | button.navbar-toggler div { | |
188 | font-family: 'Ubuntu', sans-serif; | |
189 | font-size: 1rem; | |
190 | display: inline-block; | |
191 | margin-left: 12px; | |
192 | } | |
193 | ||
97ed546d | 194 | .btn { |
22cfab2d | 195 | height: 36px; |
97ed546d | 196 | text-transform: uppercase; |
9ce2074c S |
197 | box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .15), 0 1px 2px 0 rgba(0, 0, 0, .25); |
198 | transition: box-shadow .25s ease-in-out; | |
199 | &:hover { | |
200 | box-shadow: 0 3px 6px 0 rgba(0, 0, 0, .15), 0 3px 6px 0 rgba(0, 0, 0, .25); | |
201 | transition: box-shadow .25s ease-in-out; | |
202 | } | |
22cfab2d S |
203 | @include media-breakpoint-down(sm) { |
204 | font-size: .875rem; | |
9ce2074c | 205 | } |
97ed546d S |
206 | } |
207 | ||
69a9b33d S |
208 | .btn-outline-primary, |
209 | .btn-outline-secondary { | |
210 | transition: background-color .25s ease-in-out; | |
211 | &:hover { | |
212 | transition: background-color .25s ease-in-out; | |
213 | } | |
214 | } | |
215 | ||
1e5bc9c9 | 216 | .btn-lg { |
22cfab2d | 217 | height: 48px; |
1e5bc9c9 | 218 | margin: 0 24px; |
22cfab2d S |
219 | @include media-breakpoint-down(sm) { |
220 | height: 36px; | |
69a9b33d | 221 | margin: 0 8px; |
22cfab2d S |
222 | padding: 1rem; |
223 | font-size: .875rem; | |
224 | line-height: 0; | |
69a9b33d S |
225 | } |
226 | } | |
227 | ||
b6d1f3b7 | 228 | .btn-block { |
22cfab2d | 229 | margin: 0 0 1.5rem 0; |
ccd81281 | 230 | @include media-breakpoint-up(md) { |
22cfab2d S |
231 | margin: 0 0 2rem 0; |
232 | } | |
233 | @include media-breakpoint-down(sm) { | |
234 | font-size: .875rem; | |
235 | line-height: 0; | |
ccd81281 | 236 | } |
b6d1f3b7 S |
237 | } |
238 | ||
22cfab2d S |
239 | // Top Navigation |
240 | ||
1e5bc9c9 S |
241 | .fixed-top { |
242 | transition: background-color 700ms linear; | |
69a9b33d S |
243 | .navbar { |
244 | width: 100%; | |
22cfab2d S |
245 | @include media-breakpoint-down(md) { |
246 | padding: .5rem 0; | |
247 | } | |
248 | .navbar-toggler-left { | |
249 | left: -1rem; | |
250 | } | |
69a9b33d S |
251 | } |
252 | .navbar-brand { | |
253 | opacity: 0; | |
254 | transition: opacity 700ms linear; | |
255 | @include media-breakpoint-up(lg) { | |
256 | opacity: 1; | |
257 | } | |
258 | } | |
1e5bc9c9 S |
259 | } |
260 | ||
261 | .scrolled { | |
262 | background-color: rgba(255, 255, 255, .96); | |
69a9b33d S |
263 | .navbar-brand { |
264 | opacity: 1; | |
265 | transition: opacity 700ms linear; | |
266 | } | |
1e5bc9c9 S |
267 | } |
268 | ||
ccd81281 S |
269 | .menu-text.hidden { |
270 | display: none; | |
271 | visibility: hidden; | |
272 | } | |
273 | ||
1e5bc9c9 S |
274 | .navbar { |
275 | a { | |
276 | color: $blue-grey-900; | |
277 | } | |
b6d1f3b7 S |
278 | .btn { |
279 | margin-top: .15rem; | |
280 | } | |
1e5bc9c9 S |
281 | } |
282 | ||
97ed546d | 283 | .navbar-brand { |
ccd81281 S |
284 | font-size: 1.25rem; |
285 | @include media-breakpoint-up(sm) { | |
286 | font-size: 2rem; | |
287 | } | |
97ed546d | 288 | font-weight: 300; |
22cfab2d S |
289 | strong { |
290 | font-weight: 900; | |
291 | } | |
97ed546d S |
292 | img { |
293 | margin-right: 1rem; | |
294 | transform: translateY(-5px); | |
295 | } | |
296 | } | |
297 | ||
22cfab2d | 298 | // Sections |
97ed546d S |
299 | |
300 | section.intro { | |
301 | min-height: 100vh; | |
302 | background-image: url('../img/header-background.jpg'); | |
303 | background-size: cover; | |
304 | background-attachment: fixed; | |
305 | background-position: center top; | |
306 | position: relative; | |
307 | .branding { | |
69a9b33d S |
308 | padding-top: 6rem; |
309 | @include media-breakpoint-up(md) { | |
310 | padding-top: 192px; | |
311 | } | |
97ed546d S |
312 | margin-bottom: 64px; |
313 | text-align: center; | |
314 | color: $blue-grey-600; | |
315 | h1 { | |
316 | font-weight: 300 !important; | |
317 | color: $blue-grey-900; | |
22cfab2d | 318 | @include media-breakpoint-down(sm) { |
69a9b33d S |
319 | font-size: 4.5rem; |
320 | } | |
97ed546d S |
321 | strong { |
322 | font-weight: 700 !important; | |
323 | } | |
324 | } | |
325 | h1:before { | |
326 | content: ""; | |
69a9b33d S |
327 | height: 60px; |
328 | width: 76px; | |
97ed546d S |
329 | background-image: url('../img/ipfire-tux.png'); |
330 | background-repeat: no-repeat; | |
331 | background-position: center center; | |
332 | background-size: contain; | |
97ed546d S |
333 | display: inline-block; |
334 | position: relative; | |
69a9b33d S |
335 | top: 4px; |
336 | @include media-breakpoint-up(md) { | |
337 | height: 120px; | |
338 | width: 93px; | |
339 | margin-right: 32px; | |
340 | top: 8px; | |
341 | } | |
97ed546d S |
342 | } |
343 | } | |
97ed546d S |
344 | .page-scroll { |
345 | position: absolute; | |
346 | bottom: 48px; | |
97ed546d S |
347 | left: 50%; |
348 | transform: translateX(-50%); | |
349 | .btn { | |
69a9b33d S |
350 | width: 32px; |
351 | height: 32px; | |
97ed546d | 352 | fill: $red_900; |
69a9b33d S |
353 | @include media-breakpoint-up(md) { |
354 | width: 64px; | |
355 | height: 64px; | |
356 | } | |
97ed546d S |
357 | } |
358 | } | |
1e5bc9c9 S |
359 | } |
360 | ||
361 | section.content-section { | |
ccd81281 S |
362 | padding: 3rem 0; |
363 | @include media-breakpoint-up(md) { | |
22cfab2d | 364 | padding: 72px 0; |
ccd81281 | 365 | } |
1e5bc9c9 S |
366 | } |
367 | ||
22cfab2d S |
368 | .feature_icons { |
369 | width: 40px; | |
370 | height: 100%; | |
371 | float: left; | |
372 | margin-right: .75rem; | |
1e5bc9c9 S |
373 | } |
374 | ||
b6d1f3b7 S |
375 | section#news, |
376 | footer { | |
22cfab2d S |
377 | background-color: rgba($blue-grey-900, .06); |
378 | } | |
379 | ||
380 | section#news { | |
381 | color: rgba($blue-grey-900, .6); | |
382 | h2 { | |
383 | color: $blue-grey-900; | |
384 | } | |
1e5bc9c9 S |
385 | } |
386 | ||
387 | section#wishlist { | |
388 | background-image: url('../img/wishlist-background.jpg'); | |
389 | background-size: cover; | |
390 | background-position: center center; | |
b6d1f3b7 S |
391 | } |
392 | ||
22cfab2d S |
393 | .bg-progress { |
394 | background-image: linear-gradient(to right, $yellow-700, $amber-800); | |
395 | } | |
396 | ||
b6d1f3b7 S |
397 | section#fireinfo { |
398 | border-bottom: 1px solid rgba($blue-grey-900, .2); | |
399 | } | |
400 | ||
22cfab2d S |
401 | .circle { |
402 | position: relative; | |
403 | p.lead { | |
404 | color: $blue-grey-600; | |
405 | position: absolute; | |
406 | top: calc(50% - 1.25rem); | |
407 | width: 100%; | |
408 | } | |
b6d1f3b7 S |
409 | } |
410 | ||
411 | footer { | |
412 | padding: 3rem 0 0 0; | |
9ce2074c S |
413 | h4 { |
414 | margin-bottom: 1.25rem; | |
22cfab2d | 415 | color: rgba($blue-grey-900, .6); |
9ce2074c S |
416 | } |
417 | ul { | |
418 | li { | |
419 | font-size: $small-font-size; | |
420 | margin-bottom: .75rem; | |
421 | a { | |
22cfab2d | 422 | color: rgba($blue-grey-900, .6); |
9ce2074c S |
423 | text-decoration: none; |
424 | &:hover { | |
22cfab2d | 425 | color: $blue-grey-900; |
9ce2074c S |
426 | text-decoration: underline; |
427 | } | |
428 | } | |
429 | } | |
430 | } | |
431 | .btn-lg { | |
432 | margin-bottom: 2.75rem; | |
9ce2074c S |
433 | } |
434 | .btn-sm { | |
435 | box-shadow: none; | |
436 | &:hover { | |
437 | box-shadow: none; | |
438 | } | |
9ce2074c | 439 | } |
b6d1f3b7 S |
440 | } |
441 | ||
22cfab2d S |
442 | #copyright { |
443 | background-color: rgba($blue-grey-900, .06); | |
444 | padding: 1rem 0; | |
b6eb5162 S |
445 | } |
446 | ||
22cfab2d | 447 | // Animation |
b6eb5162 | 448 | |
22cfab2d S |
449 | @keyframes scroll { |
450 | 0% { transform: translateY(20%); } | |
451 | 50% { transform: translateY(60%); } | |
452 | 100% { transform: translateY(20%); } | |
97ed546d | 453 | } |