]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
adding styles for code & pre tags 490/head
authorNicolas Danelon <nicolasdanelon@users.noreply.github.com>
Fri, 19 Feb 2016 12:58:01 +0000 (09:58 -0300)
committerNicolas Danelon <nicolasdanelon@users.noreply.github.com>
Fri, 19 Feb 2016 12:58:01 +0000 (09:58 -0300)
plugins/markdown/markdown.css

index 6d666dcf35ce696d58ab518c07ce8d9ad9f24860..3c1b2aeb2bd90a414addb9dde31c3f63b88a8a69 100644 (file)
     margin-bottom: 0;
 }
 
+.markdown pre {
+    background-color: #eee;
+    padding: 4px 9px;
+    -webkit-border-radius: 5px;
+    -moz-border-radius: 5px;
+    border-radius: 5px;
+    overflow: auto;
+    box-shadow: 0 -1px 0 #e5e5e5,0 0 1px rgba(0,0,0,0.12),0 1px 2px rgba(0,0,0,0.24);
+}
+
+.markdown pre code {
+    color: black;
+    font-family: 'Consolas', 'Monaco', 'Andale Mono', monospace;
+    direction: ltr;
+    text-align: left;
+    white-space: pre;
+    word-spacing: normal;
+    word-break: normal;
+    line-height: 1.7;
+    font-size: 11.5px;
+    -moz-tab-size: 4;
+    -o-tab-size: 4;
+    tab-size: 4;
+    -webkit-hyphens: none;
+    -moz-hyphens: none;
+    -ms-hyphens: none;
+    hyphens: none;  
+}
+
 .md_help {
     color: white;
 }