File tree Expand file tree Collapse file tree 1 file changed +33
-4
lines changed
Expand file tree Collapse file tree 1 file changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -414,28 +414,43 @@ hr {
414414}
415415
416416.template-item {
417- display : flex;
418- justify-content : space-between;
419- align-items : center;
417+ display : grid;
418+ grid-template-columns : minmax (170px , 220px ) minmax (0 , 1fr ) auto;
419+ align-items : start;
420+ gap : 10px 20px ;
420421 padding : 16px 20px ;
421422 background : # F5F3F7 ;
422423 border-radius : 8px ;
423424 border : 1px solid # E8E5EB ;
424425}
425426
426427.template-name {
428+ display : block;
427429 font-family : 'SF Mono' , 'Fira Code' , 'Consolas' , monospace;
428430 font-size : 15px ;
429431 font-weight : 500 ;
430432 color : # 27232A ;
431433}
432434
435+ .template-item > p {
436+ margin : 0 ;
437+ font-size : 14px ;
438+ line-height : 1.55 ;
439+ color : # 5A5565 ;
440+ }
441+
433442.template-links {
434443 display : flex;
435- gap : 16px ;
444+ gap : 12px ;
445+ flex-wrap : wrap;
446+ justify-content : flex-end;
447+ align-self : start;
448+ grid-column : 3 ;
436449}
437450
438451.template-links a {
452+ display : inline-block;
453+ white-space : nowrap;
439454 font-size : 14px ;
440455 color : # 785D8F ;
441456 text-decoration : none;
@@ -720,6 +735,10 @@ body.dark .template-name {
720735 color : # e0e0e0 ;
721736}
722737
738+ body .dark .template-item > p {
739+ color : # b8b2c1 ;
740+ }
741+
723742body .dark .template-links a {
724743 color : # a88bc4 ;
725744}
@@ -1021,6 +1040,16 @@ body.dark details.faq-item .faq-answer code {
10211040 .footer-container {
10221041 padding : 24px ;
10231042 }
1043+
1044+ .template-item {
1045+ grid-template-columns : 1fr ;
1046+ gap : 10px ;
1047+ }
1048+
1049+ .template-links {
1050+ grid-column : 1 ;
1051+ justify-content : flex-start;
1052+ }
10241053}
10251054
10261055@media (max-width : 480px ) {
You can’t perform that action at this time.
0 commit comments