Procházet zdrojové kódy

better formatting before js

Gregg Tavares před 6 roky
rodič
revize
70aec366bd
1 změnil soubory, kde provedl 9 přidání a 0 odebrání
  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;