style tweaks
This commit is contained in:
+9
-14
@@ -166,7 +166,7 @@
|
|||||||
Ubuntu, Roboto, Noto, Segoe UI, Arial, sans-serif;
|
Ubuntu, Roboto, Noto, Segoe UI, Arial, sans-serif;
|
||||||
--font-size-1: 1rem;
|
--font-size-1: 1rem;
|
||||||
--font-size-2: 3rem;
|
--font-size-2: 3rem;
|
||||||
--font-size-base: clamp(90%, 1.4vw, 120%);
|
--font-size-base: clamp(15px, 1.4vw, 18px);
|
||||||
--font-weight-bold: 700;
|
--font-weight-bold: 700;
|
||||||
--font-weight-normal: 400;
|
--font-weight-normal: 400;
|
||||||
--line-height-base: 1.4;
|
--line-height-base: 1.4;
|
||||||
@@ -205,34 +205,29 @@
|
|||||||
justify-content: center;
|
justify-content: center;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 55rem;
|
max-width: 54rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.command {
|
.command {
|
||||||
color: var(--color-text-subtle);
|
color: var(--color-text-subtle);
|
||||||
display: flex;
|
display: flex;
|
||||||
|
gap: var(--space-1);
|
||||||
outline: 0;
|
outline: 0;
|
||||||
padding: var(--space-1);
|
padding: var(--space-1);
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
transition: color var(--transition-speed);
|
|
||||||
}
|
|
||||||
|
|
||||||
li:last-of-type > .command {
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
|
||||||
|
|
||||||
.command:hover {
|
|
||||||
color: var(--color-text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.key {
|
.key {
|
||||||
text-align: center;
|
transition: color var(--transition-speed);
|
||||||
width: 1ch;
|
}
|
||||||
|
|
||||||
|
.command:where(:focus, :hover) .key {
|
||||||
|
color: var(--color-text);
|
||||||
}
|
}
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
margin-left: var(--space-1);
|
color: var(--color-text);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<nav>
|
<nav>
|
||||||
|
|||||||
Reference in New Issue
Block a user