Browse Source

Update prism styles

simov 9 years ago
parent
commit
82e3d9bdbf
1 changed files with 5 additions and 1 deletions
  1. 5 1
      css/prism.css

+ 5 - 1
css/prism.css

@@ -1,3 +1,4 @@
+/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+abap+actionscript+apacheconf+apl+applescript+asciidoc+aspnet+autoit+autohotkey+bash+basic+batch+c+brainfuck+bison+csharp+cpp+coffeescript+ruby+css-extras+d+dart+diff+docker+eiffel+elixir+erlang+fsharp+fortran+gherkin+git+glsl+go+groovy+haml+handlebars+haskell+haxe+http+icon+inform7+ini+j+jade+java+julia+keyman+kotlin+latex+less+lolcode+lua+makefile+markdown+matlab+mel+mizar+monkey+nasm+nginx+nim+nix+nsis+objectivec+ocaml+oz+parigp+parser+pascal+perl+php+php-extras+powershell+processing+prolog+puppet+pure+python+q+qore+r+jsx+rest+rip+roboconf+crystal+rust+sas+sass+scss+scala+scheme+smalltalk+smarty+sql+stylus+swift+tcl+textile+twig+typescript+verilog+vhdl+vim+wiki+yaml */
 /**
  * prism.js default theme for JavaScript, CSS and HTML
  * Based on dabblet (http://dabblet.com)
@@ -8,12 +9,13 @@ code[class*="language-"],
 pre[class*="language-"] {
     color: black;
     text-shadow: 0 1px white;
-    font-family: Consolas, Monaco, 'Andale Mono', monospace;
+    font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
     direction: ltr;
     text-align: left;
     white-space: pre;
     word-spacing: normal;
     word-break: normal;
+    word-wrap: normal;
     line-height: 1.5;
 
     -moz-tab-size: 4;
@@ -61,6 +63,7 @@ pre[class*="language-"] {
 :not(pre) > code[class*="language-"] {
     padding: .1em;
     border-radius: .3em;
+    white-space: normal;
 }
 
 .token.comment,
@@ -133,3 +136,4 @@ pre[class*="language-"] {
 .token.entity {
     cursor: help;
 }
+