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">
</head>
<body>
<center><h1>Critical Sarcasm</h1></center>
<center><h1 class="orange">Critical Sarcasm</h1></center>
<nav class="sitenav">
<ul>
<li><a href="http://criticalsarcasm.com">Go Home</a></li>

20
my.css
View File

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