diff options
author | noisawe <3evasion@gmail.com> | 2017-11-05 20:13:56 +0100 |
---|---|---|
committer | noisawe <3evasion@gmail.com> | 2017-11-05 20:13:56 +0100 |
commit | 6233f79f14dc51c295dd053be4e02eccc85ec4bf (patch) | |
tree | cc79c11502331941e2be83bc2771a43b3976336e /style.css | |
parent | 95555006d995193dc4d07e9c571f0447d37d185e (diff) | |
download | iro-6233f79f14dc51c295dd053be4e02eccc85ec4bf.tar.gz |
More settings
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 42 |
1 files changed, 34 insertions, 8 deletions
@@ -1,4 +1,14 @@ /* + Spacing +*/ + +div { + --spacing: .25em; +} + + + +/* Separator */ @@ -10,7 +20,7 @@ li:first-child:after { content: ''; border-right: 2px solid; transition: border-right 50ms; - margin-right: .25em; + margin-right: var(--spacing); } /* Hover effects */ @@ -20,12 +30,29 @@ ul:hover li:first-child:after { border-right: 4px solid; } +/* Link separator */ + +div { + --link-separator: '|'; +} /* Colors */ +/* Background */ + +body { + background-color: #2a2a2a; +} + +/* Text */ + +div { + --text-color: white; +} + /* Heading */ h1 { @@ -72,7 +99,6 @@ li:first-child { body { font-family: 'Ubuntu Mono', sans-serif; - background-color: #2a2a2a; margin: 0; overflow: hidden; } @@ -89,7 +115,7 @@ a { } li { - color: white; + color: var(--text-color); display: inline-block; position: relative; font-size: 2em; @@ -115,14 +141,14 @@ li:first-child, h1 { } li:nth-child(2) { - margin-left: .25em; + margin-left: var(--spacing); } li:not(:first-child) + li:before { - content: '|'; - margin-left: .25em; - margin-right: .25em; - color: white; + content: var(--link-separator); + margin-left: var(--spacing); + margin-right: var(--spacing); + color: var(--text-color); } div { |