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

# User Rev Content
1 root 1.1 body { background: white; color: black; }
2 root 1.6
3 root 1.2 a:link { color: #00f; }
4 root 1.4 a:visited { color: #008; }
5 root 1.1 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 root 1.6 border-collapse: separate;
21 root 1.1 background-position: 0px 0px;
22     background-repeat: no-repeat;
23     }
24 root 1.6 .map tr { width: 32px; height: 32px; margin: 0px; padding: 0px; }
25 root 1.1
26 root 1.6 .map td { width: 32px; height: 32px; margin: 0px; padding: 0px; border: 0px; }
27 root 1.9 .map td > div { padding: 3px; width: 26px; height: 26px; position: relative; }
28 root 1.6 .map td > div:hover { padding: 0px; border: 3px solid yellow; border-style: ridge; }
29 root 1.1
30 root 1.6 .c { display: none; }
31 root 1.1
32     .map div > div {
33     display: none;
34     position: absolute;
35     min-width: 40em;
36     font-size: 8pt;
37 root 1.10 line-height: 100%;
38 root 1.1 border: 0px;
39     background: #eee;
40     border: 3px solid yellow;
41     border-style: ridge;
42     padding: 4px;
43     }
44 root 1.4 .map td:hover div > div {
45     display: block;
46     position: absolute;
47     z-index: 1;
48 root 1.6 top: -3px;
49     left: 29px;
50 root 1.4 white-space: pre;
51 root 1.5 /* overflow: auto; # makes it impossible to move into the popup... */
52 root 1.4 }
53 root 1.1
54 root 1.11 .tilemap { table-layout: fixed; border: 2px solid #777; border-spacing: 0px; background: #faa; }
55 root 1.1 .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 root 1.12 .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 root 1.1 .footer { font-size: 8pt; border-top: 1px solid red; }
67    
68 root 1.13 .mapthumb { display: inline; max-height: 1em; }
69