Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/web/www/routino/maplayout.css

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1040 - (show annotations) (download) (as text)
Fri Aug 3 19:18:32 2012 UTC (12 years, 7 months ago) by amb
File MIME type: text/css
File size: 1787 byte(s)
Force the font size in pixels and adjust the table width so that user
browser preferences don't destroy layout (using small or large font).

1 /*
2 // Routino map layout web page style sheet.
3 //
4 // Part of the Routino routing software.
5 //
6 // This file Copyright 2008-2012 Andrew M. Bishop
7 //
8 // This program is free software: you can redistribute it and/or modify
9 // it under the terms of the GNU Affero General Public License as published by
10 // the Free Software Foundation, either version 3 of the License, or
11 // (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 // GNU Affero General Public License for more details.
17 //
18 // You should have received a copy of the GNU Affero General Public License
19 // along with this program. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22
23 /*----------------------------------*/
24 /* Body HTML formatting */
25 /*----------------------------------*/
26
27 BODY
28 {
29 /* fonts and text styles */
30
31 font-family: sans-serif;
32 font-size: 12px;
33
34 /* colours */
35
36 background-color: white;
37 color: black;
38 }
39
40
41 /*------------*/
42 /* Left panel */
43 /*------------*/
44
45 DIV.left_panel
46 {
47 width: 23em;
48
49 position: absolute;
50 top: 0;
51 bottom: 0;
52 right: auto;
53 left: 0;
54
55 padding: 3px;
56 }
57
58
59 /*-------------*/
60 /* Right panel */
61 /*-------------*/
62
63 DIV.right_panel
64 {
65 position: fixed;
66 top: 0;
67 bottom: 0;
68 right: 0;
69 left: 23.5em;
70 }
71
72 DIV.map
73 {
74 position: absolute;
75 top: 0;
76 bottom: 1.5em;
77 right: 0;
78 left: 0;
79
80 border: 3px solid;
81
82 text-align: center;
83 }
84
85 DIV.attribution
86 {
87 position: absolute;
88 top: auto;
89 bottom: 0;
90 right: 0;
91 left: 0;
92
93 margin: 0px;
94 border: 0px;
95 padding: 0px;
96
97 text-align: center;
98
99 white-space: nowrap;
100 overflow: hidden;
101 }