File tree Expand file tree Collapse file tree 2 files changed +25
-14
lines changed
Expand file tree Collapse file tree 2 files changed +25
-14
lines changed Original file line number Diff line number Diff line change @@ -542,8 +542,16 @@ nav {
542542/* MARK: Homepage
543543*/
544544
545+ .grid-container .homepage {
546+ grid-template-columns : 1fr ;
547+ grid-template-areas :
548+ "header"
549+ "content"
550+ "footer" ;
551+ }
552+
545553.homepage {
546- margin : 0 2 rem ;
554+ --content-max-width : 120 rem ;
547555
548556 .homepage-heading {
549557 grid-column : 1 / -1 ;
@@ -556,32 +564,33 @@ nav {
556564 display : grid;
557565 grid-template-columns : repeat (auto-fit, minmax (120px , 500px ));
558566 gap : 1.5rem ;
559- padding : 1 rem ;
567+
560568 justify-content : center;
561569 max-width : 98rem ;
562570 margin : 0 auto;
571+ padding-bottom : 2rem ;
572+
573+ a {
574+ color : oklch (var (--color-foreground ));
575+ text-decoration-color : oklch (var (--color-background ));
576+
577+ & : hover {
578+ text-decoration-color : oklch (var (--color-background ));
579+ }
580+ }
563581
564582 .homepage-heading {
565583 grid-column : 1 / -1 ;
566584 margin : 1rem 0rem ;
567585 }
568586 }
569587
570- a {
571- color : oklch (var (--color-foreground ));
572- text-decoration-color : oklch (var (--color-background ));
573-
574- & : hover {
575- text-decoration-color : oklch (var (--color-background ));
576- }
577- }
578-
579588 /* Styling for items */
580589 .homepage-item {
581590 background : oklch (var (--color-background ));
582591 border : 1px solid oklch (var (--color-codeblock-border ));
583592 box-shadow : 3px 3px 0px oklch (var (--color-shadow ));
584- height : 7 rem ;
593+ min- height: 11 rem ;
585594 padding : 1rem 2rem 2rem 2rem ;
586595 display : flex;
587596 flex-direction : column;
Original file line number Diff line number Diff line change 2323
2424< div class ="sidebar__container ">
2525 < div class ="sidebar__header ">
26- < img class ="sidebar__img " src ="{{ "/images/icons/NGINX-Docs-horiz-black-type.svg" | absURL }}" alt="NGINX Docs">
26+ < a href ="{{ .Site.BaseURL | relLangURL }} " alt ="NGINX Docs Home ">
27+ < img class ="sidebar__img " src ="{{ "/images/icons/NGINX-Docs-horiz-black-type.svg" | absURL }}" alt="NGINX Docs">
28+ </ a >
2729 </ div >
2830 < div class ="sidebar__content ">
2931 < a class ="skip-link " href ="#maincontent "> Skip Navigation</ a >
3436 "idPrefix" ""
3537 ) }}
3638 </ div >
37- </ div >
39+ </ div >
You can’t perform that action at this time.
0 commit comments