]>
Commit | Line | Data |
---|---|---|
1 | @import "variables"; | |
2 | ||
3 | // Use all Bootstrap modules that we want | |
4 | @import "../bootstrap/scss/functions"; | |
5 | @import "../bootstrap/scss/variables"; | |
6 | @import "../bootstrap/scss/mixins"; | |
7 | @import "../bootstrap/scss/root"; | |
8 | @import "../bootstrap/scss/reboot"; | |
9 | @import "../bootstrap/scss/type"; | |
10 | @import "../bootstrap/scss/images"; | |
11 | @import "../bootstrap/scss/code"; | |
12 | @import "../bootstrap/scss/grid"; | |
13 | @import "../bootstrap/scss/tables"; | |
14 | @import "../bootstrap/scss/forms"; | |
15 | @import "../bootstrap/scss/buttons"; | |
16 | @import "../bootstrap/scss/transitions"; | |
17 | @import "../bootstrap/scss/dropdown"; | |
18 | @import "../bootstrap/scss/button-group"; | |
19 | @import "../bootstrap/scss/input-group"; | |
20 | @import "../bootstrap/scss/nav"; | |
21 | @import "../bootstrap/scss/navbar"; | |
22 | @import "../bootstrap/scss/card"; | |
23 | @import "../bootstrap/scss/pagination"; | |
24 | @import "../bootstrap/scss/badge"; | |
25 | @import "../bootstrap/scss/alert"; | |
26 | @import "../bootstrap/scss/progress"; | |
27 | @import "../bootstrap/scss/media"; | |
28 | @import "../bootstrap/scss/list-group"; | |
29 | @import "../bootstrap/scss/close"; | |
30 | @import "../bootstrap/scss/modal"; | |
31 | @import "../bootstrap/scss/utilities"; | |
32 | @import "../bootstrap/scss/print"; | |
33 | ||
34 | // Include fonts | |
35 | @import "fonts"; | |
36 | ||
37 | // Custom stuff | |
38 | @import '_icons'; | |
39 | ||
40 | // Makes everything white with dark text on it | |
41 | .inverse { | |
42 | background-color: $body-color; | |
43 | color: $body-bg; | |
44 | } | |
45 | ||
46 | html { | |
47 | position: relative; | |
48 | min-height: 100%; | |
49 | } | |
50 | ||
51 | body { | |
52 | margin-bottom: $footer-height; | |
53 | } | |
54 | ||
55 | // Buttons | |
56 | .btn { | |
57 | text-transform: uppercase; | |
58 | } | |
59 | ||
60 | @each $color, $value in $theme-colors { | |
61 | .btn-glow-#{$color} { | |
62 | background-color: rgba($value, .15); | |
63 | } | |
64 | } | |
65 | ||
66 | .card { | |
67 | @extend .inverse; | |
68 | } | |
69 | ||
70 | .nav { | |
71 | .nav-link { | |
72 | color: $white; | |
73 | ||
74 | &.active { | |
75 | color: $link-color; | |
76 | border-left: 2px solid $link-color; | |
77 | } | |
78 | } | |
79 | } | |
80 | ||
81 | .navbar { | |
82 | .navbar-brand { | |
83 | color: inherit; | |
84 | } | |
85 | ||
86 | .navbar-nav { | |
87 | .nav-link { | |
88 | color: inherit; | |
89 | ||
90 | &.active { | |
91 | border-bottom: 2px solid $link-color; | |
92 | } | |
93 | } | |
94 | } | |
95 | } | |
96 | ||
97 | footer { | |
98 | position: absolute; | |
99 | bottom: 0; | |
100 | width: 100%; | |
101 | height: $footer-height; | |
102 | ||
103 | padding: 3rem 0 0 0; | |
104 | ||
105 | @include media-breakpoint-down(md) { | |
106 | padding-top: 31px; | |
107 | } | |
108 | ||
109 | h4 { | |
110 | margin-bottom: 1.25rem; | |
111 | color: rgba($gray-400, .6); | |
112 | font-size: 20px; | |
113 | line-height: 28px; | |
114 | } | |
115 | ||
116 | ul { | |
117 | li { | |
118 | font-size: 14px; | |
119 | margin-bottom: .75rem; | |
120 | ||
121 | a { | |
122 | color: rgba($gray-400, .6); | |
123 | text-decoration: none; | |
124 | &:hover { | |
125 | color: $gray-400; | |
126 | text-decoration: underline; | |
127 | } | |
128 | } | |
129 | } | |
130 | } | |
131 | ||
132 | .btn-lg { | |
133 | margin-bottom: 2.75rem; | |
134 | } | |
135 | ||
136 | .copyright { | |
137 | background-color: rgba($gray-400, .06); | |
138 | padding: $spacer 0; | |
139 | ||
140 | font-size: $small-font-size; | |
141 | ||
142 | a { | |
143 | color: $text-muted; | |
144 | } | |
145 | } | |
146 | ||
147 | .btn-toolbar .icon { | |
148 | height: 2.25rem; | |
149 | width: 2.25rem; | |
150 | fill: rgba($gray-400, .6); | |
151 | } | |
152 | .i_heart { | |
153 | vertical-align: top; | |
154 | transform: translateY(-.15rem); | |
155 | @include media-breakpoint-down(sm) { | |
156 | transform: translateY(-.75rem); | |
157 | } | |
158 | } | |
159 | } | |
160 | ||
161 | // Sections | |
162 | ||
163 | .main { | |
164 | .intro { | |
165 | min-height: 100%; | |
166 | min-height: 100vh; | |
167 | ||
168 | margin-top: -6rem; | |
169 | ||
170 | @include media-breakpoint-down(sm) { | |
171 | padding-top: 6rem; | |
172 | } | |
173 | ||
174 | display: flex; | |
175 | align-items: center; | |
176 | } | |
177 | ||
178 | section { | |
179 | padding: 3rem 0; | |
180 | ||
181 | @include media-breakpoint-up(sm) { | |
182 | padding: 72px 0; | |
183 | } | |
184 | } | |
185 | } | |
186 | ||
187 | .blog-post { | |
188 | .blog-header { | |
189 | h5 { | |
190 | a { | |
191 | color: $dark; | |
192 | } | |
193 | } | |
194 | } | |
195 | ||
196 | .blog-content { | |
197 | h1, h2, h3, h4, h5, h6 { | |
198 | font-size: 1.375rem; | |
199 | font-weight: $headings-font-weight; | |
200 | line-height: $headings-line-height; | |
201 | margin-bottom: 0.25rem; | |
202 | } | |
203 | ||
204 | img { | |
205 | @include img-fluid; | |
206 | } | |
207 | } | |
208 | ||
209 | &.lightning-wire-labs { | |
210 | .blog-header { | |
211 | h5 { | |
212 | a { | |
213 | color: $lwl; | |
214 | } | |
215 | } | |
216 | ||
217 | a { | |
218 | color: $lwl; | |
219 | } | |
220 | } | |
221 | ||
222 | .blog-content { | |
223 | a { | |
224 | color: $lwl; | |
225 | } | |
226 | } | |
227 | } | |
228 | } | |
229 | ||
230 | // Donations | |
231 | ||
232 | .donation-explanation { | |
233 | color: $text-muted; | |
234 | padding: 1.5rem; | |
235 | ||
236 | .faq { | |
237 | a { | |
238 | color: inherit; | |
239 | } | |
240 | } | |
241 | } | |
242 | ||
243 | // Sidebar navigation | |
244 | ||
245 | #sidebar .nav { | |
246 | position: fixed; | |
247 | } | |
248 | ||
249 | .feature_icons { | |
250 | width: 40px; | |
251 | height: 100%; | |
252 | float: left; | |
253 | margin-right: .75rem; | |
254 | } | |
255 | ||
256 | .progress { | |
257 | background-color: rgba(255, 255, 255, .2); | |
258 | } | |
259 | ||
260 | .circle { | |
261 | position: relative; | |
262 | p.fireinfo_per { | |
263 | color: $gray-800; | |
264 | position: absolute; | |
265 | top: calc(50% - 18px); | |
266 | width: 100%; | |
267 | } | |
268 | } | |
269 | ||
270 | .divider { | |
271 | width: 128px; | |
272 | height: 4px; | |
273 | border-radius: 2px; | |
274 | background-image: linear-gradient(to right, $red, $gray-400); | |
275 | margin: 40px auto 24px auto; | |
276 | @include media-breakpoint-up(sm) { | |
277 | margin: 56px auto 40px auto; | |
278 | } | |
279 | } | |
280 | ||
281 | // Animation | |
282 | @keyframes scroll { | |
283 | 0%, 100% { transform: translateY(30%); } | |
284 | 50% { transform: translateY(50%); } | |
285 | } |