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