File tree Expand file tree Collapse file tree 2 files changed +57
-12
lines changed Expand file tree Collapse file tree 2 files changed +57
-12
lines changed Original file line number Diff line number Diff line change @@ -317,21 +317,64 @@ footer {
317
317
/* DOCS */
318
318
319
319
.launch-cards {
320
- button {
321
- cursor : pointer ;
322
- box-sizing : border-box ;
323
- background : none ;
324
- margin : 0 ;
325
- border : 0 ;
326
- }
320
+ padding : 0 ;
321
+ display : grid ;
322
+ grid-template-columns : repeat (3 , 1fr );
323
+ row-gap : 1em ;
324
+ .launch-card {
325
+ display : flex ;
326
+ padding : 0 30px 0 0 ;
327
+ .card-content {
328
+ width : fit-content ;
329
+ display : flex ;
330
+ flex-direction : column ;
331
+ margin : 0 ;
332
+ row-gap : 1em ;
333
+ h2 {
334
+ font-size : 1.75em ;
335
+ padding : 0.5em 0 ;
336
+ margin : 0 ;
337
+ a {
338
+ display : none ;
339
+ }
340
+ }
341
+
342
+ p {
343
+ margin : 0 ;
344
+ }
345
+
346
+ ul {
347
+ list-style : none ;
348
+ height : fit-content ;
349
+ line-height : 1.6 ;
350
+ padding : 0 ;
351
+ margin-block-end : auto ;
352
+ }
353
+
354
+ br {
355
+ display : none ;
356
+ }
357
+
358
+ button {
359
+ height : min-content ;
360
+ width : auto ;
361
+ padding : .5em 1em ;
362
+ cursor : pointer ;
363
+ box-sizing : border-box ;
364
+ }
365
+ }
366
+ }
327
367
328
- ul ,
329
- li {
330
- list-style : none ;
331
- padding-left : 0 ;
332
- }
368
+ @media only screen and (max-width : 1000px ) {
369
+ grid-template-columns : 1fr ;
370
+
371
+ .launch-card {
372
+ width : 100% ;
373
+ }
374
+ }
333
375
}
334
376
377
+
335
378
// table of contents
336
379
.td-toc {
337
380
padding-top : 1.5rem !important ;
Original file line number Diff line number Diff line change 1
1
{{ range .Params.cards }}
2
2
< div class ="launch-card ">
3
+ < div class ="card-content ">
3
4
< h2 id ="{{ replace .title " " "-" | lower }}"> {{ .title }}</ h2 >
4
5
< p > {{ .description }}</ p >
5
6
< ul >
@@ -25,5 +26,6 @@ <h2 id="{{ replace .title " " "-" | lower }}">{{ .title }}</h2>
25
26
< br >
26
27
< br >
27
28
{{ end }}
29
+ </ div >
28
30
</ div >
29
31
{{ end }}
You can’t perform that action at this time.
0 commit comments