]>
Commit | Line | Data |
---|---|---|
bc5b7100 | 1 | @import "variables"; |
91e44d91 | 2 | |
8e1ad516 | 3 | // Use all Bootstrap modules that we want |
bc5b7100 MT |
4 | @import "../bootstrap/scss/functions"; |
5 | @import "../bootstrap/scss/variables"; | |
6 | @import "../bootstrap/scss/mixins"; | |
8e1ad516 | 7 | @import "../bootstrap/scss/root"; |
bc5b7100 | 8 | @import "../bootstrap/scss/reboot"; |
bc5b7100 | 9 | @import "../bootstrap/scss/type"; |
8e1ad516 MT |
10 | @import "../bootstrap/scss/images"; |
11 | @import "../bootstrap/scss/code"; | |
bc5b7100 MT |
12 | @import "../bootstrap/scss/grid"; |
13 | @import "../bootstrap/scss/tables"; | |
14 | @import "../bootstrap/scss/forms"; | |
15 | @import "../bootstrap/scss/buttons"; | |
bc5b7100 | 16 | @import "../bootstrap/scss/transitions"; |
8e1ad516 | 17 | @import "../bootstrap/scss/dropdown"; |
bc5b7100 | 18 | @import "../bootstrap/scss/button-group"; |
8e1ad516 | 19 | @import "../bootstrap/scss/input-group"; |
bc5b7100 MT |
20 | @import "../bootstrap/scss/nav"; |
21 | @import "../bootstrap/scss/navbar"; | |
8e1ad516 MT |
22 | @import "../bootstrap/scss/card"; |
23 | @import "../bootstrap/scss/pagination"; | |
bc5b7100 | 24 | @import "../bootstrap/scss/badge"; |
8e1ad516 | 25 | @import "../bootstrap/scss/alert"; |
bc5b7100 MT |
26 | @import "../bootstrap/scss/progress"; |
27 | @import "../bootstrap/scss/media"; | |
28 | @import "../bootstrap/scss/list-group"; | |
8e1ad516 | 29 | @import "../bootstrap/scss/close"; |
bc5b7100 | 30 | @import "../bootstrap/scss/utilities"; |
8e1ad516 | 31 | @import "../bootstrap/scss/print"; |
1423222c | 32 | |
e33d95d5 SH |
33 | // Lightbox |
34 | @import "photoswipe/main"; | |
35 | @import "photoswipe/default-skin/default-skin"; | |
7ca46dd8 | 36 | |
fed291df SH |
37 | // Donation Box |
38 | @import "_donation"; | |
39 | ||
5236a99a | 40 | // Custom stuff |
7ca46dd8 | 41 | @import '_icons'; |
5236a99a | 42 | |
41f3d31d MT |
43 | // Buttons |
44 | .btn { | |
45 | text-transform: uppercase; | |
46 | } | |
47 | ||
e434c81f MT |
48 | // Headings |
49 | ||
50 | h1 { | |
51 | line-height: 4rem; | |
52 | } | |
53 | ||
54 | h2 { | |
55 | line-height: 3.5rem; | |
56 | } | |
57 | ||
58 | h3 { | |
59 | line-height: 3rem; | |
60 | } | |
61 | ||
62 | h4 { | |
63 | line-height: 2.75rem; | |
64 | } | |
65 | ||
66 | h5 { | |
67 | line-height: 2rem; | |
68 | } | |
69 | ||
70 | h6 { | |
71 | line-height: 1.75rem; | |
72 | } | |
73 | ||
c2cbe16d S |
74 | footer { |
75 | .btn-toolbar .icon { | |
fdae1aac S |
76 | height: 2.25rem; |
77 | width: 2.25rem; | |
c2cbe16d S |
78 | fill: rgba($blue-grey-900, .6); |
79 | } | |
80 | .i_heart { | |
fdae1aac S |
81 | vertical-align: top; |
82 | transform: translateY(-.15rem); | |
83 | @include media-breakpoint-down(sm) { | |
84 | transform: translateY(-.75rem); | |
85 | } | |
c2cbe16d S |
86 | } |
87 | } | |
88 | ||
c2cbe16d | 89 | // Sections |
319dd276 MT |
90 | |
91 | section { | |
92 | padding: 3rem 0; | |
93 | ||
94 | @include media-breakpoint-up(sm) { | |
95 | padding: 72px 0; | |
96 | } | |
97 | ||
98 | h1 { | |
99 | margin-bottom: 64px; | |
100 | } | |
101 | } | |
102 | ||
1423222c S |
103 | section.intro { |
104 | min-height: 100vh; | |
dabc8e11 | 105 | background-image: url('img/header-background.jpg'); |
1423222c S |
106 | background-size: cover; |
107 | background-attachment: fixed; | |
108 | background-position: center top; | |
109 | position: relative; | |
b4bff93b | 110 | |
1423222c | 111 | .branding { |
319dd276 MT |
112 | margin-bottom: 64px; |
113 | text-align: center; | |
114 | ||
82468973 | 115 | padding-top: 6rem; |
319dd276 | 116 | |
8e18ac98 | 117 | @include media-breakpoint-up(sm) { |
82468973 S |
118 | padding-top: 192px; |
119 | } | |
319dd276 | 120 | |
1423222c | 121 | h1 { |
319dd276 MT |
122 | margin-bottom: 0; |
123 | ||
8e18ac98 | 124 | @include media-breakpoint-down(xs) { |
f8c4f791 S |
125 | font-size: 72px; |
126 | line-height: 88px; | |
82468973 | 127 | } |
319dd276 | 128 | |
1423222c S |
129 | strong { |
130 | font-weight: 700 !important; | |
131 | } | |
132 | } | |
319dd276 | 133 | |
1423222c S |
134 | h1:before { |
135 | content: ""; | |
82468973 S |
136 | height: 60px; |
137 | width: 76px; | |
dabc8e11 | 138 | background-image: url('img/ipfire-tux.png'); |
1423222c S |
139 | background-repeat: no-repeat; |
140 | background-position: center center; | |
141 | background-size: contain; | |
1423222c S |
142 | display: inline-block; |
143 | position: relative; | |
82468973 | 144 | top: 4px; |
319dd276 | 145 | |
8e18ac98 | 146 | @include media-breakpoint-up(sm) { |
82468973 S |
147 | height: 120px; |
148 | width: 93px; | |
149 | margin-right: 32px; | |
150 | top: 8px; | |
151 | } | |
1423222c | 152 | } |
319dd276 MT |
153 | |
154 | h5 { | |
155 | color: $blue-grey-600; | |
156 | } | |
157 | ||
1423222c | 158 | } |
f8c4f791 S |
159 | } |
160 | ||
319dd276 MT |
161 | section#news, section#support, footer { |
162 | background-color: rgba($blue-grey-900, .06); | |
163 | } | |
164 | ||
165 | section#news { | |
166 | color: rgba($blue-grey-900, .6); | |
167 | } | |
168 | ||
169 | section#fireinfo { | |
170 | border-bottom: 1px solid rgba($blue-grey-900, .2); | |
171 | } | |
172 | ||
173 | section#appliances { | |
174 | padding-bottom: 48px; | |
175 | } | |
176 | ||
f8c4f791 S |
177 | .page-scroll { |
178 | display: block; | |
179 | visibility: visible; | |
180 | position: absolute; | |
181 | bottom: 48px; | |
182 | left: 50%; | |
183 | transform: translateX(-50%); | |
184 | .btn { | |
185 | width: 36px; | |
186 | height: 36px; | |
187 | fill: $red_900; | |
188 | @include media-breakpoint-up(sm) { | |
189 | width: 64px; | |
190 | height: 64px; | |
191 | } | |
192 | &:hover .i_arrow_down { | |
193 | fill: white; | |
1423222c S |
194 | } |
195 | } | |
4b4334da S |
196 | } |
197 | ||
c2cbe16d S |
198 | .feature_icons { |
199 | width: 40px; | |
200 | height: 100%; | |
201 | float: left; | |
202 | margin-right: .75rem; | |
4b4334da S |
203 | } |
204 | ||
61975d93 S |
205 | .progress { |
206 | background-color: rgba(255, 255, 255, .2); | |
207 | } | |
208 | ||
c2cbe16d S |
209 | .circle { |
210 | position: relative; | |
f8c4f791 | 211 | p.fireinfo_per { |
c2cbe16d S |
212 | color: $blue-grey-600; |
213 | position: absolute; | |
d56f505e | 214 | top: calc(50% - 18px); |
c2cbe16d S |
215 | width: 100%; |
216 | } | |
20df8773 S |
217 | } |
218 | ||
8e4a3eaa | 219 | .fixed-top + .blog-content { |
96dd6875 | 220 | padding-top: 88px; |
0955047d | 221 | margin-bottom: 40px; |
346e30de | 222 | @include media-breakpoint-up(lg) { |
96dd6875 SH |
223 | padding-top: 161px; |
224 | } | |
0955047d S |
225 | .content { |
226 | background: white; | |
227 | border-radius: 4px; | |
228 | box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2); | |
229 | padding: 40px 24px; | |
f59b40f6 | 230 | position: relative; |
0955047d S |
231 | } |
232 | } | |
233 | ||
8e4a3eaa SH |
234 | .blog-content { |
235 | margin-bottom: 80px; | |
236 | } | |
237 | ||
bf5b46d4 | 238 | .divider { |
0955047d | 239 | width: 128px; |
bf5b46d4 S |
240 | height: 4px; |
241 | border-radius: 2px; | |
bc5b7100 | 242 | background-image: linear-gradient(to right, $red-900, $orange-a400); |
96dd6875 SH |
243 | margin: 40px auto 24px auto; |
244 | @include media-breakpoint-up(sm) { | |
245 | margin: 56px auto 40px auto; | |
246 | } | |
0955047d S |
247 | } |
248 | ||
20df8773 S |
249 | footer { |
250 | padding: 3rem 0 0 0; | |
8e18ac98 S |
251 | @include media-breakpoint-down(md) { |
252 | padding-top: 31px; | |
253 | } | |
6aa3b1ec S |
254 | h4 { |
255 | margin-bottom: 1.25rem; | |
c2cbe16d | 256 | color: rgba($blue-grey-900, .6); |
f8c4f791 S |
257 | font-size: 20px; |
258 | line-height: 28px; | |
6aa3b1ec S |
259 | } |
260 | ul { | |
261 | li { | |
f8c4f791 | 262 | font-size: 14px; |
6aa3b1ec S |
263 | margin-bottom: .75rem; |
264 | a { | |
c2cbe16d | 265 | color: rgba($blue-grey-900, .6); |
6aa3b1ec S |
266 | text-decoration: none; |
267 | &:hover { | |
c2cbe16d | 268 | color: $blue-grey-900; |
6aa3b1ec S |
269 | text-decoration: underline; |
270 | } | |
271 | } | |
272 | } | |
273 | } | |
274 | .btn-lg { | |
275 | margin-bottom: 2.75rem; | |
6aa3b1ec S |
276 | } |
277 | .btn-sm { | |
278 | box-shadow: none; | |
279 | &:hover { | |
280 | box-shadow: none; | |
281 | } | |
6aa3b1ec | 282 | } |
20df8773 S |
283 | } |
284 | ||
c2cbe16d S |
285 | #copyright { |
286 | background-color: rgba($blue-grey-900, .06); | |
287 | padding: 1rem 0; | |
f8c4f791 S |
288 | p { |
289 | font-size: 12px; | |
290 | line-height: 16px; | |
291 | } | |
ac7f3ec6 S |
292 | } |
293 | ||
c2cbe16d | 294 | // Animation |
c2cbe16d | 295 | @keyframes scroll { |
61eaa9b2 | 296 | 0%, 100% { transform: translateY(30%); } |
fdae1aac | 297 | 50% { transform: translateY(50%); } |
7c0605e8 | 298 | } |