|
23 | 23 | border-radius: 8px; |
24 | 24 | border: 1px solid var(--border-color); |
25 | 25 | background: var(--surface-brand-grey-strong); |
26 | | - width: 100%; |
| 26 | + width: fit-content; |
27 | 27 | a { |
28 | 28 | text-decoration: underline; |
29 | 29 | } |
|
69 | 69 | letter-spacing: -0.8px; |
70 | 70 | } |
71 | 71 |
|
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 | | -// } |
90 | | - |
91 | | -// .separator { |
92 | | -// height: 100%; |
93 | | -// width: 1px; |
94 | | -// border-left: 1px solid var(--ifm-btn-border-color); |
95 | | -// } |
96 | | - |
97 | 72 | .linkCardWrapper { |
98 | 73 | border: 1px solid var(--border-color); |
99 | 74 | padding: 20px 24px; |
|
113 | 88 | border-radius: 8px; |
114 | 89 | border: 1px solid var(--surface-brand-default); |
115 | 90 | background: var(--surface-brand-light); |
116 | | - // &:hover { |
117 | | - // background: #b7f4ee; |
118 | | - // border-color: #154f47; |
119 | | - // } |
120 | 91 | } |
121 | 92 | .title { |
122 | 93 | display: inline-flex; |
|
146 | 117 | } |
147 | 118 | } |
148 | 119 |
|
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 | | -// } |
164 | | - |
165 | 120 | .squareWrapper { |
166 | 121 | width: 90px; |
167 | 122 | height: 90px; |
|
194 | 149 |
|
195 | 150 | .list { |
196 | 151 | display: grid; |
197 | | - gap: 16px; |
198 | 152 | margin-top: 16px; |
199 | | - max-width: fit-content; |
| 153 | + width: fit-content; |
200 | 154 | grid-template-columns: repeat(2, auto); |
| 155 | + gap: 16px; |
| 156 | + width: fit-content; |
| 157 | + display: flex; |
| 158 | + justify-content: flex-start; |
| 159 | + |
201 | 160 | &:not(.framedList) { |
202 | 161 | @media (min-width: 1400px) { |
203 | 162 | grid-template-columns: repeat(7, auto); |
|
247 | 206 | flex-wrap: wrap; |
248 | 207 | } |
249 | 208 | } |
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