diff options
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -87,7 +87,7 @@ ul:nth-child(5) { Amount of chars in longest category name + 1 */ -li:first-child { +li { width: 8ch; } @@ -98,7 +98,7 @@ li:first-child { */ body { - font-family: 'Ubuntu Mono', sans-serif; + font-family: 'Ubuntu Mono', monospace; margin: 0; overflow-x: hidden; text-align: center; @@ -119,7 +119,7 @@ ul { padding-left: 0; } -li { +li, a { color: var(--text-color); display: inline-block; position: relative; @@ -128,17 +128,17 @@ li { transition: color 200ms; } -li:hover, li:first-child { +a:hover, li { color: inherit; } -li:first-child:after { +li:after { position: absolute; right: 0; height: 1em; } -li:first-child, h1 { +li, h1 { pointer-events: none; -webkit-user-select: none; -moz-user-select: none; @@ -146,11 +146,11 @@ li:first-child, h1 { user-select: none; } -li:nth-child(2) { - margin-left: var(--spacing); +li { + margin-right: var(--spacing); } -li:not(:first-child) + li:before { +a + a:before { content: var(--link-separator); margin-left: var(--spacing); margin-right: var(--spacing); |