From d2b05d23773c28c5eeb6bd301ef4188415637838 Mon Sep 17 00:00:00 2001 From: Robert Lude Date: Thu, 22 Jan 2015 09:57:57 -0500 Subject: [PATCH] solved --- top-nav-drill/main.css | 57 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) diff --git a/top-nav-drill/main.css b/top-nav-drill/main.css index 9d37c16..43896e2 100644 --- a/top-nav-drill/main.css +++ b/top-nav-drill/main.css @@ -2,4 +2,59 @@ margin: 0 auto; } -/*Put your code here*/ +.container > header { + background: black; + clear: both; + overflow: auto; +} + +.container > header > span { + font-size: 20pt; + float: left; + font-weight: bold; + margin: 0.5em 1em; +} + +.container > header > nav ul { + list-style-type: none; + float: right; + margin-right: 1em; +} + +.container > header > nav ul li { + display: inline-block; + margin: 0.25em; +} + +.container > header a { + color: white; + text-decoration: none; +} + +.container > section { + width: 900px; + margin: 0 auto; +} + +.container > section > h1 { + border-bottom: 1px solid #ccc; + padding-bottom: 0.15em; +} + +.container > section > footer { + width: 100%; + border-top: 1px solid #ccc; + padding-top: 0.15em; +} + +.container > section > section { + margin-bottom: 1.5em; +} + +.container > section > section > h2 { + margin: 0.5em 0; +} + +.container > section > section > p { + margin: 0.5em 0; +}