ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cfmaps/common.css
Revision: 1.13
Committed: Fri Oct 23 05:01:02 2009 UTC (14 years, 6 months ago) by root
Content type: text/css
Branch: MAIN
CVS Tags: HEAD
Changes since 1.12: +2 -0 lines
Log Message:
support map thumbnails

File Contents

# Content
1 body { background: white; color: black; }
2
3 a:link { color: #00f; }
4 a:visited { color: #008; }
5 a:hover { color: #800; }
6 a:active { color: #f00; }
7
8 img { display: block; }
9
10 .nav { border-spacing: 0px; margin: 10px; padding: 0px; }
11 .nav td { margin: 0px; padding: 0px; border: 0px; }
12 .thumb { border: 3px solid yellow; padding: 0px; }
13 .tile { border: 3px solid blue; }
14 .tile:hover { border: 3px solid yellow; }
15
16 .map {
17 table-layout: fixed;
18 border: 2px solid #777;
19 border-spacing: 0px;
20 border-collapse: separate;
21 background-position: 0px 0px;
22 background-repeat: no-repeat;
23 }
24 .map tr { width: 32px; height: 32px; margin: 0px; padding: 0px; }
25
26 .map td { width: 32px; height: 32px; margin: 0px; padding: 0px; border: 0px; }
27 .map td > div { padding: 3px; width: 26px; height: 26px; position: relative; }
28 .map td > div:hover { padding: 0px; border: 3px solid yellow; border-style: ridge; }
29
30 .c { display: none; }
31
32 .map div > div {
33 display: none;
34 position: absolute;
35 min-width: 40em;
36 font-size: 8pt;
37 line-height: 100%;
38 border: 0px;
39 background: #eee;
40 border: 3px solid yellow;
41 border-style: ridge;
42 padding: 4px;
43 }
44 .map td:hover div > div {
45 display: block;
46 position: absolute;
47 z-index: 1;
48 top: -3px;
49 left: 29px;
50 white-space: pre;
51 /* overflow: auto; # makes it impossible to move into the popup... */
52 }
53
54 .tilemap { table-layout: fixed; border: 2px solid #777; border-spacing: 0px; background: #faa; }
55 .tilemap * { border-style: none; border: 0px; margin: 0px; padding: 0px; }
56
57 .tilemap td { width: 50px; height: 50px; }
58 .tilemap img:hover { margin: 2px; width: 46px; height: 46px; opacity: 0.8; }
59
60 .center { vertical-align: middle; }
61 .title { padding-right: 3em; }
62 .big { font-size: 18pt; }
63 .about { font-size: 8pt; }
64 .m { white-space: pre; margin-left: 32px; width: auto; background: #ddd; padding: 2px; border: 1px solid black; }
65 .i { white-space: pre; margin-left: 32px; width: auto; background: #ddd; padding: 2px; border: 1px solid black; font-size: 50%; }
66 .footer { font-size: 8pt; border-top: 1px solid red; }
67
68 .mapthumb { display: inline; max-height: 1em; }
69