summaryrefslogtreecommitdiffstats
path: root/theme/stylesheets
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2014-04-25 17:48:31 +0200
committerSamy Pessé <samypesse@gmail.com>2014-04-25 17:48:31 +0200
commitc0521f0ec751cdd06e46e1f0170100b5317dfbcc (patch)
treefecc98b0dd2aa634eea165326ab463e03b259c67 /theme/stylesheets
parent83d8c16853a056ef34360150a805b2a7ac52dd4f (diff)
downloadgitbook-c0521f0ec751cdd06e46e1f0170100b5317dfbcc.zip
gitbook-c0521f0ec751cdd06e46e1f0170100b5317dfbcc.tar.gz
gitbook-c0521f0ec751cdd06e46e1f0170100b5317dfbcc.tar.bz2
Improve display of pre in markdown content
Diffstat (limited to 'theme/stylesheets')
-rwxr-xr-xtheme/stylesheets/book/markdown.less17
1 files changed, 2 insertions, 15 deletions
diff --git a/theme/stylesheets/book/markdown.less b/theme/stylesheets/book/markdown.less
index 73caf86..6232c5f 100755
--- a/theme/stylesheets/book/markdown.less
+++ b/theme/stylesheets/book/markdown.less
@@ -5,7 +5,7 @@
color:@page-color-2;
}
.book .book-body .page-wrapper .page-inner section.normal {
- padding: 25px;
+ padding: 25px 0px;
padding-top: 15px;
color:@page-color;
@@ -278,27 +278,14 @@
background: transparent;
}
- .highlight pre {
- color: hsl(204, 40%, 80%);
- background-color: hsl(204, 30%, 10%);
- border: 1px solid hsl(204, 30%, 10%);
- font-size: 16px;
- line-height: 1.5em;
- overflow: auto;
- padding: 20px;
- margin: 0 -20px;
- border-radius: 3px;
- }
-
pre {
color: hsl(204, 40%, 80%);
background-color: hsl(204, 30%, 10%);
border: 1px solid hsl(204, 30%, 10%);
- font-size: 16px;
+ font-size: inherit;
line-height: 1.5em;
overflow: auto;
padding: 20px;
- margin: 0 -20px;
border-radius: 3px;
}