Browse Source

add dos style

Gregg Tavares 5 years ago
parent
commit
3b289ee10a
1 changed files with 7 additions and 3 deletions
  1. 7 3
      threejs/lessons/resources/lesson.css

+ 7 - 3
threejs/lessons/resources/lesson.css

@@ -42,7 +42,7 @@ pre.prettyprint {
 pre.prettyprint li {
     white-space: pre;
 }
-pre.prettyprint code {
+pre.prettyprint code, .dos {
     color: #CCC;
     font-family: "Lucida Console", Monaco, monospace;
     display: block;
@@ -388,7 +388,7 @@ pre.prettyprint ul.modifiedlines li.lineadded {
 }
 
 
-pre.prettyprint, code.prettyprint {
+pre.prettyprint, code.prettyprint, .dos {
     color: #FFF;
     background: #222;
     border: 1px solid #000;
@@ -405,6 +405,10 @@ pre.prettyprint, code.prettyprint {
     width: calc(100% - 80px);
 }
 
+.dos {
+  line-height: 1;
+}
+
 pre.prettyprint.lighttheme, code.prettyprint.lighttheme {
     color: #222;
     background: #fff;
@@ -515,7 +519,7 @@ pre.prettyprint.lighttheme .fun { color: #900; }  /* function name */
   a {
     color: #56d3fd;
   }
-  pre.prettyprint, code.prettyprint {
+  pre.prettyprint, code.prettyprint, .dos {
     box-shadow: 10px 10px 0px #292929;
   }
   code {