]>
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"; |
95b30f84 | 30 | @import "../bootstrap/scss/modal"; |
bc5b7100 | 31 | @import "../bootstrap/scss/utilities"; |
8e1ad516 | 32 | @import "../bootstrap/scss/print"; |
1423222c | 33 | |
616bd6a5 MT |
34 | // Include fonts |
35 | @import "fonts"; | |
36 | ||
5236a99a | 37 | // Custom stuff |
7ca46dd8 | 38 | @import '_icons'; |
5236a99a | 39 | |
60ad7705 MT |
40 | // Makes everything white with dark text on it |
41 | .inverse { | |
42 | background-color: $body-color; | |
43 | color: $body-bg; | |
44 | } | |
45 | ||
d5389cd7 | 46 | html { |
9f043320 | 47 | position: relative; |
d5389cd7 MT |
48 | min-height: 100%; |
49 | } | |
9f043320 | 50 | |
d5389cd7 | 51 | body { |
d5389cd7 | 52 | margin-bottom: $footer-height; |
cc59f0e1 MT |
53 | } |
54 | ||
41f3d31d MT |
55 | // Buttons |
56 | .btn { | |
57 | text-transform: uppercase; | |
58 | } | |
59 | ||
dd06f761 | 60 | @each $color, $value in $theme-colors { |
3e486013 | 61 | .btn-glow-#{$color} { |
dd06f761 MT |
62 | background-color: rgba($value, .15); |
63 | } | |
64 | } | |
65 | ||
25346297 | 66 | .card { |
60ad7705 | 67 | @extend .inverse; |
25346297 MT |
68 | } |
69 | ||
9f043320 MT |
70 | .nav { |
71 | .nav-link { | |
25346297 | 72 | color: $white; |
9f043320 MT |
73 | |
74 | &.active { | |
75 | color: $link-color; | |
76 | border-left: 2px solid $link-color; | |
77 | } | |
78 | } | |
79 | } | |
80 | ||
56fdd02c | 81 | .navbar { |
a9a5d02b MT |
82 | .navbar-brand { |
83 | color: inherit; | |
56fdd02c | 84 | } |
dce6f905 MT |
85 | |
86 | .navbar-nav { | |
87 | .nav-link { | |
a9a5d02b | 88 | color: inherit; |
dce6f905 MT |
89 | |
90 | &.active { | |
91 | border-bottom: 2px solid $link-color; | |
92 | } | |
93 | } | |
94 | } | |
56fdd02c MT |
95 | } |
96 | ||
c2cbe16d | 97 | footer { |
d5389cd7 MT |
98 | position: absolute; |
99 | bottom: 0; | |
100 | width: 100%; | |
101 | height: $footer-height; | |
102 | ||
252d95b6 MT |
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 | ||
c2cbe16d | 147 | .btn-toolbar .icon { |
fdae1aac S |
148 | height: 2.25rem; |
149 | width: 2.25rem; | |
25346297 | 150 | fill: rgba($gray-400, .6); |
c2cbe16d S |
151 | } |
152 | .i_heart { | |
fdae1aac S |
153 | vertical-align: top; |
154 | transform: translateY(-.15rem); | |
155 | @include media-breakpoint-down(sm) { | |
156 | transform: translateY(-.75rem); | |
157 | } | |
c2cbe16d S |
158 | } |
159 | } | |
160 | ||
c2cbe16d | 161 | // Sections |
319dd276 | 162 | |
cc59f0e1 | 163 | .main { |
30b0d61a MT |
164 | .intro { |
165 | min-height: 100%; | |
166 | min-height: 100vh; | |
167 | ||
168 | margin-top: -6rem; | |
169 | ||
35c610f8 MT |
170 | @include media-breakpoint-down(sm) { |
171 | padding-top: 6rem; | |
172 | } | |
173 | ||
30b0d61a MT |
174 | display: flex; |
175 | align-items: center; | |
176 | } | |
177 | ||
cc59f0e1 MT |
178 | section { |
179 | padding: 3rem 0; | |
319dd276 | 180 | |
cc59f0e1 MT |
181 | @include media-breakpoint-up(sm) { |
182 | padding: 72px 0; | |
183 | } | |
319dd276 | 184 | } |
319dd276 MT |
185 | } |
186 | ||
12e5de7e | 187 | .blog-post { |
4b2975d2 MT |
188 | .blog-header { |
189 | h5 { | |
190 | a { | |
9632ca8b | 191 | color: $dark; |
4b2975d2 | 192 | } |
60e77f07 MT |
193 | } |
194 | } | |
8ebc98d4 | 195 | |
fb37ac29 MT |
196 | .blog-content { |
197 | h1, h2, h3, h4, h5, h6 { | |
2ee63634 | 198 | font-size: 1.375rem; |
fb37ac29 | 199 | font-weight: $headings-font-weight; |
2ee63634 | 200 | line-height: $headings-line-height; |
fb37ac29 MT |
201 | margin-bottom: 0.25rem; |
202 | } | |
c5cfd0d5 MT |
203 | |
204 | img { | |
205 | @include img-fluid; | |
206 | } | |
fb37ac29 MT |
207 | } |
208 | ||
8ebc98d4 | 209 | &.lightning-wire-labs { |
4b2975d2 MT |
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 | } | |
8ebc98d4 MT |
226 | } |
227 | } | |
12e5de7e MT |
228 | } |
229 | ||
8bc72662 MT |
230 | // Donations |
231 | ||
161b0c22 | 232 | .donation-explanation { |
bddae05d MT |
233 | color: $text-muted; |
234 | padding: 1.5rem; | |
161b0c22 | 235 | |
bddae05d MT |
236 | .faq { |
237 | a { | |
161b0c22 MT |
238 | color: inherit; |
239 | } | |
240 | } | |
241 | } | |
242 | ||
9f043320 MT |
243 | // Sidebar navigation |
244 | ||
245 | #sidebar .nav { | |
246 | position: fixed; | |
247 | } | |
248 | ||
c2cbe16d S |
249 | .feature_icons { |
250 | width: 40px; | |
251 | height: 100%; | |
252 | float: left; | |
253 | margin-right: .75rem; | |
4b4334da S |
254 | } |
255 | ||
61975d93 S |
256 | .progress { |
257 | background-color: rgba(255, 255, 255, .2); | |
258 | } | |
259 | ||
c2cbe16d S |
260 | .circle { |
261 | position: relative; | |
f8c4f791 | 262 | p.fireinfo_per { |
25346297 | 263 | color: $gray-800; |
c2cbe16d | 264 | position: absolute; |
d56f505e | 265 | top: calc(50% - 18px); |
c2cbe16d S |
266 | width: 100%; |
267 | } | |
20df8773 S |
268 | } |
269 | ||
bf5b46d4 | 270 | .divider { |
0955047d | 271 | width: 128px; |
bf5b46d4 S |
272 | height: 4px; |
273 | border-radius: 2px; | |
25346297 | 274 | background-image: linear-gradient(to right, $red, $gray-400); |
96dd6875 SH |
275 | margin: 40px auto 24px auto; |
276 | @include media-breakpoint-up(sm) { | |
277 | margin: 56px auto 40px auto; | |
278 | } | |
0955047d S |
279 | } |
280 | ||
c2cbe16d | 281 | // Animation |
c2cbe16d | 282 | @keyframes scroll { |
61eaa9b2 | 283 | 0%, 100% { transform: translateY(30%); } |
fdae1aac | 284 | 50% { transform: translateY(50%); } |
7c0605e8 | 285 | } |