Browse Source

fix front page

Gregg Tavares 7 years ago
parent
commit
56ad755727
2 changed files with 5 additions and 2 deletions
  1. 1 1
      threejs/lessons/resources/index.css
  2. 4 1
      threejs/lessons/resources/lesson.css

+ 1 - 1
threejs/lessons/resources/index.css

@@ -5,7 +5,7 @@ body {
 .lesson-main>* {
 .lesson-main>* {
     margin: 1em 0;
     margin: 1em 0;
 }
 }
-.background {
+iframe.background {
     position: fixed;
     position: fixed;
     width: 100vw;
     width: 100vw;
     height: 100vh;
     height: 100vh;

+ 4 - 1
threejs/lessons/resources/lesson.css

@@ -386,7 +386,10 @@ pre.prettyprint, code.prettyprint {
         font-size: 24px;
         font-size: 24px;
     }
     }
     iframe {
     iframe {
-        max-width: 95% !important;
+        max-width: 95%;
+    }
+    iframe.background {
+        max-width: 100%;
     }
     }
 }
 }