Rework xnet skin :
[platal.git] / htdocs.net / css / xnet.css
1 /***************************************************************************
2 * Copyright (C) 2003-2006 Polytechnique.org *
3 * http://opensource.polytechnique.org/ *
4 * *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
9 * *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the Free Software *
17 * Foundation, Inc., *
18 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA *
19 ***************************************************************************/
20
21 body {
22 background-color: #F2E9D0;
23 margin-left: 0;
24 margin-top: 0;
25 color: #505050;
26 border-top: 1px;
27 }
28
29 table, body {
30 font-size: 10pt;
31 font-family: "Bitstream vera sans","Verdana",sans-serif;
32 }
33
34 input,textarea,select,option {
35 font-size: 9pt;
36 }
37
38 tt,pre {
39 font-size: 10pt;
40 }
41
42 a, a:link, a:visited { text-decoration: none ; color: #5c81aa; }
43
44 a img { border: none; }
45 img { vertical-align: middle; }
46 td { vertical-align: top; }
47
48 h1 { font-size: 130%; }
49 h2 { font-size: 115%; }
50
51 /***************************************************************************
52 * DEBUG
53 ***************************************************************************/
54
55 #dev {
56 width: 100%;
57 text-align: center;
58 padding: 1px;
59
60 font-size: 10pt;
61 font-weight: bold;
62 }
63
64 #db-trace div.hide { display: none; }
65 #db-trace:hover div.hide { display: block }
66 #db-trace h1 { margin: 0px; }
67
68 /***************************************************************************
69 * LAYOUT
70 ***************************************************************************/
71
72 table#layout {
73 width: 765px;
74 margin-left: auto;
75 margin-right: auto;
76 }
77
78 #top {
79 width: 765px;
80 }
81
82 #top td {
83 padding: 0;
84 margin: 0;
85 vertical-align: middle;
86 }
87
88 #top td.logo {
89 text-align: right;
90 }
91
92 td#credits {
93 text-align: center;
94 font-size: 90%;
95 font-weight: bold;
96 }
97
98 td#perso div {
99 font-weight: bold;
100 font-size: 90%;
101 padding: 2px 1em;
102 }
103
104 td#perso a.gp {
105 display: block;
106 margin: 2px 1em;
107 font-weight: bold;
108 font-size: 85%;
109 float: left;
110 text-align: center;
111 }
112
113 td#search {
114 text-align: right;
115 width: 300px;
116 }
117
118 #content {
119 width: 100%;
120 }
121
122 td#menu {
123 width: 130px;
124 padding-right: 1em;
125 font-family: "Trebuchet MS", "Arial",sans-serif;
126 font-weight: bold;
127 }
128
129 #menu h1 {
130 padding: 0.5em 0em 0.8em 0em;
131 font-size: 85%;
132 text-align: center;
133 width: 130px;
134 background: url('../images/barre.png') bottom left no-repeat;
135 }
136
137 #menu a {
138 display: block;
139 padding: 0.2em 0em 0.2em 15px;
140 font-size: 85%;
141 background: url('../images/puce.png') no-repeat center left;
142 }
143
144 /***************************************************************************
145 * CLASSES
146 ***************************************************************************/
147
148 div.breadcrumb {
149 font-weight: bold;
150 font-size: 90%;
151 padding: 0.5em 0em;
152 }
153
154 .erreur { color: red !important; }
155 .error { color: red !important; }
156 .center { text-align: center; }
157 .right { text-align: right; }
158
159 .descr {
160 text-align: justify;
161 font-size: 90%;
162 }
163 p.descr {
164 padding-left: 7px;
165 padding-right: 7px;
166 }
167
168 table { border-collapse: collapse; }
169
170 table.links {
171 width: 100%;
172 margin: 0.4em 0em;
173 }
174
175 table.links td {
176 padding: 0em 0.5em;
177 }
178
179 table.links a {
180 background: url('../images/puce.png') no-repeat center left;
181 padding-left: 15px;
182 font-weight: bold;
183 }
184
185 table td.titre {
186 font-weight: bold;
187 white-space: nowrap;
188 }
189
190 table.tiny, table.tinybicol {
191 width: 70%;
192 margin-left: 15%;
193 border: 2px solid gray;
194 font-size: 85%;
195 }
196 table.large, table.bicol {
197 width: 96%;
198 margin-left: 2%;
199 border: 2px solid gray;
200 font-size: 85%;
201 }
202
203 table.tiny td, table.tinybicol td, table.large td, table.bicol td {
204 border: 1px solid gray;
205 padding: 2px 4px;
206 }
207 table.tiny th, table.tinybicol th, table.large th, table.bicol th {
208 border: 1px solid gray;
209 border-top-width: 2px;
210 border-bottom-width: 2px;
211 padding: 2px;
212 }
213
214 table.normal td { border: none; }
215
216 th { background: #d0c198; }
217
218 /***************************************************************************
219 * Special pages
220 ***************************************************************************/
221
222 table#liste td.fourth {
223 width: 25%;
224 }
225
226 table#liste td.listec a {
227 display: block;
228 text-align: center;
229 }
230
231 table#liste td.liste a {
232 display: block;
233 text-align: right;
234 }
235
236 table#liste td.liste a.cat {
237 background: #d0c198;
238 margin: 15px 0px 10px 0px;
239 padding: 3px;
240 text-align: center;
241 font-weight: bold;
242 font-size: 90%;
243 }
244
245 table#liste td.liste a:hover, table#liste td.listec a:hover {
246 background: #d0c198;
247 }
248
249 /***************************************************************************
250 ***************************************************************************/
251
252 div.cat {
253 background: #d0c198;
254 text-align: center;
255 font-weight: bold;
256 font-size: 90%;
257 padding: 2px;
258 width: 180px;
259 margin: 4px 0px;
260 }
261
262 div.sel { background-color: #5c81aa; color: #d0c198; }
263 div.sel a { color: #d0c198; }
264
265 td.oval, td.oval2 {
266 color: #d0c198;
267 height: 50px;
268 text-align: center;
269 vertical-align: middle !important;
270 font-weight: bold;
271 }
272 td.oval {
273 background: url("../images/oval.png") no-repeat top center;
274 width: 130px;
275 padding: 4px 12px;
276 }
277 td.oval2 {
278 background: url("../images/oval2.png") no-repeat top center;
279 width: 160px;
280 padding: 4px 10px;
281
282 }
283
284 .oval a, .oval2 a { color: #d0c198; }
285
286 #content td.oval, #content td.oval2 {
287 font-size: 90%;
288 font-family: "Trebuchet MS", sans-serif;
289 letter-spacing: -0.5px;
290 }
291
292 /***************************************************************************
293 ***************************************************************************/
294
295 td.infos {
296 height: 30px;
297 text-align: center;
298 font-family: "Bitstream Vera Sans","Arial",sans-serif;
299 color: #505050;
300 }
301