Browse Source

fix no-js pre

Gregg Tavares 6 năm trước cách đây
mục cha
commit
dc774f8298
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  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 {