]> git.sesse.net Git - pr0n/blobdiff - pr0n-fullscreen.css
Add Escape as a shortcut for closing fullscreen.
[pr0n] / pr0n-fullscreen.css
index cde61ee2140913a5dcc56a11d51ae44c8738163c..390ffdcb7d4ce4ad6c2027384b32b8b0dc20dc97 100644 (file)
@@ -1,12 +1,14 @@
+* {
+       margin: 0;
+       padding: 0;
+}
+
 body {
        background-color: black;
        color: white;
-       margin: 0;
-       padding: 0;
 }
 .container {
        text-align: center;
-/*     border: 1px solid red; */
 }
 img {
        vertical-align: middle;
@@ -24,22 +26,30 @@ img {
        right: 0px;
        z-index: 1;
 }
+#close {
+       position: absolute;
+       top: 0px;
+       right: 0px;
+       z-index: 1;
+}
+
 #preload {
        position: absolute;
-       left: -2px;
-       top: -2px;
+       left: -2000px;
+       top: -2000px;
        width: 1px;
-       height: 1px;
+       height: 1px; 
+/*     left: 10px;
+       top: 10px;
+       width: 20px;
+       height: 20px; */
 }
 
 /* IE5/6 madness */
-html
-{
+html {
        overflow: hidden;
 }
-
 body
 {
        height: 100%;
-       overflow: auto;
 }