Skip to content

Commit

Permalink
Adjust nav border radius, improve theme selector
Browse files Browse the repository at this point in the history
  • Loading branch information
ator-dev committed May 13, 2024
1 parent 666d387 commit 02a666c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion main.css
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,13 @@ header > *, article > * {
white-space: nowrap;
background: var(--bg-nav-button);
border: 2px solid var(--border-header);
border-radius: 100px;
border-radius: 12px;
transition: background-color 100ms, border-color 100ms;
}

#header nav a[href^="#"] {
padding: 8px;
border-radius: 0;
}

#header nav a:hover {
Expand Down Expand Up @@ -199,7 +200,13 @@ header > *, article > * {
#header nav fieldset {
position: absolute;
width: 100%;
top: 140%;
left: 0;
box-sizing: border-box;
margin: 0;
padding: 0;
border: 2px solid var(--border-nav-button);
border-top: none;
background: var(--bg);
}

Expand All @@ -209,6 +216,8 @@ header > *, article > * {

#header nav fieldset label {
display: block;
margin-block: 2px;
margin-inline: 1px;
}

#header .logo-icon {
Expand Down

0 comments on commit 02a666c

Please sign in to comment.