Permalink
Browse files

Add github-style backgrounds to code blocks

  • Loading branch information...
Joe Hillenbrand
Joe Hillenbrand committed May 21, 2014
1 parent 72c0173 commit 7d95fe2440ef78bdb238d857e2507c360c747949
Showing with 2 additions and 1 deletion.
  1. +2 −1 data/static/css/screen.css
@@ -106,7 +106,8 @@ div#categoryList { padding: 0em; margin: 1em 0 0 0; border: 1px dashed #ccc; }
.search_result { margin-bottom: 15px; }
.search_result .match { margin-bottom: 15px; }
code { font-size: 93%; }
pre>code { display: block; padding: 0.7em 1em; }
code { font-size: 93%; background-color: #f8f8f8; border: 1px solid #ddd; overflow: auto; border-radius: 0.2em; }
pre.matches { margin: 0; padding: 0; }
#pattern { background-color: yellow; font-weight: bold; }
pre.matches span.highlighted { background-color: yellow; }

0 comments on commit 7d95fe2

Please sign in to comment.