# HG changeset patch # User Chris Eldredge # Date 1368478164 -3600 # Node ID 4d384cd08fc84aa1451ccf384acfd5f5fe5d29cf # Parent c90dd6006009c22450f06fda873f9c7935ef491d Fix border, margin and padding on file view. 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;