]> git.ipfire.org Git - ipfire.org.git/blame - static/scss/style.scss
Bug 11335 modified font smoothing and weight
[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
5236a99a 56// Custom stuff
e3325bcf
S
57@import '_fonts';
58@import '_nav';
5236a99a
S
59@import '_buttons';
60
c2cbe16d 61
8ef25aa4 62// Colors
8ef25aa4
S
63.amber-800 {
64 color: $amber-800;
65}
66
c2cbe16d
S
67// Images
68img {
69 &.img-fluid {
70 width: 100%;
71 max-width: 100%;
72 height: auto;
73 }
74}
75
76// Icons
c2cbe16d
S
77.icon {
78 width: 1.5rem;
79 height: 1.5rem;
80 fill: currentColor;
81 vertical-align: -.15rem;
82 overflow: hidden;
83 margin-right: .5rem;
84}
85
86.i_arrow_down {
87 margin: 0;
fdae1aac
S
88 position: absolute;
89 left: .75rem;
90 top: -.25rem;
61eaa9b2 91 animation: scroll 1.5s ease-in-out infinite;
8e18ac98 92 @include media-breakpoint-down(xs) {
609474e4
S
93 width: 1.75rem !important;
94 height: 1.75rem !important;
95 left: .25rem;
96 top: -.5rem;
fdae1aac 97 }
c2cbe16d
S
98}
99
100.i_lg {
101 width: 2.5rem;
102 height: 2.5rem;
103 margin: 0;
fdae1aac 104 transform: translateY(-.35rem);
c2cbe16d
S
105 fill: $red_900;
106}
107
108.i_sm {
fdae1aac
S
109 vertical-align: top;
110 transform: translateY(-.10rem);
c2cbe16d
S
111}
112
113footer {
114 .btn-toolbar .icon {
fdae1aac
S
115 height: 2.25rem;
116 width: 2.25rem;
c2cbe16d
S
117 fill: rgba($blue-grey-900, .6);
118 }
119 .i_heart {
fdae1aac
S
120 vertical-align: top;
121 transform: translateY(-.15rem);
122 @include media-breakpoint-down(sm) {
123 transform: translateY(-.75rem);
124 }
c2cbe16d
S
125 }
126}
127
1423222c 128
c2cbe16d 129// Sections
1423222c
S
130section.intro {
131 min-height: 100vh;
132 background-image: url('../img/header-background.jpg');
133 background-size: cover;
134 background-attachment: fixed;
135 background-position: center top;
136 position: relative;
137 .branding {
82468973 138 padding-top: 6rem;
8e18ac98 139 @include media-breakpoint-up(sm) {
82468973
S
140 padding-top: 192px;
141 }
1423222c
S
142 margin-bottom: 64px;
143 text-align: center;
144 color: $blue-grey-600;
145 h1 {
146 font-weight: 300 !important;
147 color: $blue-grey-900;
8e18ac98 148 @include media-breakpoint-down(xs) {
82468973
S
149 font-size: 4.5rem;
150 }
1423222c
S
151 strong {
152 font-weight: 700 !important;
153 }
154 }
155 h1:before {
156 content: "";
82468973
S
157 height: 60px;
158 width: 76px;
1423222c
S
159 background-image: url('../img/ipfire-tux.png');
160 background-repeat: no-repeat;
161 background-position: center center;
162 background-size: contain;
1423222c
S
163 display: inline-block;
164 position: relative;
82468973 165 top: 4px;
8e18ac98 166 @include media-breakpoint-up(sm) {
82468973
S
167 height: 120px;
168 width: 93px;
169 margin-right: 32px;
170 top: 8px;
171 }
1423222c
S
172 }
173 }
1423222c
S
174 .page-scroll {
175 position: absolute;
176 bottom: 48px;
1423222c
S
177 left: 50%;
178 transform: translateX(-50%);
179 .btn {
f5d7f117
S
180 width: 36px;
181 height: 36px;
1423222c 182 fill: $red_900;
8e18ac98 183 @include media-breakpoint-up(sm) {
82468973
S
184 width: 64px;
185 height: 64px;
186 }
8ef25aa4
S
187 &:hover .i_arrow_down {
188 fill: white;
189 }
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
S
208section#news,
209footer {
c2cbe16d
S
210 background-color: rgba($blue-grey-900, .06);
211}
212
213section#news {
214 color: rgba($blue-grey-900, .6);
215 h2 {
216 color: $blue-grey-900;
217 }
4b4334da
S
218}
219
220section#wishlist {
221 background-image: url('../img/wishlist-background.jpg');
222 background-size: cover;
223 background-position: center center;
20df8773
S
224}
225
61975d93
S
226.progress {
227 background-color: rgba(255, 255, 255, .2);
228}
229
c2cbe16d
S
230.bg-progress {
231 background-image: linear-gradient(to right, $yellow-700, $amber-800);
232}
233
20df8773
S
234section#fireinfo {
235 border-bottom: 1px solid rgba($blue-grey-900, .2);
236}
237
c2cbe16d
S
238.circle {
239 position: relative;
240 p.lead {
241 color: $blue-grey-600;
242 position: absolute;
243 top: calc(50% - 1.25rem);
244 width: 100%;
609474e4 245 font-size: 1.25em;
c2cbe16d 246 }
20df8773
S
247}
248
8e18ac98
S
249section#appliances {
250 padding-bottom: 48px;
251}
252
20df8773
S
253footer {
254 padding: 3rem 0 0 0;
8e18ac98
S
255 @include media-breakpoint-down(md) {
256 padding-top: 31px;
257 }
6aa3b1ec
S
258 h4 {
259 margin-bottom: 1.25rem;
c2cbe16d 260 color: rgba($blue-grey-900, .6);
6aa3b1ec
S
261 }
262 ul {
263 li {
264 font-size: $small-font-size;
265 margin-bottom: .75rem;
266 a {
c2cbe16d 267 color: rgba($blue-grey-900, .6);
6aa3b1ec
S
268 text-decoration: none;
269 &:hover {
c2cbe16d 270 color: $blue-grey-900;
6aa3b1ec
S
271 text-decoration: underline;
272 }
273 }
274 }
275 }
276 .btn-lg {
277 margin-bottom: 2.75rem;
6aa3b1ec
S
278 }
279 .btn-sm {
280 box-shadow: none;
281 &:hover {
282 box-shadow: none;
283 }
6aa3b1ec 284 }
20df8773
S
285}
286
c2cbe16d
S
287#copyright {
288 background-color: rgba($blue-grey-900, .06);
289 padding: 1rem 0;
ac7f3ec6
S
290}
291
c2cbe16d 292// Animation
c2cbe16d 293@keyframes scroll {
61eaa9b2 294 0%, 100% { transform: translateY(30%); }
fdae1aac 295 50% { transform: translateY(50%); }
1423222c 296}