From cda11d6613f484b9e6321aef8b5d320e3c019df3 Mon Sep 17 00:00:00 2001 From: "G. Wade Johnson" Date: Wed, 30 Sep 2015 14:44:35 -0500 Subject: [PATCH] CSS format of the page. Not sure what font to use. The default sans-serif looks close, but not quite. --- top-nav-drill/main.css | 53 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/top-nav-drill/main.css b/top-nav-drill/main.css index 9d37c16..7f42763 100644 --- a/top-nav-drill/main.css +++ b/top-nav-drill/main.css @@ -3,3 +3,56 @@ } /*Put your code here*/ +body { + font: sans-serif; +} + +header { + background-color: #000; + color: #fff; +} + +header { + padding: 0.5em 0 0.5em 2em; +} + +header span { + font-weight: bold; + font-size: 200%; +} +header span a { + text-decoration: none; +} + +header a, header a:visited { + color: #fff; +} + +nav li, nav ul { + display: inline; + list-style-type: none; + font-size: 80%; + padding-left: 1em; +} + +nav { + display: inline; + float: right; + padding: 0.5em 2em; +} + +/* content */ +h1 { + border-bottom: solid #000 1px; +} + +.container > section { + width: 50%; + margin-left: auto; + margin-right: auto; + margin-top: 50px; +} + +footer { + border-top: solid #000 1px; +}