fix: nav menu active style (#1752)
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -31,14 +31,12 @@
|
||||
body {
|
||||
cursor: auto;
|
||||
margin: 0;
|
||||
text-underline-offset: 0.2rem;
|
||||
}
|
||||
|
||||
a {
|
||||
:not(.fmt a) {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
// button[type=submit],
|
||||
// input[type=submit] {
|
||||
// display: inline-block;
|
||||
@@ -153,6 +151,10 @@ main.container {
|
||||
.site-navbar {
|
||||
a {
|
||||
color: inherit;
|
||||
|
||||
&:focus {
|
||||
background-color: var(--pico-text-selection-color);
|
||||
}
|
||||
}
|
||||
|
||||
.site-name {
|
||||
@@ -284,6 +286,10 @@ main.container {
|
||||
color: var(--pico-muted-color);
|
||||
border-radius: 100px;
|
||||
text-decoration: none;
|
||||
|
||||
&:focus {
|
||||
background-color: var(--pico-text-selection-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -299,14 +305,6 @@ main.container {
|
||||
// Format
|
||||
.fmt {
|
||||
line-height: 1.6;
|
||||
|
||||
a {
|
||||
text-decoration: underline;
|
||||
text-decoration-color: var(--pico-underline);
|
||||
}
|
||||
pre, hr {
|
||||
margin-bottom: var(--pico-typography-spacing-vertical);
|
||||
}
|
||||
}
|
||||
|
||||
// Footer
|
||||
@@ -421,9 +419,13 @@ main.container {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
a:focus {
|
||||
background-color: var(--pico-text-selection-color);
|
||||
}
|
||||
|
||||
.prev {
|
||||
margin-right: auto;
|
||||
& a::before {
|
||||
a::before {
|
||||
content: "‹";
|
||||
margin-right: .25rem;
|
||||
}
|
||||
@@ -431,7 +433,7 @@ main.container {
|
||||
.next {
|
||||
margin-left: auto;
|
||||
text-align: right;
|
||||
& a::after {
|
||||
a::after {
|
||||
content: "›";
|
||||
margin-left: .25rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user