From 7ad569d9a02829941c6c528a5d7ec5d884727a92 Mon Sep 17 00:00:00 2001 From: Elie Génard Date: Sun, 21 May 2017 14:31:08 +0100 Subject: Use semantic html in example --- data/example/css/default.css | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'data/example/css') diff --git a/data/example/css/default.css b/data/example/css/default.css index 6efd0dd..db71897 100644 --- a/data/example/css/default.css +++ b/data/example/css/default.css @@ -5,25 +5,17 @@ body { width: 600px; } -div#header { +header { border-bottom: 2px solid black; margin-bottom: 30px; padding: 12px 0px 12px 0px; } -div#logo a { - color: black; - float: left; - font-size: 18px; - font-weight: bold; - text-decoration: none; -} - -div#header #navigation { +nav { text-align: right; } -div#header #navigation a { +nav a { color: black; font-size: 18px; font-weight: bold; @@ -32,7 +24,7 @@ div#header #navigation a { text-transform: uppercase; } -div#footer { +footer { border-top: solid 2px black; color: #555; font-size: 12px; @@ -49,8 +41,16 @@ h2 { font-size: 20px; } -div.info { +article .header { color: #555; font-size: 14px; font-style: italic; } + +.logo a { + color: black; + float: left; + font-size: 18px; + font-weight: bold; + text-decoration: none; +} -- cgit v1.2.3