Clean up more css

This commit is contained in:
Logen Kain 2021-02-04 20:09:49 -05:00
parent 08bed070d4
commit e0755d5ff9
2 changed files with 14 additions and 8 deletions

View File

@ -15,7 +15,7 @@
<link rel="stylesheet" href="./my.css"> <link rel="stylesheet" href="./my.css">
</head> </head>
<body> <body>
<center><h1>Critical Sarcasm</h1></center> <center><h1 class="orange">Critical Sarcasm</h1></center>
<nav class="sitenav"> <nav class="sitenav">
<ul> <ul>
<li><a href="http://criticalsarcasm.com">Go Home</a></li> <li><a href="http://criticalsarcasm.com">Go Home</a></li>

20
my.css
View File

@ -6,14 +6,22 @@
* Date: 04-Feb-2020 * Date: 04-Feb-2020
*/ */
html{
font-size: 14px;
}
/* Reset styles */ /* Reset styles */
nav{ nav, ul{
border: 0; border: 0;
padding: 0; padding: 0;
margin: 0; margin: 0;
} }
ul {
list-style-type: none;
}
/* Main */ /* Main */
nav{ nav{
@ -22,18 +30,16 @@ nav{
body { body {
background-color: #000000; background-color: #000000;
padding-bottom: 3em;
} }
h1 { .orange {
color: orange; color: orange;
} }
h2 { h2, h3 {
color: #008000; color: #008000;
} }
h3 {
color: #008000;
}
li { li {
color: #006400; color: #006400;
@ -67,7 +73,7 @@ nav.sitenav.ul {
} }
nav.sitenav li { nav.sitenav li {
display: inline-block; display: inline-block;
font-size: 2em; font-size: 1.2em;
margin-left: 2em; margin-left: 2em;
} }
nav.sitenavigation a:link{ nav.sitenavigation a:link{