]> git.sesse.net Git - pr0n/blob - files/pr0n-fullscreen.css
In fullscreen mode, avoid an extra HTTP round-trip to re-validate the preloaded image.
[pr0n] / files / pr0n-fullscreen.css
1 * {
2         margin: 0;
3         padding: 0;
4 }
5
6 body {
7         background-color: black;
8         color: white;
9 }
10 .container {
11         text-align: center;
12 }
13
14 img, #text {
15         vertical-align: middle;
16 }
17
18 #previous {
19         position: absolute;
20         bottom: 0px;
21         left: 0px;
22         z-index: 2;
23 }
24 #next {
25         position: absolute;
26         bottom: 0px;
27         right: 0px;
28         z-index: 2;
29 }
30 #close {
31         position: absolute;
32         top: 0px;
33         right: 0px;
34         z-index: 2;
35 }
36
37 #preload, #preload_box {
38         position: absolute;
39         left: -2000px;
40         top: -2000px;
41         width: 1px;
42         height: 1px; 
43 /*      left: 10px;
44         top: 10px;
45         width: 20px;
46         height: 20px; */
47 }
48
49 /* IE5/6 madness */
50 html {
51         overflow: hidden;
52 }
53 body
54 {
55         height: 100%;
56 }