aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgutmet <me.git@gutmet.org>2020-05-09 14:35:47 +0200
committergutmet <me.git@gutmet.org>2020-05-09 14:35:47 +0200
commit464675146d173fa4000f117ac0454102c9085842 (patch)
treece86d6c1578b3b2c4f485f16f4ff4e9b3d66023c
parent2c9adcc4037d045542d5b159b2ba796a81581cbb (diff)
downloadwombat-464675146d173fa4000f117ac0454102c9085842.tar.gz
updated default css to include sane settings for tables and blockquotes
-rw-r--r--initer/styles.go40
1 files changed, 26 insertions, 14 deletions
diff --git a/initer/styles.go b/initer/styles.go
index bd3ad9c..cde38da 100644
--- a/initer/styles.go
+++ b/initer/styles.go
@@ -1,23 +1,23 @@
package initer
var defaultStyle string = `body {
- font-family: Arial,Helvetica,sans-serif;
- font-size : 12pt;
- max-width: 750px;
- margin-left: auto;
- margin-right: auto;
- background-color : black;
- color: #E8E8E8;
- text-align:justify;
- padding-left: 1em;
- padding-right: 1em;
+ font-family: Arial,Helvetica,sans-serif;
+ font-size : 12pt;
+ max-width: 750px;
+ margin-left: auto;
+ margin-right: auto;
+ background-color : black;
+ color: #E8E8E8;
+ text-align:justify;
+ padding-left: 1em;
+ padding-right: 1em;
}
a {
- color : #0D0;
+ color : #0D0;
}
a:hover {
- color : red;
+ color : red;
}
a.linktopost {
color: #E8E8E8;
@@ -27,7 +27,7 @@ a.categoryListing {
color: #E8E8E8;
}
img {
- max-width: 100%;
+ max-width: 100%;
}
div.blogpost {
padding-bottom: 50px;
@@ -38,6 +38,12 @@ div.blogpost img {
div.navigation {
padding-bottom: 0.5em;
}
+blockquote {
+ margin-left: 1em;
+ margin-right: 0;
+ padding-left: 1em;
+ border-left: 2px solid;
+}
video {
max-width: 50%;
}
@@ -48,7 +54,13 @@ pre {
overflow: auto;
}
h1, h2, h3, h4, h5, h6 {
- text-align: left;
+ text-align: left;
+}
+th {
+ padding-right: .5em;
+}
+td {
+ padding-right: .5em;
}
`