From 52b5886eb258d3bc7bf62b683038f307d91556b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=AEnoisawe?= <3evasion@gmail.com> Date: Sun, 5 Nov 2017 13:46:32 +0100 Subject: Use border-right for the default separator --- style.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index ad59806..0051ebf 100644 --- a/style.css +++ b/style.css @@ -5,14 +5,18 @@ /* Content */ li:first-child:after { - content: '|'; + /*content: '|';*/ /*content: '\000BB';*/ /* For ยป arrows */ + content: ''; + border-right: 2px solid; + transition: border-right 50ms; } /* Hover effects */ ul:hover li:first-child:after { - font-weight: bolder; + /*font-weight: bolder;*/ + border-right: 4px solid; } @@ -97,6 +101,7 @@ li:hover, li:first-child { li:first-child:after { position: absolute; right: 0; + height: 1em; } li:first-child, h1 { -- cgit v1.2.1-18-gbd029