diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-25 13:26:16 +0000 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-25 13:26:16 +0000 |
| commit | 8e32c978e06321439d10146fb60c1ecdf08ffdc4 (patch) | |
| tree | 7d7bc6cf95b958a01de761f8546dd5684282d2a3 | |
| parent | faf099087fe28be73d26d43832bbd88b68f7e5a6 (diff) | |
| download | dirty-haskell.org-8e32c978e06321439d10146fb60c1ecdf08ffdc4.tar dirty-haskell.org-8e32c978e06321439d10146fb60c1ecdf08ffdc4.tar.gz dirty-haskell.org-8e32c978e06321439d10146fb60c1ecdf08ffdc4.tar.bz2 dirty-haskell.org-8e32c978e06321439d10146fb60c1ecdf08ffdc4.tar.xz dirty-haskell.org-8e32c978e06321439d10146fb60c1ecdf08ffdc4.zip | |
Better inline code highlighting
| -rw-r--r-- | provider/css/default.css | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/provider/css/default.css b/provider/css/default.css index adc3f17..f2f793f 100644 --- a/provider/css/default.css +++ b/provider/css/default.css | |||
| @@ -73,6 +73,11 @@ footer p, footer p:last-of-type { | |||
| 73 | display:inline; | 73 | display:inline; |
| 74 | } | 74 | } |
| 75 | 75 | ||
| 76 | p .sourceCode, p code { | ||
| 77 | border-bottom:2px solid #f0f0f0; | ||
| 78 | margin-bottom:-2px; | ||
| 79 | } | ||
| 80 | |||
| 76 | div.sourceCode { | 81 | div.sourceCode { |
| 77 | padding-left:1.5em; | 82 | padding-left:1.5em; |
| 78 | border-left:2px solid #f0f0f0; | 83 | border-left:2px solid #f0f0f0; |
| @@ -81,8 +86,4 @@ div.sourceCode { | |||
| 81 | 86 | ||
| 82 | pre code { | 87 | pre code { |
| 83 | white-space:pre-wrap; | 88 | white-space:pre-wrap; |
| 84 | } | ||
| 85 | |||
| 86 | p code { | ||
| 87 | font-style:italic; | ||
| 88 | } \ No newline at end of file | 89 | } \ No newline at end of file |
