source: fcms/trunk/www/html/css/style.css@ 72

Last change on this file since 72 was 72, checked in by ktk, 18 years ago

background of left container is white again, looks better IMHO

File size: 3.7 KB
Line 
1/* Basic */
2html {
3 height: 100%;
4}
5
6body {
7 height: 100%;
8 margin: 0px;
9 text-align: center;
10 font-family: Arial, Helvetica, sans-serif;
11 color: #333;
12 background: url(/gfx/background.jpg) no-repeat fixed center top #fff;
13 font-size: 11px;
14}
15
16a {
17 text-decoration: none;
18}
19
20a:hover {
21 text-decoration: underline;
22}
23
24a>img {
25 border: 0;
26}
27
28/* title & logo */
29#topbar {
30 position: relative;
31 top: 0px;
32 width: 100%;
33 height: 94px;
34 background: url(/gfx/logo_top.png) no-repeat center top;
35}
36
37#container {
38 display: table;
39 width: 750px;
40 height: 450px;
41 min-height: 450px;
42 margin: 45px auto;
43}
44
45#container>div {
46 display: table-row;
47}
48
49div.leftContainer {
50 display: table-cell;
51 -moz-border-radius-bottomleft: 5px;
52 border-top: 2px solid #CCC;
53 border-left: 2px solid #CCC;
54 border-bottom: 2px solid #CCC;
55 background-color: #FFFFFF;
56}
57
58div.rightContainer {
59 display: table-cell;
60 -moz-border-radius-bottomright: 5px;
61 padding: 0px;
62 border-top: 2px solid #CCC;
63 border-right: 2px solid #CCC;
64 border-bottom: 2px solid #CCC;
65 /* background: #fff;*/
66 background: url(/gfx/newsback.png) repeat-x #8183a7;
67 width: 195px;
68}
69
70/* Navigation bar */
71#navbar {
72 position: absolute;
73 padding-left: 76px;
74 display: table;
75 margin: 32px auto;
76 height: 24px;
77}
78
79/* Match all divs and display them in a line */
80#navbar>div {
81 display: table-row;
82}
83
84/* Match all sub divs and set their background */
85#navbar>div>div {
86 background: url(/gfx/navback.png) repeat-x;
87}
88
89div.entry>a {
90 color: white;
91}
92
93/* class for entries in the menu bar */
94div.entry {
95 display: table-cell;
96 background: url(/gfx/navback.png) repeat-x;
97 padding: 3px 5px;
98 color: white;
99 font-weight: bold;
100 font-size: 13px;
101}
102
103/* This is needed to prevent the div from changing when hovering */
104div.entry:hover {
105 margin: 0px 5px 0px 5px;
106 padding: 0px 5px;
107}
108
109/* When the div is hovered, display the span in it */
110div.entry:hover span {
111 display: inline;
112 z-index: 5;
113 background-color: #AAA;
114 position: absolute;
115 margin-top: 20px;
116 border-color: #000;
117 border-style: solid;
118 border-width: 1px;
119 padding: 2px;
120}
121
122/* Default setting for the span: don't display */
123div.entry>span {
124 display: none;
125}
126
127#navbar>div>div.first {
128 display: table-cell;
129 background: url(/gfx/navleft.png) no-repeat;
130 width: 11px;
131}
132
133#navbar>div>div.last {
134 display: table-cell;
135 background: url(/gfx/navright.png) no-repeat;
136 width: 11px;
137}
138
139div#rightspace {
140 display: table-cell;
141 background: url(/gfx/navright.png) no-repeat;
142}
143
144#navbar>div>div.spacer {
145 display: table-cell;
146 background: url(/gfx/navspace.png) no-repeat;
147 width: 4px;
148 height: 24px;
149}
150
151/* Content */
152#content {
153 position: relative;
154 padding: 15px 10px 10px 10px;
155 text-align: left;
156}
157
158#content h1 {
159 font: 130% verdana, helvetica, arial, sans-serif;
160 color: #72789a;
161}
162
163#content h2 {
164 font: 115% verdana, helvetica, arial, sans-serif;
165 color: #72789a;
166}
167
168#content img {
169 z-index: 3;
170}
171
172#news {
173 position: relative;
174 padding: 10px;
175 text-align: left;
176}
177
178#news h1 {
179 background: url(/gfx/nupsies.png) no-repeat 0px 4px;
180 text-indent: 30px;
181 font: 13px verdana, helvetica, arial, sans-serif;
182 color: #dfe0f5;
183}
184
185/* Classes for two ul's, the second one is intended to be a sublist of the
186 first one. Maybe it can be used for the menu on the right */
187ul.ul_news_1 {
188 list-style-type: none;
189 margin: 0px;
190 padding: 0px;
191}
192
193ul.ul_news_2 {
194 border-width: 1px 0px 1px 0px;
195 border-style: dotted;
196 border-color: #CCC;
197 list-style-type: none;
198 margin: 1px 10px 1px 10px;
199 padding: 0px 0px;
200}
201
202ul.cattree {
203 list-style-type: none;
204 margin-left: 0px;
205 padding-left: 0px;
206}
207
208ul.cattree>li>a {
209 color: white;
210}
211
212/* news box right */
213span.news {
214 color: white;
215 padding-left: 15px;
216}
217
218ul.news {
219 list-style-type: none;
220 margin-top: 3px;
221 padding-left: 30px;
222}
223
224ul.news>li>a {
225 color: white;
226}
Note: See TracBrowser for help on using the repository browser.