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