updated default css to include sane settings for tables and blockquotes

This commit is contained in:
gutmet 2020-05-09 14:35:47 +02:00
parent 2c9adcc403
commit 464675146d

View File

@ -1,23 +1,23 @@
package initer package initer
var defaultStyle string = `body { var defaultStyle string = `body {
font-family: Arial,Helvetica,sans-serif; font-family: Arial,Helvetica,sans-serif;
font-size : 12pt; font-size : 12pt;
max-width: 750px; max-width: 750px;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
background-color : black; background-color : black;
color: #E8E8E8; color: #E8E8E8;
text-align:justify; text-align:justify;
padding-left: 1em; padding-left: 1em;
padding-right: 1em; padding-right: 1em;
} }
a { a {
color : #0D0; color : #0D0;
} }
a:hover { a:hover {
color : red; color : red;
} }
a.linktopost { a.linktopost {
color: #E8E8E8; color: #E8E8E8;
@ -27,7 +27,7 @@ a.categoryListing {
color: #E8E8E8; color: #E8E8E8;
} }
img { img {
max-width: 100%; max-width: 100%;
} }
div.blogpost { div.blogpost {
padding-bottom: 50px; padding-bottom: 50px;
@ -38,6 +38,12 @@ div.blogpost img {
div.navigation { div.navigation {
padding-bottom: 0.5em; padding-bottom: 0.5em;
} }
blockquote {
margin-left: 1em;
margin-right: 0;
padding-left: 1em;
border-left: 2px solid;
}
video { video {
max-width: 50%; max-width: 50%;
} }
@ -48,7 +54,13 @@ pre {
overflow: auto; overflow: auto;
} }
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
text-align: left; text-align: left;
}
th {
padding-right: .5em;
}
td {
padding-right: .5em;
} }
` `