]> git.ipfire.org Git - ipfire.org.git/blame - static/scss/style.scss
Feature page complete page markup and added new icons
[ipfire.org.git] / static / 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";
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";
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
7ca46dd8
SH
56
57body {
58 min-height: 100vh;
59 display: flex;
60 flex-direction: column;
61}
62
f8c4f791
S
63.container {
64 width: 100%;
65 max-width: 1200px;
7ca46dd8 66 flex: 1;
f8c4f791
S
67}
68
5236a99a 69// Custom stuff
e3325bcf
S
70@import '_fonts';
71@import '_nav';
5236a99a 72@import '_buttons';
7ca46dd8 73@import '_icons';
5236a99a 74
c2cbe16d 75
f8c4f791 76
8ef25aa4 77// Colors
8ef25aa4
S
78.amber-800 {
79 color: $amber-800;
346e30de
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;
8ef25aa4
S
96}
97
c2cbe16d
S
98// Images
99img {
100 &.img-fluid {
101 width: 100%;
102 max-width: 100%;
103 height: auto;
104 }
105}
106
c2cbe16d
S
107
108footer {
109 .btn-toolbar .icon {
fdae1aac
S
110 height: 2.25rem;
111 width: 2.25rem;
c2cbe16d
S
112 fill: rgba($blue-grey-900, .6);
113 }
114 .i_heart {
fdae1aac
S
115 vertical-align: top;
116 transform: translateY(-.15rem);
117 @include media-breakpoint-down(sm) {
118 transform: translateY(-.75rem);
119 }
c2cbe16d
S
120 }
121}
122
1423222c 123
c2cbe16d 124// Sections
1423222c
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 {
82468973 133 padding-top: 6rem;
8e18ac98 134 @include media-breakpoint-up(sm) {
82468973
S
135 padding-top: 192px;
136 }
1423222c
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;
8e18ac98 143 @include media-breakpoint-down(xs) {
f8c4f791
S
144 font-size: 72px;
145 line-height: 88px;
146 margin-bottom: 0;
82468973 147 }
1423222c
S
148 strong {
149 font-weight: 700 !important;
150 }
151 }
152 h1:before {
153 content: "";
82468973
S
154 height: 60px;
155 width: 76px;
1423222c
S
156 background-image: url('../img/ipfire-tux.png');
157 background-repeat: no-repeat;
158 background-position: center center;
159 background-size: contain;
1423222c
S
160 display: inline-block;
161 position: relative;
82468973 162 top: 4px;
8e18ac98 163 @include media-breakpoint-up(sm) {
82468973
S
164 height: 120px;
165 width: 93px;
166 margin-right: 32px;
167 top: 8px;
168 }
1423222c
S
169 }
170 }
f8c4f791
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;
1423222c
S
190 }
191 }
4b4334da
S
192}
193
194section.content-section {
e2d13261 195 padding: 3rem 0;
8e18ac98 196 @include media-breakpoint-up(sm) {
c2cbe16d 197 padding: 72px 0;
d8c9a4d4 198 }
4b4334da
S
199}
200
c2cbe16d
S
201.feature_icons {
202 width: 40px;
203 height: 100%;
204 float: left;
205 margin-right: .75rem;
4b4334da
S
206}
207
20df8773 208section#news,
1a09d1ae 209section#support,
20df8773 210footer {
c2cbe16d
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 }
4b4334da
S
219}
220
221section#wishlist {
222 background-image: url('../img/wishlist-background.jpg');
223 background-size: cover;
224 background-position: center center;
20df8773
S
225}
226
61975d93
S
227.progress {
228 background-color: rgba(255, 255, 255, .2);
229}
230
c2cbe16d
S
231.bg-progress {
232 background-image: linear-gradient(to right, $yellow-700, $amber-800);
233}
234
20df8773
S
235section#fireinfo {
236 border-bottom: 1px solid rgba($blue-grey-900, .2);
237}
238
c2cbe16d
S
239.circle {
240 position: relative;
f8c4f791 241 p.fireinfo_per {
c2cbe16d
S
242 color: $blue-grey-600;
243 position: absolute;
d56f505e 244 top: calc(50% - 18px);
c2cbe16d
S
245 width: 100%;
246 }
20df8773
S
247}
248
8e18ac98
S
249section#appliances {
250 padding-bottom: 48px;
251}
252
0955047d 253.features-content {
96dd6875 254 padding-top: 88px;
0955047d 255 margin-bottom: 40px;
346e30de 256 @include media-breakpoint-up(lg) {
96dd6875
SH
257 padding-top: 161px;
258 }
0955047d
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;
f59b40f6 264 position: relative;
0955047d
S
265 }
266}
267
bf5b46d4 268.divider {
0955047d 269 width: 128px;
bf5b46d4
S
270 height: 4px;
271 border-radius: 2px;
272 background-image: linear-gradient(to right, $red_900, $deep_orange_a400);
96dd6875
SH
273 margin: 40px auto 24px auto;
274 @include media-breakpoint-up(sm) {
275 margin: 56px auto 40px auto;
276 }
0955047d
S
277}
278
20df8773
S
279footer {
280 padding: 3rem 0 0 0;
8e18ac98
S
281 @include media-breakpoint-down(md) {
282 padding-top: 31px;
283 }
6aa3b1ec
S
284 h4 {
285 margin-bottom: 1.25rem;
c2cbe16d 286 color: rgba($blue-grey-900, .6);
f8c4f791
S
287 font-size: 20px;
288 line-height: 28px;
6aa3b1ec
S
289 }
290 ul {
291 li {
f8c4f791 292 font-size: 14px;
6aa3b1ec
S
293 margin-bottom: .75rem;
294 a {
c2cbe16d 295 color: rgba($blue-grey-900, .6);
6aa3b1ec
S
296 text-decoration: none;
297 &:hover {
c2cbe16d 298 color: $blue-grey-900;
6aa3b1ec
S
299 text-decoration: underline;
300 }
301 }
302 }
303 }
304 .btn-lg {
305 margin-bottom: 2.75rem;
6aa3b1ec
S
306 }
307 .btn-sm {
308 box-shadow: none;
309 &:hover {
310 box-shadow: none;
311 }
6aa3b1ec 312 }
20df8773
S
313}
314
c2cbe16d
S
315#copyright {
316 background-color: rgba($blue-grey-900, .06);
317 padding: 1rem 0;
f8c4f791
S
318 p {
319 font-size: 12px;
320 line-height: 16px;
321 }
ac7f3ec6
S
322}
323
c2cbe16d 324// Animation
c2cbe16d 325@keyframes scroll {
61eaa9b2 326 0%, 100% { transform: translateY(30%); }
fdae1aac 327 50% { transform: translateY(50%); }
1423222c 328}