diff options
author | Arthur <arthur@hoa.ro> | 2016-02-19 19:46:44 +0100 |
---|---|---|
committer | Arthur <arthur@hoa.ro> | 2016-02-19 19:46:44 +0100 |
commit | 6c3d6a31f413862941fe514e7167c04fe71ba1a7 (patch) | |
tree | 76a72cffe16363259bbddcb25dd632908b461648 | |
parent | 64282b1499a48b3924741fa1349b8800b98947e6 (diff) | |
parent | 01abde4f1490434435f19c15c833bd58f551901e (diff) | |
download | Shaarli-6c3d6a31f413862941fe514e7167c04fe71ba1a7.tar.gz Shaarli-6c3d6a31f413862941fe514e7167c04fe71ba1a7.tar.zst Shaarli-6c3d6a31f413862941fe514e7167c04fe71ba1a7.zip |
Merge pull request #490 from nicolasdanelon/patch-2
adding styles for code & pre tags
-rw-r--r-- | plugins/markdown/markdown.css | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/plugins/markdown/markdown.css b/plugins/markdown/markdown.css index 6d666dcf..3c1b2aeb 100644 --- a/plugins/markdown/markdown.css +++ b/plugins/markdown/markdown.css | |||
@@ -114,6 +114,35 @@ | |||
114 | margin-bottom: 0; | 114 | margin-bottom: 0; |
115 | } | 115 | } |
116 | 116 | ||
117 | .markdown pre { | ||
118 | background-color: #eee; | ||
119 | padding: 4px 9px; | ||
120 | -webkit-border-radius: 5px; | ||
121 | -moz-border-radius: 5px; | ||
122 | border-radius: 5px; | ||
123 | overflow: auto; | ||
124 | box-shadow: 0 -1px 0 #e5e5e5,0 0 1px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24); | ||
125 | } | ||
126 | |||
127 | .markdown pre code { | ||
128 | color: black; | ||
129 | font-family: 'Consolas', 'Monaco', 'Andale Mono', monospace; | ||
130 | direction: ltr; | ||
131 | text-align: left; | ||
132 | white-space: pre; | ||
133 | word-spacing: normal; | ||
134 | word-break: normal; | ||
135 | line-height: 1.7; | ||
136 | font-size: 11.5px; | ||
137 | -moz-tab-size: 4; | ||
138 | -o-tab-size: 4; | ||
139 | tab-size: 4; | ||
140 | -webkit-hyphens: none; | ||
141 | -moz-hyphens: none; | ||
142 | -ms-hyphens: none; | ||
143 | hyphens: none; | ||
144 | } | ||
145 | |||
117 | .md_help { | 146 | .md_help { |
118 | color: white; | 147 | color: white; |
119 | } | 148 | } |