Browse Source

better formatting before js

Gregg Tavares 6 years ago
parent
commit
70aec366bd
1 changed files with 9 additions and 0 deletions
  1. 9 0
      threejs/lessons/resources/lesson.css

+ 9 - 0
threejs/lessons/resources/lesson.css

@@ -16,6 +16,15 @@ table {
     margin-top: 1em;
     margin-bottom: 1em;
 }
+
+pre {
+  background: #CCC;
+  padding: 1em;
+}
+pre>code {
+  white-space: inherit;
+  background: none;
+}
 pre.prettyprint {
     margin-top: 2em !important;
     margin-bottom: 2em !important;