summaryrefslogtreecommitdiffstats
path: root/style.css
diff options
context:
space:
mode:
author‮noisawe <3evasion@gmail.com>2017-12-21 08:28:25 +0100
committer‮noisawe <3evasion@gmail.com>2017-12-21 08:28:31 +0100
commit074180782399888d4d6696f13cbf95818b40bf3f (patch)
tree8f28f5903a9c89c9a3a6aadfab67fd943181a593 /style.css
parent8fffbf34a88bcd82e5eac56a75f759187f8ebb9d (diff)
downloadiro-074180782399888d4d6696f13cbf95818b40bf3f.tar.gz
Simplified markup
Diffstat (limited to 'style.css')
-rw-r--r--style.css18
1 files changed, 9 insertions, 9 deletions
diff --git a/style.css b/style.css
index 8b34f27..a5b2b05 100644
--- a/style.css
+++ b/style.css
@@ -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);