]> git.ipfire.org Git - ipfire.org.git/blame - src/scss/style.scss
Enable all Bootstrap modules that we want
[ipfire.org.git] / src / scss / style.scss
CommitLineData
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
e3325bcf 41@import '_fonts';
5236a99a 42@import '_buttons';
7ca46dd8 43@import '_icons';
5236a99a 44
c2cbe16d
S
45footer {
46 .btn-toolbar .icon {
fdae1aac
S
47 height: 2.25rem;
48 width: 2.25rem;
c2cbe16d
S
49 fill: rgba($blue-grey-900, .6);
50 }
51 .i_heart {
fdae1aac
S
52 vertical-align: top;
53 transform: translateY(-.15rem);
54 @include media-breakpoint-down(sm) {
55 transform: translateY(-.75rem);
56 }
c2cbe16d
S
57 }
58}
59
1423222c 60
c2cbe16d 61// Sections
1423222c
S
62section.intro {
63 min-height: 100vh;
dabc8e11 64 background-image: url('img/header-background.jpg');
1423222c
S
65 background-size: cover;
66 background-attachment: fixed;
67 background-position: center top;
68 position: relative;
69 .branding {
82468973 70 padding-top: 6rem;
8e18ac98 71 @include media-breakpoint-up(sm) {
82468973
S
72 padding-top: 192px;
73 }
1423222c
S
74 margin-bottom: 64px;
75 text-align: center;
76 color: $blue-grey-600;
77 h1 {
78 font-weight: 300 !important;
79 color: $blue-grey-900;
8e18ac98 80 @include media-breakpoint-down(xs) {
f8c4f791
S
81 font-size: 72px;
82 line-height: 88px;
83 margin-bottom: 0;
82468973 84 }
1423222c
S
85 strong {
86 font-weight: 700 !important;
87 }
88 }
89 h1:before {
90 content: "";
82468973
S
91 height: 60px;
92 width: 76px;
dabc8e11 93 background-image: url('img/ipfire-tux.png');
1423222c
S
94 background-repeat: no-repeat;
95 background-position: center center;
96 background-size: contain;
1423222c
S
97 display: inline-block;
98 position: relative;
82468973 99 top: 4px;
8e18ac98 100 @include media-breakpoint-up(sm) {
82468973
S
101 height: 120px;
102 width: 93px;
103 margin-right: 32px;
104 top: 8px;
105 }
1423222c
S
106 }
107 }
f8c4f791
S
108}
109
110.page-scroll {
111 display: block;
112 visibility: visible;
113 position: absolute;
114 bottom: 48px;
115 left: 50%;
116 transform: translateX(-50%);
117 .btn {
118 width: 36px;
119 height: 36px;
120 fill: $red_900;
121 @include media-breakpoint-up(sm) {
122 width: 64px;
123 height: 64px;
124 }
125 &:hover .i_arrow_down {
126 fill: white;
1423222c
S
127 }
128 }
4b4334da
S
129}
130
131section.content-section {
e2d13261 132 padding: 3rem 0;
8e18ac98 133 @include media-breakpoint-up(sm) {
c2cbe16d 134 padding: 72px 0;
d8c9a4d4 135 }
4b4334da
S
136}
137
c2cbe16d
S
138.feature_icons {
139 width: 40px;
140 height: 100%;
141 float: left;
142 margin-right: .75rem;
4b4334da
S
143}
144
20df8773 145section#news,
1a09d1ae 146section#support,
20df8773 147footer {
c2cbe16d
S
148 background-color: rgba($blue-grey-900, .06);
149}
150
151section#news {
152 color: rgba($blue-grey-900, .6);
153 h2 {
154 color: $blue-grey-900;
155 }
4b4334da
S
156}
157
61975d93
S
158.progress {
159 background-color: rgba(255, 255, 255, .2);
160}
161
c2cbe16d
S
162.bg-progress {
163 background-image: linear-gradient(to right, $yellow-700, $amber-800);
164}
165
20df8773
S
166section#fireinfo {
167 border-bottom: 1px solid rgba($blue-grey-900, .2);
168}
169
c2cbe16d
S
170.circle {
171 position: relative;
f8c4f791 172 p.fireinfo_per {
c2cbe16d
S
173 color: $blue-grey-600;
174 position: absolute;
d56f505e 175 top: calc(50% - 18px);
c2cbe16d
S
176 width: 100%;
177 }
20df8773
S
178}
179
8e18ac98
S
180section#appliances {
181 padding-bottom: 48px;
182}
183
8e4a3eaa
SH
184.features-content,
185.fixed-top + .blog-content {
96dd6875 186 padding-top: 88px;
0955047d 187 margin-bottom: 40px;
346e30de 188 @include media-breakpoint-up(lg) {
96dd6875
SH
189 padding-top: 161px;
190 }
0955047d
S
191 .content {
192 background: white;
193 border-radius: 4px;
194 box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
195 padding: 40px 24px;
f59b40f6 196 position: relative;
0955047d
S
197 }
198}
199
8e4a3eaa
SH
200.blog-content {
201 margin-bottom: 80px;
202}
203
bf5b46d4 204.divider {
0955047d 205 width: 128px;
bf5b46d4
S
206 height: 4px;
207 border-radius: 2px;
bc5b7100 208 background-image: linear-gradient(to right, $red-900, $orange-a400);
96dd6875
SH
209 margin: 40px auto 24px auto;
210 @include media-breakpoint-up(sm) {
211 margin: 56px auto 40px auto;
212 }
0955047d
S
213}
214
20df8773
S
215footer {
216 padding: 3rem 0 0 0;
8e18ac98
S
217 @include media-breakpoint-down(md) {
218 padding-top: 31px;
219 }
6aa3b1ec
S
220 h4 {
221 margin-bottom: 1.25rem;
c2cbe16d 222 color: rgba($blue-grey-900, .6);
f8c4f791
S
223 font-size: 20px;
224 line-height: 28px;
6aa3b1ec
S
225 }
226 ul {
227 li {
f8c4f791 228 font-size: 14px;
6aa3b1ec
S
229 margin-bottom: .75rem;
230 a {
c2cbe16d 231 color: rgba($blue-grey-900, .6);
6aa3b1ec
S
232 text-decoration: none;
233 &:hover {
c2cbe16d 234 color: $blue-grey-900;
6aa3b1ec
S
235 text-decoration: underline;
236 }
237 }
238 }
239 }
240 .btn-lg {
241 margin-bottom: 2.75rem;
6aa3b1ec
S
242 }
243 .btn-sm {
244 box-shadow: none;
245 &:hover {
246 box-shadow: none;
247 }
6aa3b1ec 248 }
20df8773
S
249}
250
c2cbe16d
S
251#copyright {
252 background-color: rgba($blue-grey-900, .06);
253 padding: 1rem 0;
f8c4f791
S
254 p {
255 font-size: 12px;
256 line-height: 16px;
257 }
ac7f3ec6
S
258}
259
c2cbe16d 260// Animation
c2cbe16d 261@keyframes scroll {
61eaa9b2 262 0%, 100% { transform: translateY(30%); }
fdae1aac 263 50% { transform: translateY(50%); }
7c0605e8 264}