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