-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.css
461 lines (447 loc) · 15.6 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
@import url(css/font-awesome.min.css); /* feuille de style pour l'utilisation de la police awesone*/
@import url(css/editor.css); /* feuille de style pour l'éditeur */
/* RESET */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {margin: 0;padding: 0;border: 0;font-size: 100%;font: inherit;vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block; }
body {line-height: 1; }
ol, ul {list-style: none; }
blockquote, q {quotes: none; }
blockquote:before, blockquote:after,q:before, q:after {content: '';content: none; }
table {border-collapse: collapse;border-spacing: 0; }
/* GENERAL
-------------------------------------------------------- */
html {
border-top: 10px solid black;
background: url(images/bg.png) top left repeat;
}
html, body {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
color: #575757;
margin: 0 0 1px; height: 100%;
line-height: 1.7;
-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
-webkit-text-size-adjust: 100%;
}
body {}
/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: Arial, Helvetica, sans-serif; font-weight: normal; text-shadow: 1px 1px #fff;}
h1 {
font-size: 42px;
line-height: 0.9;
color: #666;
text-align: left;
margin-bottom: 13px;
padding-bottom: 15px;
}
h2 {
font-size: 30px;
line-height: 1.8;
color: #666;
text-align: left;
border-bottom: 1px solid #A3A3A3;
margin-bottom: 7px;
padding-bottom: 12px;
}
h3 {
font-size: 22px;
line-height: 0.9;
color: #575757;
text-align: left;
margin-bottom: 6px;
padding-bottom: 5px;
}
h4 {
font-size: 18px;
line-height: 0.9;
color: #CC3333;
text-align: left;
margin-bottom: 8px;
padding-top: 3px;
}
p { margin: 0 0 20px 0; text-align: justify !important;}
p img { margin: 0; }
em { font-style: italic; }
strong { font-weight: bold; color: #333; }
small { font-size: 80%; }
hr { border: solid #A3A3A3; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }
acronym, abbr {border-bottom: #A3A3A3 1px dashed;cursor: help;}
acronym:hover, abbr:hover { border-bottom: #000 1px dashed;}
::selection {background: #A3A3A3;color:#f0f0f0;}
::-moz-selection {background: #A3A3A3;color:#f0f0f0;}
::-webkit-selection {background: #A3A3A3; color:#f0f0f0;}
/* Blockquotes & Code */
blockquote, blockquote p { line-height: 24px; color: #777; font-style: italic; }
blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }
code {
display:block;
width:95% !important;
max-height: 300px !important;
margin: 0 10px;
background-color: #fff;
line-height:1.5em;
padding-left:20px;
overflow: scroll;
border: #A3A3A3 1px solid;
}
/* Links */
a, a:visited { color: #cc3333; text-decoration: none; outline: 0; }
a:hover, a:focus { color: #000;text-decoration: underline; }
p a, p a:visited { line-height: inherit; }
/* List */
ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }
ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
ul.square { list-style: square outside; }
ul.circle { list-style: circle outside; }
ul.disc { list-style: disc outside; }
ul ul, ul ol,
ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; }
ul ul li, ul ol li,
ol ol li, ol ul li { margin-bottom: 6px; }
li { line-height: 18px; margin-bottom: 12px; }
ul.large li { line-height: 21px; }
li p { line-height: 21px; }
/* Buttons */
.button, button, input[type="submit"], input[type="reset"], input[type="button"] {
display: inline-block;
margin-bottom: 20px;
padding: 8px 10px;
background: #eee; /* Old browsers */
background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
border: 1px solid #aaa;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
color: #444;
font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 11px;
font-weight: bold;
text-decoration: none;
text-shadow: 0 1px rgba(255, 255, 255, .75);
cursor: pointer;
line-height: normal;
}
.button:hover, button:hover, input[type="submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
color: #222;
background: #ddd; /* Old browsers */
background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
border: 1px solid #888;
border-top: 1px solid #aaa;
border-left: 1px solid #aaa;
}
.button:active, button:active, input[type="submit"]:active, input[type="reset"]:active, input[type="button"]:active {
border: 1px solid #666;
background: #ccc; /* Old browsers */
background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */
background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
}
/* Fix for odd Mozilla border & padding issues */
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0;}
/* Forms */
form {margin-bottom: 20px; }
fieldset {margin-bottom: 20px; }
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="search"], textarea, select {
display: block;
width: 210px;
max-width: 100%;
margin: 0;
margin-bottom: 20px;
background: #fff;
font: 13px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #777;
border: 1px solid #ccc;
padding: 6px 4px;
outline: none;
border-radius: 2px;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
}
select {padding: 0; }
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="search"]:focus, textarea:focus {
color: #444;
border: 1px solid #aaa;
box-shadow: 0 0 3px rgba(0,0,0,.2);
-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
}
textarea { min-height: 60px; }
label, legend {
display: block;
font-weight: bold;
font-size: 13px;
}
select { width: 220px; }
input[type="checkbox"] { display: inline-block; }
label span, legend span {
font-weight: normal;
font-size: 13px;
color: #444;
}
/* LAYOUT */
header,section,aside {margin-bottom: 1em;}
section#contenu {display: inline;float: left;width: 72.91666666666666%;margin-left: 1.0416666666666665%;margin-right: 1.0416666666666665%;}
aside#sidebar {display: inline;float: left;width: 22.916666666666664%;margin-left: 1.0416666666666665%;margin-right: 1.0416666666666665%;}
#wrapper {max-width: 1100px;margin: 0 auto;clear: both;}
footer {
position: relative;
height: 40px;
clear: both;
width: 100%;
margin-bottom: 18px;
background-color: black;
text-align: center;
padding-top: 15px;
}
/* HEADER */
#top_text {
float:left;
max-width: 400px;
}
#top_text h1 a {
color: #CC3333;
font-size: 48px;
letter-spacing: -1px;
text-decoration: none;
}
#top_text h2 {
margin-top: -1em;
font-size:22px;
font-style: italic;
text-align: left;
border-bottom: none;
}
#top nav {
float:right;
margin: 10px 10px;
width: 634px;
border-top: 1px solid #A3A3A3;
border-bottom: 1px solid #A3A3A3;
}
#top nav ul li {
float: left;
margin-left: 16px;
line-height: normal;
}
#top nav ul li a {
font-size: 20px;
font-family: Arial, Helvetica, sans-serif;
color: #666;
font-weight: normal;
display: block; /* IE6, IE7 line height fix */
padding-bottom: 10px;
padding-top: 5px;
background-color: transparent;
margin-top: 5px;
margin-right: 6px;
text-decoration: none;
}
#top nav ul li a: hover {
color: #CC3333;
}
#top nav ul li a.current {
color: #CC3333;
}
/* SIDEBAR */
#sidebar h3 { font-size: 20px;}
#sidebar hr {}
#tags h3 {}
#navigate h3 {}
#recherche h3 {}
#last_comments h3 {}
#liens h3 {}
#rss h3 {}
#rss ul li a {}
#random h3 {}
/* Last Comments */
.encart_lastcom {padding-left: 15px;}
.encart_lastcom li {
list-style: square;
line-height: normal;
color: #33CC99;
text-align: left;
text-decoration: none;
}
.encart_lastcom li a:hover {color: #33CC99; }
/* search form */
#search {
text-align: right;
margin-bottom: 20px;
border: #A3A3A3 1px solid;
width: 227px;
}
#search input { margin-bottom: 0; display: inline-block;}
#q {
padding: 2px 0;
border-width: 0;
text-align: left;
width: 140px;
}
#input-rechercher {
border-width: 0;
width: 80px;
}
/* Calendar */
#calendrier {
display: block;
border: none;
}
#calendrier caption {
font-size: 20px;
padding: 4px;
}
#calendrier caption a {
font-weight: bold;
text-decoration: none;
}
#calendrier td {
text-align: center;
width: 60px;
line-height: 2em;
}
#calendrier td a {
display: block;
text-decoration: none;
border-width: 1px 0 0 1px;
font-weight: bold;
}
#calendrier td a:hover {
border-width: 0 1px 1px 0;
text-decoration: none;
color: #B30303;
background: #ddd; /* Show a solid color for older browsers */
background: -moz-linear-gradient(#fff, #ddd);
background: -o-linear-gradient(#fff, #ddd);
background: -webkit-linear-gradient(#fff, #ddd);
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px;
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px;
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px;
}
#calendrier td.active a {}
#calendrier abbr {border-bottom: none;cursor: auto;}
/* Tags */
#tags ul li {display: inline; padding: 3px;list-style-type: none;font-size:1.1em;}
#tags ul li a { padding: 2px 4px 2px 4px;color: #222; text-shadow: 1px 1px #fff;text-decoration: none;outline: 0;
transition-duration: 0.25s;
-webkit-transition-duration: 0.25s;
-moz-transition-duration: 0.25s;
-o-transition-duration: 0.25s;
transition-property: transform;
-webkit-transition-property: -webkit-transform;
-moz-transition-property: -moz-transform;
-o-transition-property: -o-transform;
transform: scale(1) rotate(0);
-webkit-transform: scale(1) rotate(0);
-moz-transform: scale(1) rotate(0);
-o-transform: scale(1) rotate(0);
}
#tags li a:hover {text-decoration: none;color: #B30303;
background: #ddd; /* Show a solid color for older browsers */
background: -moz-linear-gradient(#fff, #ddd);
background: -o-linear-gradient(#fff, #ddd);
background: -webkit-linear-gradient(#fff, #ddd);
border-radius: 4px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
transform: scale(1.05) rotate(-1deg);
-webkit-transform: scale(1.05) rotate(-1deg);
-moz-transform: scale(1.05) rotate(-1deg);
-o-transform: scale(1.05) rotate(-1deg);
box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px;
-webkit-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px;
-moz-box-shadow: rgba(0, 0, 0, 0.2) 0 2px 2px;
}
#tags li a:nth-child(2n):hover { transform: scale(1.05) rotate(1deg); -webkit-transform: scale(1.05) rotate(1deg); -moz-transform: scale(1.05) rotate(1deg); -o-transform: scale(1.05) rotate(1deg);}
/* CONTENU */
.news, .lien, .comment {
margin: 0 10px 30px 0;
word-wrap: break-word;
overflow: show;
}
.news pre, .comment pre, .lien pre { white-space: pre-wrap;}
/* article de blog */
.news h3, .lien h3 {}
.chapo {}
.permalien {text-align: right;}
header.titre {}
header.titre a {}
h3 img {vertical-align: middle;}
p.date {font-style: italic; font-size: 1.1em;}
p.tags {font-size: 1.1em;}
p.rss {}
.post a:visited {}
.tags {
/* clear: both;*/ /* at bottom of article, must clear. */
}
.tags img {vertical-align: middle;}
.img { display: block; margin: 0 auto;}
.news img, .news iframe {padding: 4px;border: solid 1px #bbb;background: #fff;box-shadow: 0 1px 2px rgba(0,0,0,.2);max-width: 100%;}
.news figure {display:block;float: right;margin: 5px 0 5px 10px; padding:10px; text-align: center; background: #ddd;}
.news figcaption {color: #444;font: 100% 'Yanone Kaffeesatz', arial, sans-serif;text-shadow: 1px 1px #fff;}
#nombre_comment {font-weight: bold; font-size: 1.2em; text-align: right;}
.pagination a:visited {}
.pagination {font-size: 1.2em; text-align: center;padding: 10px;}
/* Last Comments page */
.comment {
margin-bottom: 20px;
padding: 25px 0 0 25px;
border-left : #A3A3A3 solid 1px;
border-bottom : #A3A3A3 solid 1px;
}
.comment h3 {}
.comment h2 span, .comment h3 span { font-size: .7em; font-style:italic; }
.gravatar-icon {height: 24px;width: 24px;vertical-align: middle;display: inline-block;padding: 4px;border: solid 1px #A3A3A3;background: #fff;}
.com-reply {text-align: right;}
.com-reply a {
font-style: italic;
padding: 0 4px 2px 4px;
}
/* Form Comments */
#form-commentaire input:focus {}
.formatbut button {margin-bottom:0;}
.infos label, .infos input, .cookie label, .cookie input {display: inline-block;}
fieldset.buttons {text-align: center;}
.buttons input{ margin-top: 10px;}
/* FOOTER */
footer a:hover, footer a:visited { color: #fff;}
/* OTHERS
-------------------------------------------------------- */
#erreurs { background-color: rgba(255, 0, 0, .3);color: white; border-radius: 10px;padding: 1px;}
/* go to top page */
#top-link{ display:none; position: fixed; bottom: 5px; right: 50px; opacity: 1; cursor: pointer; z-index:1000;}
a#top-link {background: url(images/up.png) no-repeat 0 0; height:48px; width:48px;}
/* to delete afterwards... */
.one { float: right; margin: 15px; }
#email-adress {display: none;}
/* Media queries */
@media only screen and (max-width: 1023px) {
section#contenu, aside#sidebar {display: inline;float: left;width: 47.91666666666667%;margin-left: 1.0416666666666665%;margin-right: 1.0416666666666665%;}
}
@media only screen and (max-width: 767px) {
section#contenu, aside#sidebar {display: inline;float: left;width: 97.91666666666666%;margin-left: 1.0416666666666665%;margin-right: 1.0416666666666665%;}
footer {font-size: .8em;}
#top nav {display:none;}
}