4d384cd08fc8

Fix border, margin and padding on file view.
[view raw] [browse files]
author Chris Eldredge <celdredge@fool.com>
date Mon, 13 May 2013 21:49:24 +0100
parents c90dd6006009
children af6d0c8414f2
branches/tags (none)
files templates/static/markdown.css

Changes

diff -r c90dd6006009 -r 4d384cd08fc8 templates/static/markdown.css
--- a/templates/static/markdown.css	Mon May 13 17:02:02 2013 +0100
+++ b/templates/static/markdown.css	Mon May 13 21:49:24 2013 +0100
@@ -264,6 +264,12 @@
   font-size: 1.2em;
   font-family: monospace;
 }
+div.source pre {
+  padding: 0;
+  margin: 0;
+  background-color: inherit;
+  border: 0;
+}
   div.source div.parity0,
   div.source div.parity1 {
     padding: 1px;
@@ -282,6 +288,12 @@
 .linenr {
   color: #999;
   text-align: right;
+  -webkit-touch-callout: none;
+  -webkit-user-select: none;
+  -khtml-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
 }
 .lineno {
   text-align: right;