소스 검색

better formatting before js

Gregg Tavares 6 년 전
부모
커밋
70aec366bd
1개의 변경된 파일9개의 추가작업 그리고 0개의 파일을 삭제
  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;