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