]> git.sesse.net Git - pr0n/blobdiff - files/pr0n-fullscreen.css
Add an overflow/options/hamburger menu to download the original file, and also turn...
[pr0n] / files / pr0n-fullscreen.css
index 3d964fc4084f6e800a7ac3a40bb9d302307e14db..16d52088f109908d767c9495569fe9ddcbd82973 100644 (file)
@@ -11,18 +11,6 @@ body {
        text-align: center;
 }
 
-/* IE centering hacks */
-#iehack {
-       position: absolute;
-       _top: 50%;
-       _left: 50%;
-}
-#image {
-       _position: relative;
-       _top: -50%;
-       _left: -50%;
-}
-
 img, #text {
        vertical-align: middle;
 }
@@ -31,22 +19,47 @@ img, #text {
        position: absolute;
        bottom: 0px;
        left: 0px;
-       z-index: 1;
+       z-index: 2;
 }
 #next {
        position: absolute;
        bottom: 0px;
        right: 0px;
-       z-index: 1;
+       z-index: 2;
 }
 #close {
        position: absolute;
        top: 0px;
        right: 0px;
-       z-index: 1;
+       z-index: 2;
+}
+#options {
+       position: absolute;
+       top: 0px;
+       left: 0px;
+       z-index: 2;
+}
+#optionmenu {
+       display: none;
+       position: absolute;
+       top: 50px;
+       left: 0px;
+       z-index: 2;
+       background-color: white;
+       color: black;
+       font-family: sans-serif;
+       padding: 5px;
+       margin-left: 2px;
+       border: 1px solid black;
+       opacity: 0.7;
+       line-height: 1.5em;
+}
+#optionmenu a {
+       color: black;
+       text-decoration: none;
 }
 
-#preload {
+#preload, #preload_box {
        position: absolute;
        left: -2000px;
        top: -2000px;