From 7f12225bcdba26ac2e31b2885373e83b469716b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=AEnoisawe?= <3evasion@gmail.com> Date: Sat, 4 Nov 2017 22:42:39 +0100 Subject: Extended settings --- style.css | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/style.css b/style.css index 08bbe21..e514909 100644 --- a/style.css +++ b/style.css @@ -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 { -- cgit v1.2.1-18-gbd029