Skip to content

Commit

Permalink
Add centering CSS for images
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeearth committed Aug 16, 2019
1 parent 3194d95 commit 173d717
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions indices.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ func writeHtml(dir string) {
margin: auto;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 70%;
}
nav {
Expand Down Expand Up @@ -241,6 +244,9 @@ func writeHtml(dir string) {
margin: auto;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
max-width: 70%;
}
a {
Expand Down

0 comments on commit 173d717

Please sign in to comment.