Jelajahi Sumber

fix no-js pre

Gregg Tavares 6 tahun lalu
induk
melakukan
dc774f8298
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  1. 5 0
      threejs/lessons/resources/lesson.css

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

@@ -42,6 +42,11 @@ pre.prettyprint {
 pre.prettyprint li {
     white-space: pre;
 }
+pre.prettyprint code {
+    color: #CCC;
+    font-family: "Lucida Console", Monaco, monospace;
+    display: block;
+}
 
 /* to handle long words in paragraph */
 p code {