Further update article style.

This commit is contained in:
Drew Galbraith 2023-12-06 18:40:00 -08:00
parent 79093544d1
commit c49b3b7bb9
3 changed files with 34 additions and 47 deletions

View file

@ -1,22 +0,0 @@
body {
color: #222;
font-family: sans-serif;
line-height: 1.5;
margin: 1rem;
max-width: 768px;
}
header {
border-bottom: 1px solid #222;
margin-bottom: 1rem;
}
footer {
border-top: 1px solid #222;
margin-top: 1rem;
}
a {
color: #00e;
text-decoration: none;
}

View file

@ -7,30 +7,6 @@ body {
margin: auto;
}
.date {
font-style: italic;
}
img {
max-width: 100%;
max-height: 500px;
}
.center-img img {
display: block;
margin-left: auto;
margin-right: auto;
}
figcaption {
text-align: center;
font-style: italic;
}
h2 {
border-bottom: 1px solid #000;
}
header {
display: flex;
align-items: center;
@ -57,3 +33,36 @@ nav li {
nav li:hover {
background-color: #eee;
}
main {
margin-top: 50px;
}
h1 {
margin-bottom: 5px;
}
.date {
font-style: italic;
}
img {
max-width: 100%;
max-height: 500px;
}
.center-img img {
display: block;
margin-left: auto;
margin-right: auto;
}
figcaption {
text-align: center;
font-style: italic;
}
h2 {
border-bottom: 1px solid #000;
}