Răsfoiți Sursa

fix no-js pre

Gregg Tavares 6 ani în urmă
părinte
comite
dc774f8298
1 a modificat fișierele cu 5 adăugiri și 0 ștergeri
  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 {