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 {
542
542
/* MARK: Homepage
543
543
*/
544
544
545
+ .grid-container .homepage {
546
+ grid-template-columns : 1fr ;
547
+ grid-template-areas :
548
+ "header"
549
+ "content"
550
+ "footer" ;
551
+ }
552
+
545
553
.homepage {
546
- margin : 0 2 rem ;
554
+ --content-max-width : 120 rem ;
547
555
548
556
.homepage-heading {
549
557
grid-column : 1 / -1 ;
@@ -556,32 +564,33 @@ nav {
556
564
display : grid;
557
565
grid-template-columns : repeat (auto-fit, minmax (120px , 500px ));
558
566
gap : 1.5rem ;
559
- padding : 1 rem ;
567
+
560
568
justify-content : center;
561
569
max-width : 98rem ;
562
570
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
+ }
563
581
564
582
.homepage-heading {
565
583
grid-column : 1 / -1 ;
566
584
margin : 1rem 0rem ;
567
585
}
568
586
}
569
587
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
-
579
588
/* Styling for items */
580
589
.homepage-item {
581
590
background : oklch (var (--color-background ));
582
591
border : 1px solid oklch (var (--color-codeblock-border ));
583
592
box-shadow : 3px 3px 0px oklch (var (--color-shadow ));
584
- height : 7 rem ;
593
+ min- height: 11 rem ;
585
594
padding : 1rem 2rem 2rem 2rem ;
586
595
display : flex;
587
596
flex-direction : column;
Original file line number Diff line number Diff line change 23
23
24
24
< div class ="sidebar__container ">
25
25
< 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 >
27
29
</ div >
28
30
< div class ="sidebar__content ">
29
31
< a class ="skip-link " href ="#maincontent "> Skip Navigation</ a >
34
36
"idPrefix" ""
35
37
) }}
36
38
</ div >
37
- </ div >
39
+ </ div >
You can’t perform that action at this time.
0 commit comments