]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - static/scss/style.scss
fixed second navigation bug over main navigation
[people/shoehn/ipfire.org.git] / static / scss / style.scss
CommitLineData
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";
3c77f292 38@import "bootstrap-4.0.0-alpha.6/scss/badge";
b2051dd7 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
3878736e
SH
56// Lightbox
57@import "photoswipe/main";
58@import "photoswipe/default-skin/default-skin";
9581b35d
SH
59
60body {
61 min-height: 100vh;
62 display: flex;
63 flex-direction: column;
64}
65
49baba87
S
66.container {
67 width: 100%;
68 max-width: 1200px;
9581b35d 69 flex: 1;
49baba87
S
70}
71
55edf6f3 72// Custom stuff
2d8cbd13
S
73@import '_fonts';
74@import '_nav';
55edf6f3 75@import '_buttons';
9581b35d 76@import '_icons';
55edf6f3 77
22cfab2d 78
49baba87 79
a6a4d1cf 80// Colors
a6a4d1cf
S
81.amber-800 {
82 color: $amber-800;
3c77f292
SH
83 border-color: $amber-800;
84}
85
86.green-600 {
87 color: $green-600;
88 border-color: $green-600;
89}
90
91.red-900 {
92 color: $red_900;
93 border-color: $red_900;
94}
95
96.blue-700{
97 color: $blue-700;
98 border-color: $blue-700;
a6a4d1cf
S
99}
100
22cfab2d
S
101// Images
102img {
103 &.img-fluid {
104 width: 100%;
105 max-width: 100%;
106 height: auto;
107 }
108}
109
22cfab2d
S
110
111footer {
112 .btn-toolbar .icon {
efb8b657
S
113 height: 2.25rem;
114 width: 2.25rem;
22cfab2d
S
115 fill: rgba($blue-grey-900, .6);
116 }
117 .i_heart {
efb8b657
S
118 vertical-align: top;
119 transform: translateY(-.15rem);
120 @include media-breakpoint-down(sm) {
121 transform: translateY(-.75rem);
122 }
22cfab2d
S
123 }
124}
125
97ed546d 126
22cfab2d 127// Sections
97ed546d
S
128section.intro {
129 min-height: 100vh;
130 background-image: url('../img/header-background.jpg');
131 background-size: cover;
132 background-attachment: fixed;
133 background-position: center top;
134 position: relative;
135 .branding {
69a9b33d 136 padding-top: 6rem;
7a9f7ff6 137 @include media-breakpoint-up(sm) {
69a9b33d
S
138 padding-top: 192px;
139 }
97ed546d
S
140 margin-bottom: 64px;
141 text-align: center;
142 color: $blue-grey-600;
143 h1 {
144 font-weight: 300 !important;
145 color: $blue-grey-900;
7a9f7ff6 146 @include media-breakpoint-down(xs) {
49baba87
S
147 font-size: 72px;
148 line-height: 88px;
149 margin-bottom: 0;
69a9b33d 150 }
97ed546d
S
151 strong {
152 font-weight: 700 !important;
153 }
154 }
155 h1:before {
156 content: "";
69a9b33d
S
157 height: 60px;
158 width: 76px;
97ed546d
S
159 background-image: url('../img/ipfire-tux.png');
160 background-repeat: no-repeat;
161 background-position: center center;
162 background-size: contain;
97ed546d
S
163 display: inline-block;
164 position: relative;
69a9b33d 165 top: 4px;
7a9f7ff6 166 @include media-breakpoint-up(sm) {
69a9b33d
S
167 height: 120px;
168 width: 93px;
169 margin-right: 32px;
170 top: 8px;
171 }
97ed546d
S
172 }
173 }
49baba87
S
174}
175
176.page-scroll {
177 display: block;
178 visibility: visible;
179 position: absolute;
180 bottom: 48px;
181 left: 50%;
182 transform: translateX(-50%);
183 .btn {
184 width: 36px;
185 height: 36px;
186 fill: $red_900;
187 @include media-breakpoint-up(sm) {
188 width: 64px;
189 height: 64px;
190 }
191 &:hover .i_arrow_down {
192 fill: white;
97ed546d
S
193 }
194 }
1e5bc9c9
S
195}
196
197section.content-section {
6a63d20a 198 padding: 3rem 0;
7a9f7ff6 199 @include media-breakpoint-up(sm) {
22cfab2d 200 padding: 72px 0;
ccd81281 201 }
1e5bc9c9
S
202}
203
22cfab2d
S
204.feature_icons {
205 width: 40px;
206 height: 100%;
207 float: left;
208 margin-right: .75rem;
1e5bc9c9
S
209}
210
b6d1f3b7 211section#news,
ae6a2da5 212section#support,
b6d1f3b7 213footer {
22cfab2d
S
214 background-color: rgba($blue-grey-900, .06);
215}
216
217section#news {
218 color: rgba($blue-grey-900, .6);
219 h2 {
220 color: $blue-grey-900;
221 }
1e5bc9c9
S
222}
223
224section#wishlist {
225 background-image: url('../img/wishlist-background.jpg');
226 background-size: cover;
227 background-position: center center;
b6d1f3b7
S
228}
229
3d770ad7
S
230.progress {
231 background-color: rgba(255, 255, 255, .2);
232}
233
22cfab2d
S
234.bg-progress {
235 background-image: linear-gradient(to right, $yellow-700, $amber-800);
236}
237
b6d1f3b7
S
238section#fireinfo {
239 border-bottom: 1px solid rgba($blue-grey-900, .2);
240}
241
22cfab2d
S
242.circle {
243 position: relative;
49baba87 244 p.fireinfo_per {
22cfab2d
S
245 color: $blue-grey-600;
246 position: absolute;
bf75d6d5 247 top: calc(50% - 18px);
22cfab2d
S
248 width: 100%;
249 }
b6d1f3b7
S
250}
251
7a9f7ff6
S
252section#appliances {
253 padding-bottom: 48px;
254}
255
9280b190 256.features-content {
4a416dd3 257 padding-top: 88px;
9280b190 258 margin-bottom: 40px;
3c77f292 259 @include media-breakpoint-up(lg) {
4a416dd3
SH
260 padding-top: 161px;
261 }
9280b190
S
262 .content {
263 background: white;
264 border-radius: 4px;
265 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
266 padding: 40px 24px;
aa44ed56 267 position: relative;
9280b190
S
268 }
269}
270
8842c9d0 271.divider {
9280b190 272 width: 128px;
8842c9d0
S
273 height: 4px;
274 border-radius: 2px;
275 background-image: linear-gradient(to right, $red_900, $deep_orange_a400);
4a416dd3
SH
276 margin: 40px auto 24px auto;
277 @include media-breakpoint-up(sm) {
278 margin: 56px auto 40px auto;
279 }
9280b190
S
280}
281
b6d1f3b7
S
282footer {
283 padding: 3rem 0 0 0;
7a9f7ff6
S
284 @include media-breakpoint-down(md) {
285 padding-top: 31px;
286 }
9ce2074c
S
287 h4 {
288 margin-bottom: 1.25rem;
22cfab2d 289 color: rgba($blue-grey-900, .6);
49baba87
S
290 font-size: 20px;
291 line-height: 28px;
9ce2074c
S
292 }
293 ul {
294 li {
49baba87 295 font-size: 14px;
9ce2074c
S
296 margin-bottom: .75rem;
297 a {
22cfab2d 298 color: rgba($blue-grey-900, .6);
9ce2074c
S
299 text-decoration: none;
300 &:hover {
22cfab2d 301 color: $blue-grey-900;
9ce2074c
S
302 text-decoration: underline;
303 }
304 }
305 }
306 }
307 .btn-lg {
308 margin-bottom: 2.75rem;
9ce2074c
S
309 }
310 .btn-sm {
311 box-shadow: none;
312 &:hover {
313 box-shadow: none;
314 }
9ce2074c 315 }
b6d1f3b7
S
316}
317
22cfab2d
S
318#copyright {
319 background-color: rgba($blue-grey-900, .06);
320 padding: 1rem 0;
49baba87
S
321 p {
322 font-size: 12px;
323 line-height: 16px;
324 }
b6eb5162
S
325}
326
22cfab2d 327// Animation
22cfab2d 328@keyframes scroll {
eafb8738 329 0%, 100% { transform: translateY(30%); }
efb8b657 330 50% { transform: translateY(50%); }
97ed546d 331}