Skip to content

Commit 39fa8c6

Browse files
authored
Homepage: Padding and spacing adjustments (#372)
Also removes unique styling for edge nodes in the sidebar
1 parent 80f3851 commit 39fa8c6

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

assets/css/v2/style.css

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@ nav {
987987

988988
.homepage {
989989
--content-max-width: 120rem;
990-
margin: 0 2rem;
990+
margin: 0 0.5rem;
991991
line-height: 1.5rem;
992992

993993
* {
@@ -998,12 +998,12 @@ nav {
998998
.homepage-section {
999999
display: grid;
10001000
grid-template-columns: repeat(auto-fit, minmax(0, 500px));
1001-
gap: 1.5rem;
1001+
gap: 1rem;
10021002

10031003
justify-content: center;
10041004
max-width: 100rem;
10051005
margin: 0 auto;
1006-
padding: 1rem;
1006+
padding: 2rem 1rem;
10071007

10081008
.headerlink {
10091009
cursor: default;
@@ -1017,10 +1017,6 @@ nav {
10171017
> * {
10181018
grid-column: 1 / -1;
10191019
}
1020-
1021-
> p {
1022-
grid-column: 1;
1023-
}
10241020
}
10251021
}
10261022

@@ -1513,7 +1509,7 @@ nav.sidebar.sidebar__mobile-open {
15131509
padding: var(--sidebar-item-padding-tb) var(--sidebar-item-padding-lr);
15141510
margin: 2px 0 2px 0;
15151511
border-radius: 5px 0 0 5px;
1516-
color: oklch(0 0 0 / 0.75);
1512+
color: oklch(var(--color-foreground));
15171513
text-decoration: none;
15181514
transition:
15191515
background-color 0.2s ease,

0 commit comments

Comments
 (0)