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