]> git.ipfire.org Git - ipfire.org.git/blame - static/scss/style.scss
basic style Download page
[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";
38// @import "bootstrap-4.0.0-alpha.6/scss/badge";
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;
80}
81
c2cbe16d
S
82// Images
83img {
84 &.img-fluid {
85 width: 100%;
86 max-width: 100%;
87 height: auto;
88 }
89}
90
c2cbe16d
S
91
92footer {
93 .btn-toolbar .icon {
fdae1aac
S
94 height: 2.25rem;
95 width: 2.25rem;
c2cbe16d
S
96 fill: rgba($blue-grey-900, .6);
97 }
98 .i_heart {
fdae1aac
S
99 vertical-align: top;
100 transform: translateY(-.15rem);
101 @include media-breakpoint-down(sm) {
102 transform: translateY(-.75rem);
103 }
c2cbe16d
S
104 }
105}
106
1423222c 107
c2cbe16d 108// Sections
1423222c
S
109section.intro {
110 min-height: 100vh;
111 background-image: url('../img/header-background.jpg');
112 background-size: cover;
113 background-attachment: fixed;
114 background-position: center top;
115 position: relative;
116 .branding {
82468973 117 padding-top: 6rem;
8e18ac98 118 @include media-breakpoint-up(sm) {
82468973
S
119 padding-top: 192px;
120 }
1423222c
S
121 margin-bottom: 64px;
122 text-align: center;
123 color: $blue-grey-600;
124 h1 {
125 font-weight: 300 !important;
126 color: $blue-grey-900;
8e18ac98 127 @include media-breakpoint-down(xs) {
f8c4f791
S
128 font-size: 72px;
129 line-height: 88px;
130 margin-bottom: 0;
82468973 131 }
1423222c
S
132 strong {
133 font-weight: 700 !important;
134 }
135 }
136 h1:before {
137 content: "";
82468973
S
138 height: 60px;
139 width: 76px;
1423222c
S
140 background-image: url('../img/ipfire-tux.png');
141 background-repeat: no-repeat;
142 background-position: center center;
143 background-size: contain;
1423222c
S
144 display: inline-block;
145 position: relative;
82468973 146 top: 4px;
8e18ac98 147 @include media-breakpoint-up(sm) {
82468973
S
148 height: 120px;
149 width: 93px;
150 margin-right: 32px;
151 top: 8px;
152 }
1423222c
S
153 }
154 }
f8c4f791
S
155}
156
157.page-scroll {
158 display: block;
159 visibility: visible;
160 position: absolute;
161 bottom: 48px;
162 left: 50%;
163 transform: translateX(-50%);
164 .btn {
165 width: 36px;
166 height: 36px;
167 fill: $red_900;
168 @include media-breakpoint-up(sm) {
169 width: 64px;
170 height: 64px;
171 }
172 &:hover .i_arrow_down {
173 fill: white;
1423222c
S
174 }
175 }
4b4334da
S
176}
177
178section.content-section {
e2d13261 179 padding: 3rem 0;
8e18ac98 180 @include media-breakpoint-up(sm) {
c2cbe16d 181 padding: 72px 0;
d8c9a4d4 182 }
4b4334da
S
183}
184
c2cbe16d
S
185.feature_icons {
186 width: 40px;
187 height: 100%;
188 float: left;
189 margin-right: .75rem;
4b4334da
S
190}
191
20df8773
S
192section#news,
193footer {
c2cbe16d
S
194 background-color: rgba($blue-grey-900, .06);
195}
196
197section#news {
198 color: rgba($blue-grey-900, .6);
199 h2 {
200 color: $blue-grey-900;
201 }
4b4334da
S
202}
203
204section#wishlist {
205 background-image: url('../img/wishlist-background.jpg');
206 background-size: cover;
207 background-position: center center;
20df8773
S
208}
209
61975d93
S
210.progress {
211 background-color: rgba(255, 255, 255, .2);
212}
213
c2cbe16d
S
214.bg-progress {
215 background-image: linear-gradient(to right, $yellow-700, $amber-800);
216}
217
20df8773
S
218section#fireinfo {
219 border-bottom: 1px solid rgba($blue-grey-900, .2);
220}
221
c2cbe16d
S
222.circle {
223 position: relative;
f8c4f791 224 p.fireinfo_per {
c2cbe16d
S
225 color: $blue-grey-600;
226 position: absolute;
d56f505e 227 top: calc(50% - 18px);
c2cbe16d
S
228 width: 100%;
229 }
20df8773
S
230}
231
8e18ac98
S
232section#appliances {
233 padding-bottom: 48px;
234}
235
0955047d 236.features-content {
96dd6875 237 padding-top: 88px;
0955047d 238 margin-bottom: 40px;
96dd6875
SH
239 @include media-breakpoint-up(sm) {
240 padding-top: 161px;
241 }
0955047d
S
242 .content {
243 background: white;
244 border-radius: 4px;
245 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
246 padding: 40px 24px;
f59b40f6 247 position: relative;
0955047d
S
248 }
249}
250
bf5b46d4 251.divider {
0955047d 252 width: 128px;
bf5b46d4
S
253 height: 4px;
254 border-radius: 2px;
255 background-image: linear-gradient(to right, $red_900, $deep_orange_a400);
96dd6875
SH
256 margin: 40px auto 24px auto;
257 @include media-breakpoint-up(sm) {
258 margin: 56px auto 40px auto;
259 }
0955047d
S
260}
261
20df8773
S
262footer {
263 padding: 3rem 0 0 0;
8e18ac98
S
264 @include media-breakpoint-down(md) {
265 padding-top: 31px;
266 }
6aa3b1ec
S
267 h4 {
268 margin-bottom: 1.25rem;
c2cbe16d 269 color: rgba($blue-grey-900, .6);
f8c4f791
S
270 font-size: 20px;
271 line-height: 28px;
6aa3b1ec
S
272 }
273 ul {
274 li {
f8c4f791 275 font-size: 14px;
6aa3b1ec
S
276 margin-bottom: .75rem;
277 a {
c2cbe16d 278 color: rgba($blue-grey-900, .6);
6aa3b1ec
S
279 text-decoration: none;
280 &:hover {
c2cbe16d 281 color: $blue-grey-900;
6aa3b1ec
S
282 text-decoration: underline;
283 }
284 }
285 }
286 }
287 .btn-lg {
288 margin-bottom: 2.75rem;
6aa3b1ec
S
289 }
290 .btn-sm {
291 box-shadow: none;
292 &:hover {
293 box-shadow: none;
294 }
6aa3b1ec 295 }
20df8773
S
296}
297
c2cbe16d
S
298#copyright {
299 background-color: rgba($blue-grey-900, .06);
300 padding: 1rem 0;
f8c4f791
S
301 p {
302 font-size: 12px;
303 line-height: 16px;
304 }
ac7f3ec6
S
305}
306
c2cbe16d 307// Animation
c2cbe16d 308@keyframes scroll {
61eaa9b2 309 0%, 100% { transform: translateY(30%); }
fdae1aac 310 50% { transform: translateY(50%); }
1423222c 311}