diff options
author | msglm <msglm@techchud.xyz> | 2023-01-14 05:31:48 -0600 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2023-01-14 05:31:48 -0600 |
commit | 9d53d8857eaa1c9405894a88ca75bc4657e42f35 (patch) | |
tree | eb1efc1d028b949dd83bb710c68be8eff58f26e7 /HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css | |
download | school-code-9d53d8857eaa1c9405894a88ca75bc4657e42f35.tar.gz school-code-9d53d8857eaa1c9405894a88ca75bc4657e42f35.tar.bz2 school-code-9d53d8857eaa1c9405894a88ca75bc4657e42f35.zip |
Diffstat (limited to 'HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css')
-rw-r--r-- | HTML/Chapter/Ch. 11 hands-on assignments/Ch11_msglm/11.8.mybistro/11.8.bistro.css | 88 |
1 files changed, 88 insertions, 0 deletions
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;
+}
|