]>
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 | ||
13ddfd7a MT |
46 | html, body { |
47 | height: 100%; | |
d5389cd7 | 48 | } |
9f043320 | 49 | |
d5389cd7 | 50 | body { |
13ddfd7a MT |
51 | display: flex; |
52 | flex-flow: column; | |
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} { |
dcaed004 | 62 | color: white; |
dd06f761 MT |
63 | background-color: rgba($value, .15); |
64 | } | |
65 | } | |
66 | ||
25346297 | 67 | .card { |
60ad7705 | 68 | @extend .inverse; |
f0c48740 MT |
69 | |
70 | // Reset padding for sections | |
71 | section { | |
72 | padding: 0; | |
73 | } | |
25346297 MT |
74 | } |
75 | ||
f4672785 MT |
76 | .list-group { |
77 | .list-group-item { | |
78 | @extend .inverse; | |
79 | } | |
80 | } | |
81 | ||
9f043320 MT |
82 | .nav { |
83 | .nav-link { | |
25346297 | 84 | color: $white; |
9f043320 MT |
85 | |
86 | &.active { | |
87 | color: $link-color; | |
88 | border-left: 2px solid $link-color; | |
89 | } | |
90 | } | |
91 | } | |
92 | ||
56fdd02c | 93 | .navbar { |
c56cbe8c MT |
94 | background-color: rgba($gray-400, .06); |
95 | ||
7dadc6f7 MT |
96 | // Webkit is being stupid and cannot figure out the height |
97 | // of the navbar by itself | |
98 | min-height: $navbar-height; | |
99 | ||
a9a5d02b MT |
100 | .navbar-brand { |
101 | color: inherit; | |
56fdd02c | 102 | } |
dce6f905 MT |
103 | |
104 | .navbar-nav { | |
105 | .nav-link { | |
a9a5d02b | 106 | color: inherit; |
dce6f905 MT |
107 | |
108 | &.active { | |
109 | border-bottom: 2px solid $link-color; | |
110 | } | |
111 | } | |
112 | } | |
56fdd02c MT |
113 | } |
114 | ||
c2cbe16d | 115 | footer { |
13ddfd7a | 116 | margin-top: auto; |
252d95b6 | 117 | |
c819ecf2 MT |
118 | .footer { |
119 | margin-top: $spacer * 4; | |
120 | padding: 2rem 0 0 0; | |
2597b512 | 121 | |
c819ecf2 MT |
122 | color: $white; |
123 | background-color: rgba($gray-400, .04); | |
252d95b6 | 124 | |
c819ecf2 MT |
125 | @include media-breakpoint-down(md) { |
126 | padding-top: 31px; | |
127 | } | |
2597b512 | 128 | |
c819ecf2 | 129 | a, .btn-link { |
2597b512 | 130 | color: inherit; |
c819ecf2 MT |
131 | |
132 | &:hover { | |
133 | color: inherit; | |
134 | } | |
2597b512 | 135 | } |
252d95b6 | 136 | |
c819ecf2 MT |
137 | ul { |
138 | li { | |
139 | margin-bottom: $spacer / 4; | |
140 | } | |
252d95b6 MT |
141 | } |
142 | } | |
143 | ||
252d95b6 MT |
144 | .copyright { |
145 | background-color: rgba($gray-400, .06); | |
146 | padding: $spacer 0; | |
147 | ||
148 | font-size: $small-font-size; | |
149 | ||
150 | a { | |
151 | color: $text-muted; | |
152 | } | |
153 | } | |
c2cbe16d S |
154 | } |
155 | ||
c2cbe16d | 156 | // Sections |
319dd276 | 157 | |
00026d8b MT |
158 | section { |
159 | padding: 3rem 0; | |
160 | ||
161 | @include media-breakpoint-up(sm) { | |
162 | padding: 72px 0; | |
163 | } | |
164 | } | |
165 | ||
cc59f0e1 | 166 | .main { |
30b0d61a MT |
167 | .intro { |
168 | min-height: 100%; | |
169 | min-height: 100vh; | |
170 | ||
171 | margin-top: -6rem; | |
172 | ||
35c610f8 MT |
173 | @include media-breakpoint-down(sm) { |
174 | padding-top: 6rem; | |
175 | } | |
176 | ||
30b0d61a MT |
177 | display: flex; |
178 | align-items: center; | |
179 | } | |
319dd276 MT |
180 | } |
181 | ||
12e5de7e | 182 | .blog-post { |
4b2975d2 MT |
183 | .blog-header { |
184 | h5 { | |
185 | a { | |
9632ca8b | 186 | color: $dark; |
4b2975d2 | 187 | } |
60e77f07 MT |
188 | } |
189 | } | |
8ebc98d4 | 190 | |
fb37ac29 MT |
191 | .blog-content { |
192 | h1, h2, h3, h4, h5, h6 { | |
2ee63634 | 193 | font-size: 1.375rem; |
fb37ac29 | 194 | font-weight: $headings-font-weight; |
2ee63634 | 195 | line-height: $headings-line-height; |
fb37ac29 MT |
196 | margin-bottom: 0.25rem; |
197 | } | |
c5cfd0d5 MT |
198 | |
199 | img { | |
200 | @include img-fluid; | |
201 | } | |
fb37ac29 MT |
202 | } |
203 | ||
8ebc98d4 | 204 | &.lightning-wire-labs { |
4b2975d2 MT |
205 | .blog-header { |
206 | h5 { | |
207 | a { | |
208 | color: $lwl; | |
209 | } | |
210 | } | |
211 | ||
212 | a { | |
213 | color: $lwl; | |
214 | } | |
215 | } | |
216 | ||
217 | .blog-content { | |
218 | a { | |
219 | color: $lwl; | |
220 | } | |
8ebc98d4 MT |
221 | } |
222 | } | |
12e5de7e MT |
223 | } |
224 | ||
8bc72662 MT |
225 | // Donations |
226 | ||
161b0c22 | 227 | .donation-explanation { |
bddae05d MT |
228 | color: $text-muted; |
229 | padding: 1.5rem; | |
161b0c22 | 230 | |
bddae05d MT |
231 | .faq { |
232 | a { | |
161b0c22 MT |
233 | color: inherit; |
234 | } | |
235 | } | |
236 | } | |
237 | ||
9f043320 MT |
238 | // Sidebar navigation |
239 | ||
240 | #sidebar .nav { | |
241 | position: fixed; | |
242 | } | |
243 | ||
c2cbe16d S |
244 | .feature_icons { |
245 | width: 40px; | |
246 | height: 100%; | |
247 | float: left; | |
248 | margin-right: .75rem; | |
4b4334da S |
249 | } |
250 | ||
61975d93 S |
251 | .progress { |
252 | background-color: rgba(255, 255, 255, .2); | |
253 | } | |
254 | ||
c2cbe16d S |
255 | .circle { |
256 | position: relative; | |
f8c4f791 | 257 | p.fireinfo_per { |
25346297 | 258 | color: $gray-800; |
c2cbe16d | 259 | position: absolute; |
d56f505e | 260 | top: calc(50% - 18px); |
c2cbe16d S |
261 | width: 100%; |
262 | } | |
20df8773 S |
263 | } |
264 | ||
bf5b46d4 | 265 | .divider { |
0955047d | 266 | width: 128px; |
bf5b46d4 S |
267 | height: 4px; |
268 | border-radius: 2px; | |
25346297 | 269 | background-image: linear-gradient(to right, $red, $gray-400); |
96dd6875 SH |
270 | margin: 40px auto 24px auto; |
271 | @include media-breakpoint-up(sm) { | |
272 | margin: 56px auto 40px auto; | |
273 | } | |
0955047d S |
274 | } |
275 | ||
c2cbe16d | 276 | // Animation |
c2cbe16d | 277 | @keyframes scroll { |
61eaa9b2 | 278 | 0%, 100% { transform: translateY(30%); } |
fdae1aac | 279 | 50% { transform: translateY(50%); } |
7c0605e8 | 280 | } |