# HG changeset patch # User Nicholas Jillings # Date 1461747541 -3600 # Node ID b0b4d264d9a8a31d3d50959092365046f340e089 # Parent 9cf65a9360d246b03e7863534730549988116f35 Fix for #28. z-index properly managed and elements fixed diff -r 9cf65a9360d2 -r b0b4d264d9a8 css/core.css --- a/css/core.css Wed Apr 27 09:47:45 2016 +0100 +++ b/css/core.css Wed Apr 27 09:59:01 2016 +0100 @@ -41,8 +41,8 @@ background-color: #fff; border-radius: 10px; box-shadow: 0px 0px 50px #000; - z-index: 2; - position: absolute; + z-index: 10; + position: fixed; } div#popupContent { @@ -107,10 +107,10 @@ /* Specify any colouring during the test halt for pre/post questions */ background-color: rgba(0,0,0,0.5); /* Don't mess with this bit */ - z-index: 2; + z-index: 9; width: 100%; height: 100%; - position: absolute; + position: fixed; left: 0px; top: 0px; } diff -r 9cf65a9360d2 -r b0b4d264d9a8 index.html --- a/index.html Wed Apr 27 09:47:45 2016 +0100 +++ b/index.html Wed Apr 27 09:59:01 2016 +0100 @@ -66,7 +66,7 @@
  • Instructions
  • -