diff options
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 36 |
1 files changed, 27 insertions, 9 deletions
@@ -1,15 +1,34 @@ /* - Heading color + Separator */ -h1 { - color: #ffe28a; +/* Content */ + +li:first-child:after { + content: '|'; + /*content: '\000BB';*/ /* For ยป arrows */ +} + +/* Hover effects */ + +ul:hover li:first-child:after { + font-weight: bolder; } + + /* - Category colors + Colors */ +/* Heading */ + +h1 { + color: #ffe28a; +} + +/* Categories */ + ul:nth-child(1) { color: #ffbe4f; } @@ -30,6 +49,8 @@ ul:nth-child(5) { color: #9ed670; } + + /* For longest category name */ @@ -38,6 +59,8 @@ li:first-child { width: 4em; } + + /* Actual code */ @@ -74,11 +97,6 @@ li:hover, li:first-child { li:first-child:after { position: absolute; right: 0; - content: '|'; -} - -ul:hover li:first-child:after { - font-weight: bolder; } li:first-child, h1 { |