From 490db16a3b3a0468d501629de3bc670e2f2b31f9 Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Wed, 15 Apr 2020 09:01:17 -0600 Subject: [PATCH] Made the bars between menu items consistently spaced and a single bar --- static/stylesheet/style.less | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/static/stylesheet/style.less b/static/stylesheet/style.less index 940b549..4f0aa59 100644 --- a/static/stylesheet/style.less +++ b/static/stylesheet/style.less @@ -119,22 +119,21 @@ main { nav { text-align: center; text-transform: uppercase; - font-size: .72em; padding: 14px 0 14px 0; border-bottom: @nav-border-color 1px solid; + + // Need to use font-size of 0 so that whitespace between the tags + // doesn't have an affect on alignment. + font-size: 0; } nav, .translations { a { - padding: 0 4px 0 4px; - border-left: @nav-border-color 1px solid; + font-size: 12px; + padding: 0 4px; border-right: @nav-border-color 1px solid; } - :first-child { - border-left: none; - } - :last-child { border-right: none; }