Explorar o código

better formatting before js

Gregg Tavares %!s(int64=6) %!d(string=hai) anos
pai
achega
70aec366bd
Modificáronse 1 ficheiros con 9 adicións e 0 borrados
  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;