aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2015-02-01 20:22:45 +0100
committerDavid Runge <david.runge@frqrec.com>2015-02-01 20:22:45 +0100
commit31de7918575f7bf941a40ac6450b99eaf393e23c (patch)
treefcc6b683a421c60b848ae31547914010f82065d4
parent59ddc3a63bc83dafb58bcd1dbd7981a71e7eb1d4 (diff)
downloadsleepmap-31de7918575f7bf941a40ac6450b99eaf393e23c.tar.gz
sleepmap-31de7918575f7bf941a40ac6450b99eaf393e23c.tar.bz2
sleepmap-31de7918575f7bf941a40ac6450b99eaf393e23c.tar.xz
sleepmap-31de7918575f7bf941a40ac6450b99eaf393e23c.zip
main.css: Prettifying the linenumbered codeblocks.
-rw-r--r--sleepmap-theme/static/css/main.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/sleepmap-theme/static/css/main.css b/sleepmap-theme/static/css/main.css
index 6eeea04..23474e2 100644
--- a/sleepmap-theme/static/css/main.css
+++ b/sleepmap-theme/static/css/main.css
@@ -425,3 +425,8 @@ li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#add-comment input[type='submit'] {float: right; margin: 0 .5em;}
#add-comment * {margin-bottom: .5em;}
+
+/* Make codeblocks look prettier */
+table.highlighttable tbody tr td{padding:0;}
+table.highlighttable tbody tr td div pre{margin:0;}
+td.linenos{width: 30px}