]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - static/scss/style.scss
basic style Download page
[people/shoehn/ipfire.org.git] / static / scss / style.scss
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";
20 //@import "bootstrap-4.0.0-alpha.6/scss/images";
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";
29 //@import "bootstrap-4.0.0-alpha.6/scss/dropdown";
30 @import "bootstrap-4.0.0-alpha.6/scss/button-group";
31 //@import "bootstrap-4.0.0-alpha.6/scss/input-group";
32 //@import "bootstrap-4.0.0-alpha.6/scss/custom-forms";
33 @import "bootstrap-4.0.0-alpha.6/scss/nav";
34 @import "bootstrap-4.0.0-alpha.6/scss/navbar";
35 //@import "bootstrap-4.0.0-alpha.6/scss/card";
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";
40 // @import "bootstrap-4.0.0-alpha.6/scss/alert";
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";
44 // @import "bootstrap-4.0.0-alpha.6/scss/responsive-embed";
45 // @import "bootstrap-4.0.0-alpha.6/scss/close";
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
54 @import "bootstrap-4.0.0-alpha.6/scss/utilities";
55
56
57 body {
58 min-height: 100vh;
59 display: flex;
60 flex-direction: column;
61 }
62
63 .container {
64 width: 100%;
65 max-width: 1200px;
66 flex: 1;
67 }
68
69 // Custom stuff
70 @import '_fonts';
71 @import '_nav';
72 @import '_buttons';
73 @import '_icons';
74
75
76
77 // Colors
78 .amber-800 {
79 color: $amber-800;
80 }
81
82 // Images
83 img {
84 &.img-fluid {
85 width: 100%;
86 max-width: 100%;
87 height: auto;
88 }
89 }
90
91
92 footer {
93 .btn-toolbar .icon {
94 height: 2.25rem;
95 width: 2.25rem;
96 fill: rgba($blue-grey-900, .6);
97 }
98 .i_heart {
99 vertical-align: top;
100 transform: translateY(-.15rem);
101 @include media-breakpoint-down(sm) {
102 transform: translateY(-.75rem);
103 }
104 }
105 }
106
107
108 // Sections
109 section.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 {
117 padding-top: 6rem;
118 @include media-breakpoint-up(sm) {
119 padding-top: 192px;
120 }
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;
127 @include media-breakpoint-down(xs) {
128 font-size: 72px;
129 line-height: 88px;
130 margin-bottom: 0;
131 }
132 strong {
133 font-weight: 700 !important;
134 }
135 }
136 h1:before {
137 content: "";
138 height: 60px;
139 width: 76px;
140 background-image: url('../img/ipfire-tux.png');
141 background-repeat: no-repeat;
142 background-position: center center;
143 background-size: contain;
144 display: inline-block;
145 position: relative;
146 top: 4px;
147 @include media-breakpoint-up(sm) {
148 height: 120px;
149 width: 93px;
150 margin-right: 32px;
151 top: 8px;
152 }
153 }
154 }
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;
174 }
175 }
176 }
177
178 section.content-section {
179 padding: 3rem 0;
180 @include media-breakpoint-up(sm) {
181 padding: 72px 0;
182 }
183 }
184
185 .feature_icons {
186 width: 40px;
187 height: 100%;
188 float: left;
189 margin-right: .75rem;
190 }
191
192 section#news,
193 footer {
194 background-color: rgba($blue-grey-900, .06);
195 }
196
197 section#news {
198 color: rgba($blue-grey-900, .6);
199 h2 {
200 color: $blue-grey-900;
201 }
202 }
203
204 section#wishlist {
205 background-image: url('../img/wishlist-background.jpg');
206 background-size: cover;
207 background-position: center center;
208 }
209
210 .progress {
211 background-color: rgba(255, 255, 255, .2);
212 }
213
214 .bg-progress {
215 background-image: linear-gradient(to right, $yellow-700, $amber-800);
216 }
217
218 section#fireinfo {
219 border-bottom: 1px solid rgba($blue-grey-900, .2);
220 }
221
222 .circle {
223 position: relative;
224 p.fireinfo_per {
225 color: $blue-grey-600;
226 position: absolute;
227 top: calc(50% - 18px);
228 width: 100%;
229 }
230 }
231
232 section#appliances {
233 padding-bottom: 48px;
234 }
235
236 .features-content {
237 padding-top: 88px;
238 margin-bottom: 40px;
239 @include media-breakpoint-up(sm) {
240 padding-top: 161px;
241 }
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;
247 position: relative;
248 }
249 }
250
251 .divider {
252 width: 128px;
253 height: 4px;
254 border-radius: 2px;
255 background-image: linear-gradient(to right, $red_900, $deep_orange_a400);
256 margin: 40px auto 24px auto;
257 @include media-breakpoint-up(sm) {
258 margin: 56px auto 40px auto;
259 }
260 }
261
262 footer {
263 padding: 3rem 0 0 0;
264 @include media-breakpoint-down(md) {
265 padding-top: 31px;
266 }
267 h4 {
268 margin-bottom: 1.25rem;
269 color: rgba($blue-grey-900, .6);
270 font-size: 20px;
271 line-height: 28px;
272 }
273 ul {
274 li {
275 font-size: 14px;
276 margin-bottom: .75rem;
277 a {
278 color: rgba($blue-grey-900, .6);
279 text-decoration: none;
280 &:hover {
281 color: $blue-grey-900;
282 text-decoration: underline;
283 }
284 }
285 }
286 }
287 .btn-lg {
288 margin-bottom: 2.75rem;
289 }
290 .btn-sm {
291 box-shadow: none;
292 &:hover {
293 box-shadow: none;
294 }
295 }
296 }
297
298 #copyright {
299 background-color: rgba($blue-grey-900, .06);
300 padding: 1rem 0;
301 p {
302 font-size: 12px;
303 line-height: 16px;
304 }
305 }
306
307 // Animation
308 @keyframes scroll {
309 0%, 100% { transform: translateY(30%); }
310 50% { transform: translateY(50%); }
311 }