diff options
author | noisawe <3evasion@gmail.com> | 2017-12-21 08:28:25 +0100 |
---|---|---|
committer | noisawe <3evasion@gmail.com> | 2017-12-21 08:28:31 +0100 |
commit | 074180782399888d4d6696f13cbf95818b40bf3f (patch) | |
tree | 8f28f5903a9c89c9a3a6aadfab67fd943181a593 /style.css | |
parent | 8fffbf34a88bcd82e5eac56a75f759187f8ebb9d (diff) | |
download | iro-074180782399888d4d6696f13cbf95818b40bf3f.tar.gz |
Simplified markup
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); |