Changeset 1873
- Timestamp:
- 11/11/09 22:14:55 (4 years ago)
- Location:
- themes/palette
- Files:
-
- 2 edited
-
_define.php (modified) (1 diff)
-
style.css (modified) (22 diffs)
Legend:
- Unmodified
- Added
- Removed
-
themes/palette/_define.php
r1381 r1873 15 15 $this->registerModule( 16 16 /* Name */ "Palette", 17 /* Description*/ "Un thème à la palette configurable",17 /* Description*/ "Un thème à la palette de couleur configurable", 18 18 /* Author */ "annso", 19 19 /* Version */ '2.0' -
themes/palette/style.css
r1381 r1873 1 /* -----------------------------------------------------------------2 1. STRUCTURE3 a inscrire ici ou en important une css de structure placee dans4 le meme repertoire et appelee grace a l'instruction ci-dessous5 ------------------------------------------------------------------ */6 /* @import url(nom_du_fichier.css); */7 8 9 10 1 /* ------------------------------------------------------------ 11 2 2. BALISES HTML PAR DEFAUT 12 3 ------------------------------------------------------------- */ 13 14 4 body { 15 5 color: #555555; … … 22 12 color: #FFF; 23 13 } 24 25 h1, 26 h2 { 14 h1, h2 { 27 15 font-size: 1.9em; 28 16 font-family: Georgia, Verdana, Arial; … … 36 24 } 37 25 38 p { }39 img { }40 sup { }41 abbr, acronym { }42 43 blockquote, q { }44 blockquote { }45 cite { }46 47 ul { }48 ol { }49 dl { }50 51 form { }52 26 fieldset { border: 0; } 53 27 input, textarea { … … 66 40 border: 1px solid #AFCF48; 67 41 } 68 label { }69 42 70 43 a { … … 73 46 } 74 47 a:hover, a:focus { color: #E69B32; } 75 a[hreflang]:after { }76 48 a img { border: none; } 77 49 78 code, pre { }79 pre { }80 81 hr { }82 83 84 85 50 /* ------------------------------------------------------------ 86 51 3. PAGE 87 52 ------------------------------------------------------------- */ 88 89 53 #page { 90 54 width: 940px; 91 55 margin-top: 40px; 92 56 } 93 94 95 57 96 58 /* ------------------------------------------------------------ 97 59 4. HAUT DE PAGE 98 60 ------------------------------------------------------------- */ 99 100 61 #top { 101 62 position: absolute; … … 153 114 #navigation ul li a:hover { text-decoration: underline; } 154 115 155 156 157 116 /* ------------------------------------------------------------ 158 117 5. WRAPPER MAIN CONTENT 159 118 ------------------------------------------------------------- */ 160 161 #wrapper { }162 119 #main { 163 120 float: right; … … 165 122 min-height: 500px; 166 123 } 167 #content { }168 124 #content h3 { margin-top: 50px; } 169 125 #content a { color: #BBB; } 170 126 #content a:hover { color: #969896; } 171 127 172 #content-info { }173 #content-info h2 { }174 #content-info p { }175 176 .content-inner { }177 178 128 #navlinks, .pagination { 179 129 padding-top: 20px; … … 196 146 } 197 147 198 199 200 148 /* ------------------------------------------------------------ 201 149 6. BILLETS 202 150 ------------------------------------------------------------- */ 203 204 .post { }205 .post.first { }206 .post.odd { }207 208 151 .day-date { 209 152 margin: 5em 0 0 0; … … 239 182 } 240 183 241 .post-excerpt { padding: 10px 0; } 242 .post-content { padding: 10px 0; } 184 .post-excerpt, .post-content { padding: 10px 0; } 185 #content .post-excerpt a, #content .post-content a { 186 background: #eee; 187 color: #555; 188 border-bottom:1px solid #aaa; 189 } 190 #content .post-excerpt a:hover, #content .post-content a:hover { 191 background: #bbb; 192 color: #555; 193 } 194 243 195 #content .post-content h3 { margin-top: 10px; } 244 196 … … 249 201 } 250 202 #content .read-it a:hover { background: #F75823; } 251 252 .footnotes { }253 .footnotes h4 { }254 203 255 204 .post-info-co { font-size: 0.8em; } … … 261 210 #content .post-info-co a:hover { background: #FF0335; } 262 211 263 .comment_count { }264 .pings_count { }265 .attach_count { }266 267 #attachments { }268 #attachments h3 { }269 #attachments ul { }270 #attachments ul li { }271 #attachments li.audio { }272 #attachments li.package { }273 #attachments li.text { }274 275 276 277 212 /* ------------------------------------------------------------ 278 213 7. COMMENTAIRES, PINGS 279 214 ------------------------------------------------------------- */ 280 281 #comments { }282 #pings { }283 #pr { }284 #comment-form { }285 286 #comments h3 { }287 #pings h3 { }288 #pr h3 { }289 #comment-form h3 { }290 #comments dl { }291 215 #comments dt .one, 292 216 #comments dt .two, … … 309 233 border-bottom: 1px solid #EEE; 310 234 } 311 #comments .first { }312 #comments .odd { }313 235 #comments .me { color: #AFCF48; } 314 236 315 #pings dl { }316 #pings dt { }317 #pings dd { }318 #pings .first { }319 #pings .odd { }320 #pings .me { }321 322 #pr dl { }323 #pr dd { }324 325 #comment-form fieldset { }326 .field { }327 237 .field label { 328 238 width: 30%; … … 331 241 padding-right: 20px; 332 242 } 333 .field input { }334 .field textarea { }335 336 #comment-form input[type=submit] { }337 #comment-form input[type=reset] { }338 339 .form-help { }340 341 #ping-url { }342 #comments-feed { }343 344 243 345 244 /* ------------------------------------------------------------ … … 354 253 text-align: right; 355 254 } 356 #blognav { }357 #blogextra { }358 255 359 256 #sidebar h2 , … … 363 260 clear: both; 364 261 } 365 #sidebar ul { }366 262 #sidebar li { list-style-type: none; } 367 263 … … 371 267 margin: 0; 372 268 } 373 #search h2 { } 374 #search form, 375 #search p, 376 #search fieldset { 377 padding: 0; 378 margin: 0; 379 } 380 #search input[type=text] { } /* ou #search #q */ 381 #search input[type=submit] { } /* ou #search .submit */ 382 383 #topnav { } 384 .topnav-arch { } 385 .topnav-home { } 386 387 .selected { } 388 .lang { } 389 .categories { } 390 .syndicate { } 391 .lastposts { } 392 .lastcomments { } 393 .text { } 394 .links { } 395 396 .tags { } 397 .tags ul { } 398 .tags li { } 399 /* a completer separement ou globalement pour le sidebar et la page 400 spécifique des tags avec les differentes class des tags en fonction 401 de leur frequence - voir 9/ classes communes */ 402 269 #search form, #search p, #search fieldset { 270 padding: 0; 271 margin: 0; 272 } 403 273 404 274 /* ------------------------------------------------------------ 405 275 9. FOOTER 406 276 ------------------------------------------------------------- */ 407 408 277 #footer { 409 278 padding-left: 365px; … … 416 285 border-bottom: 1px solid #969896; 417 286 } 418 #footer p { } 419 #footer-nav a { 420 float: right; 421 } 422 423 287 #footer-nav a { float: right; } 424 288 425 289 /* ------------------------------------------------------------ 426 290 10. CLASSES COMMUNES 427 291 ------------------------------------------------------------- */ 428 429 292 /* tags dans le sidebar et dans la page les regroupant 430 293 (exemple ici pour un nuage) */ … … 453 316 .dc-tags .tag100, .tags .tag100 { font-size: 135%; } 454 317 455 /* messages d'erreur */456 318 .error { 457 319 border : 1px solid #C44; … … 462 324 .error li { list-style : square; } 463 325 464 /* exemples de ceux que j'ajoute souvent */465 326 .left { float: left; margin-right : 1em; } 466 327 .right { float: right; margin-left : 1em; } … … 472 333 .little-upper-text { font-size : .8em; text-transform : uppercase; } 473 334 474 475 476 335 /* ------------------------------------------------------------ 477 336 11. PAGES SPECIFIQUES 478 j'indique le marqueur du body, a completer pour cibler 479 plus precisement (cf l'exemple ci-dessus pour les tags) 480 ------------------------------------------------------------- */ 481 482 .dc-home { } 483 .dc-post { } 484 .dc-categories { } 485 486 .dc-category { } 337 ------------------------------------------------------------- */ 487 338 .dc-category #subcategories { 488 339 margin: 0; … … 499 350 } 500 351 501 .dc-archive { }502 352 .dc-archive .annee { 503 353 float: left; … … 510 360 } 511 361 512 .dc-archive-month { }513 .dc-tags { }514 .dc-tag { }515 .dc-404 { }516 .dc-search { }517 518 519 520 362 /* --------------------------------------------------- 521 363 12. ET POUR FINIR NE PAS OUBLIER LES CLEARERS 522 ici ceux le plus souvent necessaires523 364 --------------------------------------------------- */ 524 365 .post, .post-content, .footnotes, .attachments,
Note: See TracChangeset
for help on using the changeset viewer.