]> git.ipfire.org Git - ipfire.org.git/blame - src/scss/style.scss
Introduce autotools
[ipfire.org.git] / src / scss / style.scss
CommitLineData
91e44d91
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";
c2cbe16d 20//@import "bootstrap-4.0.0-alpha.6/scss/images";
91e44d91
S
21// @import "bootstrap-4.0.0-alpha.6/scss/code";
22@import "bootstrap-4.0.0-alpha.6/scss/grid";
7f32b162 23@import "bootstrap-4.0.0-alpha.6/scss/tables";
fed291df 24@import "bootstrap-4.0.0-alpha.6/scss/forms";
91e44d91
S
25@import "bootstrap-4.0.0-alpha.6/scss/buttons";
26
27// Components
28@import "bootstrap-4.0.0-alpha.6/scss/transitions";
20df8773 29//@import "bootstrap-4.0.0-alpha.6/scss/dropdown";
91e44d91 30@import "bootstrap-4.0.0-alpha.6/scss/button-group";
20df8773
S
31//@import "bootstrap-4.0.0-alpha.6/scss/input-group";
32//@import "bootstrap-4.0.0-alpha.6/scss/custom-forms";
91e44d91
S
33@import "bootstrap-4.0.0-alpha.6/scss/nav";
34@import "bootstrap-4.0.0-alpha.6/scss/navbar";
20df8773 35//@import "bootstrap-4.0.0-alpha.6/scss/card";
91e44d91
S
36// @import "bootstrap-4.0.0-alpha.6/scss/breadcrumb";
37// @import "bootstrap-4.0.0-alpha.6/scss/pagination";
346e30de 38@import "bootstrap-4.0.0-alpha.6/scss/badge";
91e44d91 39// @import "bootstrap-4.0.0-alpha.6/scss/jumbotron";
1423222c 40// @import "bootstrap-4.0.0-alpha.6/scss/alert";
91e44d91
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";
1423222c
S
44// @import "bootstrap-4.0.0-alpha.6/scss/responsive-embed";
45// @import "bootstrap-4.0.0-alpha.6/scss/close";
91e44d91
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
1423222c
S
54@import "bootstrap-4.0.0-alpha.6/scss/utilities";
55
e33d95d5
SH
56// Lightbox
57@import "photoswipe/main";
58@import "photoswipe/default-skin/default-skin";
7ca46dd8 59
fed291df
SH
60// Donation Box
61@import "_donation";
62
7ca46dd8
SH
63body {
64 min-height: 100vh;
65 display: flex;
66 flex-direction: column;
67}
68
f8c4f791
S
69.container {
70 width: 100%;
71 max-width: 1200px;
7ca46dd8 72 flex: 1;
f8c4f791
S
73}
74
5236a99a 75// Custom stuff
e3325bcf
S
76@import '_fonts';
77@import '_nav';
5236a99a 78@import '_buttons';
7ca46dd8 79@import '_icons';
5236a99a 80
c2cbe16d 81
f8c4f791 82
8ef25aa4 83// Colors
8ef25aa4
S
84.amber-800 {
85 color: $amber-800;
346e30de
SH
86 border-color: $amber-800;
87}
88
89.green-600 {
90 color: $green-600;
91 border-color: $green-600;
92}
93
94.red-900 {
95 color: $red_900;
96 border-color: $red_900;
97}
98
99.blue-700{
100 color: $blue-700;
101 border-color: $blue-700;
8ef25aa4
S
102}
103
83985f52
SH
104.blue_grey_300 {
105 color: $blue_grey_300;
106}
107
fed291df
SH
108.bg-blue-grey-900 {
109 background-color: $blue-grey-900;
110}
111
112.bg-blue-grey-50 {
113 background-color: $blue-grey-50;
114}
115
c2cbe16d
S
116// Images
117img {
118 &.img-fluid {
119 width: 100%;
120 max-width: 100%;
121 height: auto;
122 }
123}
124
c2cbe16d
S
125
126footer {
127 .btn-toolbar .icon {
fdae1aac
S
128 height: 2.25rem;
129 width: 2.25rem;
c2cbe16d
S
130 fill: rgba($blue-grey-900, .6);
131 }
132 .i_heart {
fdae1aac
S
133 vertical-align: top;
134 transform: translateY(-.15rem);
135 @include media-breakpoint-down(sm) {
136 transform: translateY(-.75rem);
137 }
c2cbe16d
S
138 }
139}
140
1423222c 141
c2cbe16d 142// Sections
1423222c
S
143section.intro {
144 min-height: 100vh;
145 background-image: url('../img/header-background.jpg');
146 background-size: cover;
147 background-attachment: fixed;
148 background-position: center top;
149 position: relative;
150 .branding {
82468973 151 padding-top: 6rem;
8e18ac98 152 @include media-breakpoint-up(sm) {
82468973
S
153 padding-top: 192px;
154 }
1423222c
S
155 margin-bottom: 64px;
156 text-align: center;
157 color: $blue-grey-600;
158 h1 {
159 font-weight: 300 !important;
160 color: $blue-grey-900;
8e18ac98 161 @include media-breakpoint-down(xs) {
f8c4f791
S
162 font-size: 72px;
163 line-height: 88px;
164 margin-bottom: 0;
82468973 165 }
1423222c
S
166 strong {
167 font-weight: 700 !important;
168 }
169 }
170 h1:before {
171 content: "";
82468973
S
172 height: 60px;
173 width: 76px;
1423222c
S
174 background-image: url('../img/ipfire-tux.png');
175 background-repeat: no-repeat;
176 background-position: center center;
177 background-size: contain;
1423222c
S
178 display: inline-block;
179 position: relative;
82468973 180 top: 4px;
8e18ac98 181 @include media-breakpoint-up(sm) {
82468973
S
182 height: 120px;
183 width: 93px;
184 margin-right: 32px;
185 top: 8px;
186 }
1423222c
S
187 }
188 }
f8c4f791
S
189}
190
191.page-scroll {
192 display: block;
193 visibility: visible;
194 position: absolute;
195 bottom: 48px;
196 left: 50%;
197 transform: translateX(-50%);
198 .btn {
199 width: 36px;
200 height: 36px;
201 fill: $red_900;
202 @include media-breakpoint-up(sm) {
203 width: 64px;
204 height: 64px;
205 }
206 &:hover .i_arrow_down {
207 fill: white;
1423222c
S
208 }
209 }
4b4334da
S
210}
211
212section.content-section {
e2d13261 213 padding: 3rem 0;
8e18ac98 214 @include media-breakpoint-up(sm) {
c2cbe16d 215 padding: 72px 0;
d8c9a4d4 216 }
4b4334da
S
217}
218
c2cbe16d
S
219.feature_icons {
220 width: 40px;
221 height: 100%;
222 float: left;
223 margin-right: .75rem;
4b4334da
S
224}
225
20df8773 226section#news,
1a09d1ae 227section#support,
20df8773 228footer {
c2cbe16d
S
229 background-color: rgba($blue-grey-900, .06);
230}
231
232section#news {
233 color: rgba($blue-grey-900, .6);
234 h2 {
235 color: $blue-grey-900;
236 }
4b4334da
S
237}
238
61975d93
S
239.progress {
240 background-color: rgba(255, 255, 255, .2);
241}
242
c2cbe16d
S
243.bg-progress {
244 background-image: linear-gradient(to right, $yellow-700, $amber-800);
245}
246
20df8773
S
247section#fireinfo {
248 border-bottom: 1px solid rgba($blue-grey-900, .2);
249}
250
c2cbe16d
S
251.circle {
252 position: relative;
f8c4f791 253 p.fireinfo_per {
c2cbe16d
S
254 color: $blue-grey-600;
255 position: absolute;
d56f505e 256 top: calc(50% - 18px);
c2cbe16d
S
257 width: 100%;
258 }
20df8773
S
259}
260
8e18ac98
S
261section#appliances {
262 padding-bottom: 48px;
263}
264
8e4a3eaa
SH
265.features-content,
266.fixed-top + .blog-content {
96dd6875 267 padding-top: 88px;
0955047d 268 margin-bottom: 40px;
346e30de 269 @include media-breakpoint-up(lg) {
96dd6875
SH
270 padding-top: 161px;
271 }
0955047d
S
272 .content {
273 background: white;
274 border-radius: 4px;
275 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
276 padding: 40px 24px;
f59b40f6 277 position: relative;
0955047d
S
278 }
279}
280
8e4a3eaa
SH
281.blog-content {
282 margin-bottom: 80px;
283}
284
bf5b46d4 285.divider {
0955047d 286 width: 128px;
bf5b46d4
S
287 height: 4px;
288 border-radius: 2px;
289 background-image: linear-gradient(to right, $red_900, $deep_orange_a400);
96dd6875
SH
290 margin: 40px auto 24px auto;
291 @include media-breakpoint-up(sm) {
292 margin: 56px auto 40px auto;
293 }
0955047d
S
294}
295
20df8773
S
296footer {
297 padding: 3rem 0 0 0;
8e18ac98
S
298 @include media-breakpoint-down(md) {
299 padding-top: 31px;
300 }
6aa3b1ec
S
301 h4 {
302 margin-bottom: 1.25rem;
c2cbe16d 303 color: rgba($blue-grey-900, .6);
f8c4f791
S
304 font-size: 20px;
305 line-height: 28px;
6aa3b1ec
S
306 }
307 ul {
308 li {
f8c4f791 309 font-size: 14px;
6aa3b1ec
S
310 margin-bottom: .75rem;
311 a {
c2cbe16d 312 color: rgba($blue-grey-900, .6);
6aa3b1ec
S
313 text-decoration: none;
314 &:hover {
c2cbe16d 315 color: $blue-grey-900;
6aa3b1ec
S
316 text-decoration: underline;
317 }
318 }
319 }
320 }
321 .btn-lg {
322 margin-bottom: 2.75rem;
6aa3b1ec
S
323 }
324 .btn-sm {
325 box-shadow: none;
326 &:hover {
327 box-shadow: none;
328 }
6aa3b1ec 329 }
20df8773
S
330}
331
c2cbe16d
S
332#copyright {
333 background-color: rgba($blue-grey-900, .06);
334 padding: 1rem 0;
f8c4f791
S
335 p {
336 font-size: 12px;
337 line-height: 16px;
338 }
ac7f3ec6
S
339}
340
c2cbe16d 341// Animation
c2cbe16d 342@keyframes scroll {
61eaa9b2 343 0%, 100% { transform: translateY(30%); }
fdae1aac 344 50% { transform: translateY(50%); }
7c0605e8 345}