From 9d53d8857eaa1c9405894a88ca75bc4657e42f35 Mon Sep 17 00:00:00 2001 From: msglm Date: Sat, 14 Jan 2023 05:31:48 -0600 Subject: Inital Commit --- .../Ch11_msglm/11.8.mybistro/11.8.bistro.css | 88 ++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css (limited to 'HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css') diff --git a/HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css b/HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css new file mode 100644 index 0000000..f5084fc --- /dev/null +++ b/HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css @@ -0,0 +1,88 @@ +* { box-sizing: border-box; } +body { font-family: Verdana, Arial, sans-serif; + background-color: #EAEAEA; + margin: 0; +} +#wrapper { + color: #000066; + background-color: #FFFFFF; + +} +header { font-family: Georgia, "Times New Roman", serif; + color: #00005D; + background-color: #869dc7; + background-image: url(11.8.lighthouselogo.jpg); + background-repeat: no-repeat; + margin-top: 0; + padding-bottom: 1em; + min-height: 120px; + height: auto; +} +header h1 { padding-left: 120px; + padding-top: 40px; + margin: 0; +} +header span { font-style: italic; + font-weight: bold; + font-size: 95%; + color: #FFFFFF; + padding-left: 30%; +} +nav { background-color: #00005D; + letter-spacing: 0.1em; + font-weight: bold; + padding-right: 2em; +} +nav ul { list-style-type: none; + margin: 0; +} + +nav li { padding: 0.5em; + display: inline-block; +} +nav a { text-decoration: none; + display: block; +} +nav a:link { color: #FFFFFF; } +nav a:visited { color: #EAEAEA; } +nav a:hover { color: #D3DBEB;} +main { background-color: #ffffff; + color: #000000; + padding: 10px 20px; + +} + +h2 { color: #869dc7; + font-family: arial, sans-serif; + margin: 5px; +} + + +footer {font-size:70%; + text-align: center; + padding: 10px; + clear: both; +} +header, main, nav, footer, figure, figcaption { display: block; } +@media (min-width: 600px) { + #wrapper { margin: auto; + width: 80%; } + header span { padding-left: 25%; } +} + +nav ul ul { + position: absolute; + background-color: #5564A0; + padding: 0; + display: none; +} +nav ul ul li { + border: 1px solid #00005D; + display: block; + width: 8em; + padding-left: 1em; + margin-left: 0; +} +nav li:hover ul { + display: block; +} -- cgit v1.2.3