summaryrefslogtreecommitdiff
path: root/blog/blogext.css
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2019-05-08 00:29:22 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2019-05-08 00:29:22 +0800
commit711772fa5ae637371e126a1bdf794f8aefa441dc (patch)
treef293cb0d6341c4ed4b9e3ecc060c719225d6b94d /blog/blogext.css
parent9718a3892c1d3ecbcab1409965ac55ed8ab1b388 (diff)
downloadweb-711772fa5ae637371e126a1bdf794f8aefa441dc.tar.xz
New posts & new styles.
Diffstat (limited to 'blog/blogext.css')
-rw-r--r--blog/blogext.css14
1 files changed, 14 insertions, 0 deletions
diff --git a/blog/blogext.css b/blog/blogext.css
index 7b6916c..9048a49 100644
--- a/blog/blogext.css
+++ b/blog/blogext.css
@@ -53,6 +53,20 @@ blockquote {
padding: 1em;
margin-left:4em;margin-right:4em;
}
+pre code {
+ background:none !important;
+ border:none !important;
+}
+pre {
+ background:rgba(128,128,128,0.4);
+ border:1px rgba(128,128,128,0.4) solid;
+ padding:4px;
+}
+code {
+ font-family:'CMU Typewriter Text w', 'CMU Typewriter Text', 'TeX Gyre Cursor', 'FreeMono', 'Courier New', Courier, monospace;
+ background:rgba(128,128,128,0.4);
+ border:1px rgba(128,128,128,0.4) solid;
+}
.rightaligned {
text-align: right;
}