Sfoglia il codice sorgente

better formatting before js

Gregg Tavares 6 anni fa
parent
commit
70aec366bd
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  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;