|
16 | 16 | } |
17 | 17 | .borderBox { |
18 | 18 | padding: 24px 24px 32px 24px; |
| 19 | + margin-top: 16px; |
| 20 | + display: flex; |
| 21 | + flex-direction: column; |
| 22 | + justify-content: space-between; |
19 | 23 | border-radius: 8px; |
20 | | - background: var(--main-bgd-color); |
| 24 | + border: 1px solid var(--border-color); |
| 25 | + background: var(--surface-brand-grey-strong); |
| 26 | + width: 100%; |
21 | 27 | a { |
22 | 28 | text-decoration: underline; |
23 | 29 | } |
|
26 | 32 | text-align: left; |
27 | 33 | letter-spacing: 0em; |
28 | 34 | line-height: 20px; |
29 | | - font-size: 14px; |
| 35 | + font-size: 16px; |
| 36 | + margin: 0; |
30 | 37 | :first-child { |
31 | 38 | margin-top: 0; |
32 | 39 | } |
33 | 40 | :last-child { |
34 | 41 | margin-bottom: 0; |
35 | 42 | } |
36 | 43 | } |
| 44 | + > p { |
| 45 | + margin-bottom: 16px; |
| 46 | + &:last-child { |
| 47 | + margin-bottom: 0; |
| 48 | + } |
| 49 | + } |
| 50 | + pre[class*="language-"] { |
| 51 | + background: #121521 !important; |
| 52 | + border: 0.7px solid #2d3748; |
| 53 | + code span { |
| 54 | + font-size: 16px; |
| 55 | + color: #e2e8f0 !important; |
| 56 | + &::before { |
| 57 | + color: #4a5568; |
| 58 | + } |
| 59 | + } |
| 60 | + } |
37 | 61 | } |
38 | 62 |
|
39 | 63 | .boxTitle { |
|
45 | 69 | letter-spacing: -0.8px; |
46 | 70 | } |
47 | 71 |
|
48 | | -.grid { |
49 | | - gap: 16px; |
50 | | - display: grid; |
51 | | - margin-top: 24px; |
52 | | - grid-template-columns: none; |
53 | | - @media (min-width: 600px) { |
54 | | - grid-template-columns: 1fr 1fr; |
55 | | - } |
56 | | - a { |
57 | | - border-color: var(--ifm-btn-border-color); |
58 | | - background: transparent; |
59 | | - color: var(--main-font-color); |
60 | | - &:hover { |
61 | | - border-color: var(--ifm-btn-border-color-active); |
62 | | - background: transparent; |
63 | | - } |
64 | | - } |
65 | | -} |
| 72 | +// .grid { |
| 73 | +// gap: 16px; |
| 74 | +// display: grid; |
| 75 | +// margin-top: 24px; |
| 76 | +// grid-template-columns: none; |
| 77 | +// @media (min-width: 600px) { |
| 78 | +// grid-template-columns: 1fr 1fr; |
| 79 | +// } |
| 80 | +// a { |
| 81 | +// border-color: var(--ifm-btn-border-color); |
| 82 | +// background: transparent; |
| 83 | +// color: var(--main-font-color); |
| 84 | +// &:hover { |
| 85 | +// border-color: var(--ifm-btn-border-color-active); |
| 86 | +// background: transparent; |
| 87 | +// } |
| 88 | +// } |
| 89 | +// } |
66 | 90 |
|
67 | | -.separator { |
68 | | - height: 100%; |
69 | | - width: 1px; |
70 | | - border-left: 1px solid var(--ifm-btn-border-color); |
71 | | -} |
| 91 | +// .separator { |
| 92 | +// height: 100%; |
| 93 | +// width: 1px; |
| 94 | +// border-left: 1px solid var(--ifm-btn-border-color); |
| 95 | +// } |
72 | 96 |
|
73 | 97 | .linkCardWrapper { |
74 | 98 | border: 1px solid var(--border-color); |
|
86 | 110 | color: inherit; |
87 | 111 | } |
88 | 112 | &.linkCardHighlight { |
89 | | - background: rgba(22, 163, 148, 0.12); |
90 | | - border-color: rgb(22, 163, 148); |
91 | | - &:hover { |
92 | | - // background: #B7F4EE; |
93 | | - border-color: #154f47; |
94 | | - } |
| 113 | + border-radius: 8px; |
| 114 | + border: 1px solid var(--surface-brand-default); |
| 115 | + background: var(--surface-brand-light); |
| 116 | + // &:hover { |
| 117 | + // background: #b7f4ee; |
| 118 | + // border-color: #154f47; |
| 119 | + // } |
95 | 120 | } |
96 | 121 | .title { |
97 | 122 | display: inline-flex; |
| 123 | + h2 { |
| 124 | + font-family: Barlow; |
| 125 | + border-bottom: 1px solid var(--main-font-color); |
| 126 | + } |
98 | 127 | h6 { |
99 | 128 | font-size: 18px; |
100 | 129 | display: inline-block; |
|
117 | 146 | } |
118 | 147 | } |
119 | 148 |
|
120 | | -.tab { |
121 | | - padding: 15px; |
122 | | - background-color: var(--main-bgd-color); |
123 | | - border: 1px solid var(--indigo-600); |
124 | | - border-radius: 0px 8px 8px 8px; |
125 | | - font-family: Inter; |
126 | | - font-size: 14px; |
127 | | - font-weight: 400; |
128 | | - line-height: 20px; |
129 | | - letter-spacing: 0em; |
130 | | - text-align: left; |
131 | | - p { |
132 | | - margin-top: 0; |
133 | | - } |
134 | | -} |
| 149 | +// .tab { |
| 150 | +// padding: 15px; |
| 151 | +// background-color: var(--main-bgd-color); |
| 152 | +// border: 1px solid var(--indigo-600); |
| 153 | +// border-radius: 0px 8px 8px 8px; |
| 154 | +// font-family: Inter; |
| 155 | +// font-size: 14px; |
| 156 | +// font-weight: 400; |
| 157 | +// line-height: 20px; |
| 158 | +// letter-spacing: 0em; |
| 159 | +// text-align: left; |
| 160 | +// p { |
| 161 | +// margin-top: 0; |
| 162 | +// } |
| 163 | +// } |
135 | 164 |
|
136 | 165 | .squareWrapper { |
137 | 166 | width: 90px; |
|
218 | 247 | flex-wrap: wrap; |
219 | 248 | } |
220 | 249 | } |
| 250 | + |
| 251 | +// .list { |
| 252 | +// display: grid; |
| 253 | +// // Gap with no trailing margin |
| 254 | +// > * + * { |
| 255 | +// margin-left: 16px; |
| 256 | +// } |
| 257 | +// max-width: fit-content; |
| 258 | +// grid-template-columns: repeat(2, auto); |
| 259 | +// // &:has(.borderBox) { |
| 260 | +// // display: grid; |
| 261 | +// // gap: 16px; |
| 262 | +// // border: 2px solid blue; |
| 263 | +// // } |
| 264 | +// &:not(.framedList) { |
| 265 | +// @media (min-width: 1400px) { |
| 266 | +// grid-template-columns: repeat(7, auto); |
| 267 | +// } |
| 268 | +// @media (min-width: 997px) and (max-width: 1400px) { |
| 269 | +// grid-template-columns: repeat(4, auto); |
| 270 | +// } |
| 271 | +// @media (min-width: 816px) and (max-width: 997px) { |
| 272 | +// grid-template-columns: repeat(7, auto); |
| 273 | +// } |
| 274 | +// @media (min-width: 500px) and (max-width: 816px) { |
| 275 | +// grid-template-columns: repeat(4, auto); |
| 276 | +// } |
| 277 | +// @media (min-width: 410px) and (max-width: 500px) { |
| 278 | +// grid-template-columns: repeat(3, auto); |
| 279 | +// } |
| 280 | +// } |
| 281 | +// // &.framedList { |
| 282 | +// // background: var(--main-bgd-color); |
| 283 | +// // border: 1px solid var(--ifm-btn-border-color); |
| 284 | +// // border-radius: 8px; |
| 285 | +// // padding: 24px 16px 16px 16px; |
| 286 | +// // justify-content: center; |
| 287 | +// // @media (min-width: 1240px) { |
| 288 | +// // grid-template-columns: repeat(6, auto); |
| 289 | +// // } |
| 290 | +// // @media (min-width: 1025px) and (max-width: 1240px) { |
| 291 | +// // grid-template-columns: repeat(3, auto); |
| 292 | +// // } |
| 293 | +// // @media (min-width: 768px) and (max-width: 1025px) { |
| 294 | +// // grid-template-columns: repeat(4, auto); |
| 295 | +// // } |
| 296 | +// // @media (min-width: 480px) and (max-width: 768px) { |
| 297 | +// // grid-template-columns: repeat(4, auto); |
| 298 | +// // } |
| 299 | +// // @media (min-width: 410px) and (max-width: 479px) { |
| 300 | +// // grid-template-columns: repeat(3, auto); |
| 301 | +// // } |
| 302 | +// // .squareWrapper { |
| 303 | +// // background: var(--surface-primary); |
| 304 | +// // } |
| 305 | +// // } |
| 306 | +// // &.splitList { |
| 307 | +// // width: fit-content; |
| 308 | +// // display: flex; |
| 309 | +// // justify-content: flex-start; |
| 310 | +// // flex-wrap: wrap; |
| 311 | +// // } |
| 312 | +// } |
0 commit comments