From 6365d4b5a9a28222c4b14237f53adb1bee367083 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 6 Jan 2020 21:33:51 +0100 Subject: Improve semanticity --- static/css/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'static/css') diff --git a/static/css/style.css b/static/css/style.css index 23c0912..76658fe 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -7,16 +7,16 @@ body { } /* header and footer areas */ -.menu { padding: 0; } -.menu li { display: inline-block; } -.article-meta, .menu a { +nav > ul { padding: 0; } +nav > ul > li { display: inline-block; } +article > header, nav > ul a { background: #eee; border-radius: 5px; padding: 5px; text-decoration: none; } -.menu, .article-meta, footer { text-align: center; } .terms { font-size: .9em; } +nav > ul, article > header, footer { text-align: center; } .title { font-size: 1.1em; } footer a { text-decoration: none; } hr { -- cgit 1.4.1