source: style.css

Last change on this file was 2, checked in by maron, 15 years ago
  • Property svn:executable set to *
File size: 2.8 KB
Line 
1/*
2 CSS Document by Alexandre Joseph
3 http://alexandrejoseph.com/
4*/
5
6
7* { margin: 0; padding: 0; }
8
9
10body
11{
12 font: 12px/2em "Trebuchet MS", "Lucida Grande", Verdana, Arial, sans-serif;
13 background: #83a4c4;
14}
15
16h1, h2, h3, h4, h5, h6, p, pre, blockquote, label, ul, ol, dl,
17fieldset, address { margin:0.75em 0;}
18
19h1 {font-size:170%;}
20
21h2{font-size:140%; }
22
23h3 {font-size:120%;}
24
25h4 {font-size:100%;}
26
27li, dd
28{
29 margin-left:2em;
30}
31
32#gauche
33{
34 background: url(./images/bord_gauche.jpg) white repeat-y left;
35 padding-left: 3em;
36}
37
38#droite
39{
40 background: url(./images/bord_droit.jpg) white repeat-y right;
41 padding-right: 3em;
42}
43
44#header
45{
46 background: url(./images/header.jpg) repeat-x right top;
47 height: 88px;
48 margin: 2em 3em 0 3em;
49}
50
51#header h1 a
52{
53 background: url(./images/logo.jpg) no-repeat top left;
54 display: block;
55 height: 27px;
56 width: 216px;
57 position: absolute;
58 top: 1.55em;
59 left: 1.3em;
60}
61
62#header p
63{
64 background: url(./images/coin_haut_droit.jpg) no-repeat top right;
65 height: 80px;
66 width: 74px;
67 position: absolute;
68 top: 1.9em;
69 right: 0em;
70}
71
72#header #coin
73{
74 background: url(./images/coin_haut_gauche.jpg) no-repeat top left;
75 height: 58px;
76 width: 38px;
77 position: absolute;
78 top: 4.5em;
79 left: 0em;
80}
81
82#header h1 a span, #header p span, #menu h2
83{
84 position: absolute;
85 margin: 0px;
86 padding:0px;
87 text-indent: -5000px;
88 line-height: 0px;
89 font-size: 0px;
90}
91
92#menu
93{
94 background: url(./images/fond_menu.jpg) repeat-x bottom #e8e8e6;
95 text-align: right;
96 margin: 0 0.15em 0 0.15em;
97}
98
99#menu ul
100{
101 margin: 0;
102 padding: 0;
103 background: url(./images/coin_menu.jpg) no-repeat bottom left;
104 border-right: 1px solid #e0e0e0;
105}
106
107#menu li
108{
109 display: inline;
110 margin: 0.2em 0.5em 0.2em 0.5em;
111 padding: 0;
112 font-size: 1.1em;
113}
114
115#menu li a
116{
117 color: #333;
118 text-decoration: none;
119}
120
121#menu li a:hover
122{
123 color: black;
124 border-bottom: 1px dotted #333;
125}
126
127#contenu
128{
129 padding: 2em;
130 min-height:55em;
131 height: 55em;
132}
133
134#contenu a
135{
136 color: #83a4c4;
137}
138
139#contenu h3.erreur
140{
141 border: 1px solid #992a2a;
142 background: #e3c0c0;
143 color: #992a2a;
144 font-size: 1em;
145 padding: 0.3em;
146 border-bottom: none;
147 margin: 2em;
148 margin-bottom: 0;
149}
150
151#contenu p.erreur
152{
153 border: 1px solid #992a2a;
154 background: #f2dddd;
155 color: #992a2a;
156 font-size: 1em;
157 padding: 1em;
158 margin: 0 2em 1em 2em;
159}
160
161#contenu hr
162{
163 height: 0;
164 padding: 0;
165 color: #fff;
166 background-color: #fff;
167 border: 0;
168}
169
170html>body #contenu
171{
172 height:auto;
173}
174
175#footer
176{
177 color: white;
178 text-align: right;
179 padding: 0.1em 0.5em 0.1em 0.5em;
180 border-top: 2px solid #e0e0e0;
181 background: url(./images/header.jpg) bottom repeat-x;
182 margin: 0 0.2em 0 0.2em;
183 border-bottom: 0.7em solid white;
184 font-weight: bold;
185}
186
187#footer a
188{
189 color: white;
190 text-decoration: none;
191}
192
193#footer .left
194{
195 float: left;
196}
197
198#article
199{
200 border: 1px solid green;
201 padding: 0px 3px 3px 10px;
202
203
204
205}
Note: See TracBrowser for help on using the repository browser.