Skip to content

Commit e8df9af

Browse files
committed
improve layout and background clarity
1 parent 67d51eb commit e8df9af

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

docs/styles.css

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,20 @@ main section[id],
108108
top: 0;
109109
z-index: 20;
110110
backdrop-filter: blur(18px);
111-
background: linear-gradient(180deg, rgba(8, 7, 18, 0.86), rgba(8, 7, 18, 0.5));
111+
background: rgba(8, 7, 18, 0.97);
112112
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
113+
overflow-x: clip;
113114
}
114115

115116
.nav-shell {
117+
position: relative;
116118
display: flex;
117119
align-items: center;
118120
justify-content: space-between;
119121
gap: 1rem;
120122
min-height: 86px;
121123
min-width: 0;
124+
overflow: visible;
122125
}
123126

124127
.brand {
@@ -1442,9 +1445,9 @@ main section[id],
14421445

14431446
.site-nav {
14441447
position: absolute;
1445-
top: calc(100% + 0.75rem);
1446-
right: 1rem;
1447-
left: 1rem;
1448+
top: calc(100% + 0.5rem);
1449+
right: 0;
1450+
left: 0;
14481451
display: none;
14491452
flex-direction: column;
14501453
align-items: stretch;

0 commit comments

Comments
 (0)