aboutsummaryrefslogtreecommitdiffhomepage
path: root/plugins/markdown/markdown.css
diff options
context:
space:
mode:
authorNicolas Danelon <nicolasdanelon@users.noreply.github.com>2016-02-19 09:58:01 -0300
committerNicolas Danelon <nicolasdanelon@users.noreply.github.com>2016-02-19 09:58:01 -0300
commit01abde4f1490434435f19c15c833bd58f551901e (patch)
tree76a72cffe16363259bbddcb25dd632908b461648 /plugins/markdown/markdown.css
parent64282b1499a48b3924741fa1349b8800b98947e6 (diff)
downloadShaarli-01abde4f1490434435f19c15c833bd58f551901e.tar.gz
Shaarli-01abde4f1490434435f19c15c833bd58f551901e.tar.zst
Shaarli-01abde4f1490434435f19c15c833bd58f551901e.zip
adding styles for code & pre tags
Diffstat (limited to 'plugins/markdown/markdown.css')
-rw-r--r--plugins/markdown/markdown.css29
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}