]> git.sesse.net Git - pr0n/blobdiff - files/pr0n-fullscreen.css
Through a fun set of hacks for the whole family (it's amazing that this should
[pr0n] / files / pr0n-fullscreen.css
index 3d964fc4084f6e800a7ac3a40bb9d302307e14db..8ea24bfbc384a096388de9dce8aae5f6c8fdd685 100644 (file)
@@ -11,40 +11,42 @@ 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;
 }
+img {
+       z-index: 1;
+}
 
 #previous {
        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;
+}
+#linkbg1, #linkbg2, #linkbg3 {
+       display: block;
+       position: absolute;
+       top: 0px;
+       right: 0px;
+       width: 100%;
+       height: 100%;
+       background-color: black;
 }
+#linkbg2 { z-index: -1; }
+#linkbg3 { z-index: -1; }
 
 #preload {
        position: absolute;