mbarsky 1 year ago
parent
commit
4721a83bd9
2 changed files with 5 additions and 3 deletions
  1. 4 2
      css/style.css
  2. 1 1
      functions/index.html

+ 4 - 2
css/style.css

@@ -1,10 +1,12 @@
 html,body{margin:0;padding:0}
-body{font: 76% arial,sans-serif;text-align:center}
+body{font: 76% arial,sans-serif;display:flex;}
+body{height: 100vh; width:100vw;justify-content:center;align-items:center}
 p{margin:0 10px 10px}
 a{padding:5px; }
 div#header{background-color:rgb(244,244,244);}
 div#header h1{height:80px;line-height:80px;margin:0;padding-left:10px;}
-div#container{text-align:left}
+div#container{text-align:left;padding:1em;}
+div#container{background:rgb(249,249,249);box-shadow:0 .5em 1em 0 rgba(0,0,0,0.1);}
 div#content p{line-height:1.4}
 div#navigation{background:rgb(251,229,214);}
 div#navigation ul{margin:15px 0; padding:0; }

+ 1 - 1
functions/index.html

@@ -18,7 +18,7 @@
   <button onclick="show_task()">Solve</button>
   <button onclick="show_hint()">Hint</button>
   <button onclick="show_solution()">Solution</button>
-  <button onclick="show_explanation()">Explanation</button>&nbsp;&nbsp;&nbsp;
+  <button onclick="show_explanation()">Explanation</button>
   <button id="completed" onclick="mark_completed()">Do not show again</button>
   </div>
  </div>