]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - static/scss/style.scss
basic style Download page
[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
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;
80}
81
22cfab2d
S
82// Images
83img {
84 &.img-fluid {
85 width: 100%;
86 max-width: 100%;
87 height: auto;
88 }
89}
90
22cfab2d
S
91
92footer {
93 .btn-toolbar .icon {
efb8b657
S
94 height: 2.25rem;
95 width: 2.25rem;
22cfab2d
S
96 fill: rgba($blue-grey-900, .6);
97 }
98 .i_heart {
efb8b657
S
99 vertical-align: top;
100 transform: translateY(-.15rem);
101 @include media-breakpoint-down(sm) {
102 transform: translateY(-.75rem);
103 }
22cfab2d
S
104 }
105}
106
97ed546d 107
22cfab2d 108// Sections
97ed546d
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 {
69a9b33d 117 padding-top: 6rem;
7a9f7ff6 118 @include media-breakpoint-up(sm) {
69a9b33d
S
119 padding-top: 192px;
120 }
97ed546d
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;
7a9f7ff6 127 @include media-breakpoint-down(xs) {
49baba87
S
128 font-size: 72px;
129 line-height: 88px;
130 margin-bottom: 0;
69a9b33d 131 }
97ed546d
S
132 strong {
133 font-weight: 700 !important;
134 }
135 }
136 h1:before {
137 content: "";
69a9b33d
S
138 height: 60px;
139 width: 76px;
97ed546d
S
140 background-image: url('../img/ipfire-tux.png');
141 background-repeat: no-repeat;
142 background-position: center center;
143 background-size: contain;
97ed546d
S
144 display: inline-block;
145 position: relative;
69a9b33d 146 top: 4px;
7a9f7ff6 147 @include media-breakpoint-up(sm) {
69a9b33d
S
148 height: 120px;
149 width: 93px;
150 margin-right: 32px;
151 top: 8px;
152 }
97ed546d
S
153 }
154 }
49baba87
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;
97ed546d
S
174 }
175 }
1e5bc9c9
S
176}
177
178section.content-section {
6a63d20a 179 padding: 3rem 0;
7a9f7ff6 180 @include media-breakpoint-up(sm) {
22cfab2d 181 padding: 72px 0;
ccd81281 182 }
1e5bc9c9
S
183}
184
22cfab2d
S
185.feature_icons {
186 width: 40px;
187 height: 100%;
188 float: left;
189 margin-right: .75rem;
1e5bc9c9
S
190}
191
b6d1f3b7
S
192section#news,
193footer {
22cfab2d
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 }
1e5bc9c9
S
202}
203
204section#wishlist {
205 background-image: url('../img/wishlist-background.jpg');
206 background-size: cover;
207 background-position: center center;
b6d1f3b7
S
208}
209
3d770ad7
S
210.progress {
211 background-color: rgba(255, 255, 255, .2);
212}
213
22cfab2d
S
214.bg-progress {
215 background-image: linear-gradient(to right, $yellow-700, $amber-800);
216}
217
b6d1f3b7
S
218section#fireinfo {
219 border-bottom: 1px solid rgba($blue-grey-900, .2);
220}
221
22cfab2d
S
222.circle {
223 position: relative;
49baba87 224 p.fireinfo_per {
22cfab2d
S
225 color: $blue-grey-600;
226 position: absolute;
bf75d6d5 227 top: calc(50% - 18px);
22cfab2d
S
228 width: 100%;
229 }
b6d1f3b7
S
230}
231
7a9f7ff6
S
232section#appliances {
233 padding-bottom: 48px;
234}
235
9280b190 236.features-content {
4a416dd3 237 padding-top: 88px;
9280b190 238 margin-bottom: 40px;
4a416dd3
SH
239 @include media-breakpoint-up(sm) {
240 padding-top: 161px;
241 }
9280b190
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;
aa44ed56 247 position: relative;
9280b190
S
248 }
249}
250
8842c9d0 251.divider {
9280b190 252 width: 128px;
8842c9d0
S
253 height: 4px;
254 border-radius: 2px;
255 background-image: linear-gradient(to right, $red_900, $deep_orange_a400);
4a416dd3
SH
256 margin: 40px auto 24px auto;
257 @include media-breakpoint-up(sm) {
258 margin: 56px auto 40px auto;
259 }
9280b190
S
260}
261
b6d1f3b7
S
262footer {
263 padding: 3rem 0 0 0;
7a9f7ff6
S
264 @include media-breakpoint-down(md) {
265 padding-top: 31px;
266 }
9ce2074c
S
267 h4 {
268 margin-bottom: 1.25rem;
22cfab2d 269 color: rgba($blue-grey-900, .6);
49baba87
S
270 font-size: 20px;
271 line-height: 28px;
9ce2074c
S
272 }
273 ul {
274 li {
49baba87 275 font-size: 14px;
9ce2074c
S
276 margin-bottom: .75rem;
277 a {
22cfab2d 278 color: rgba($blue-grey-900, .6);
9ce2074c
S
279 text-decoration: none;
280 &:hover {
22cfab2d 281 color: $blue-grey-900;
9ce2074c
S
282 text-decoration: underline;
283 }
284 }
285 }
286 }
287 .btn-lg {
288 margin-bottom: 2.75rem;
9ce2074c
S
289 }
290 .btn-sm {
291 box-shadow: none;
292 &:hover {
293 box-shadow: none;
294 }
9ce2074c 295 }
b6d1f3b7
S
296}
297
22cfab2d
S
298#copyright {
299 background-color: rgba($blue-grey-900, .06);
300 padding: 1rem 0;
49baba87
S
301 p {
302 font-size: 12px;
303 line-height: 16px;
304 }
b6eb5162
S
305}
306
22cfab2d 307// Animation
22cfab2d 308@keyframes scroll {
eafb8738 309 0%, 100% { transform: translateY(30%); }
efb8b657 310 50% { transform: translateY(50%); }
97ed546d 311}