Dotclear

Changeset 1873


Ignore:
Timestamp:
11/11/09 22:14:55 (4 years ago)
Author:
annso
Message:

palette: cleaning css file

Location:
themes/palette
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • themes/palette/_define.php

    r1381 r1873  
    1515$this->registerModule( 
    1616     /* Name */               "Palette", 
    17      /* Description*/    "Un thème à la palette configurable", 
     17     /* Description*/    "Un thème à la palette de couleur configurable", 
    1818     /* Author */        "annso", 
    1919     /* Version */       '2.0' 
  • themes/palette/style.css

    r1381 r1873  
    1 /* ----------------------------------------------------------------- 
    2      1. STRUCTURE 
    3      a inscrire ici ou en important une css de structure placee dans 
    4      le meme repertoire et appelee grace a l'instruction ci-dessous 
    5 ------------------------------------------------------------------ */ 
    6 /* @import url(nom_du_fichier.css); */ 
    7  
    8  
    9  
    101/* ------------------------------------------------------------ 
    112     2. BALISES HTML PAR DEFAUT 
    123------------------------------------------------------------- */ 
    13  
    144body {  
    155     color: #555555; 
     
    2212    color: #FFF; 
    2313} 
    24  
    25 h1, 
    26 h2 {  
     14h1, h2 {  
    2715     font-size: 1.9em; 
    2816     font-family: Georgia, Verdana, Arial; 
     
    3624} 
    3725 
    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 { } 
    5226fieldset { border: 0; } 
    5327input, textarea {  
     
    6640     border: 1px solid #AFCF48; 
    6741} 
    68 label { } 
    6942 
    7043a {  
     
    7346} 
    7447a:hover, a:focus { color: #E69B32; } 
    75 a[hreflang]:after { } 
    7648a img { border: none; } 
    7749  
    78 code, pre { } 
    79 pre { } 
    80   
    81 hr { } 
    82   
    83   
    84   
    8550/* ------------------------------------------------------------ 
    8651     3. PAGE 
    8752------------------------------------------------------------- */ 
    88   
    8953#page {  
    9054     width: 940px; 
    9155     margin-top: 40px; 
    9256} 
    93  
    94  
    9557  
    9658/* ------------------------------------------------------------ 
    9759     4. HAUT DE PAGE 
    9860------------------------------------------------------------- */ 
    99  
    10061#top {  
    10162     position: absolute; 
     
    153114#navigation ul li a:hover { text-decoration: underline; } 
    154115 
    155  
    156  
    157116/* ------------------------------------------------------------ 
    158117     5. WRAPPER MAIN CONTENT 
    159118------------------------------------------------------------- */ 
    160  
    161 #wrapper { } 
    162119#main {  
    163120     float: right; 
     
    165122     min-height: 500px; 
    166123} 
    167 #content { } 
    168124#content h3 { margin-top: 50px; } 
    169125#content a { color: #BBB; } 
    170126#content a:hover { color: #969896; } 
    171127 
    172 #content-info { } 
    173 #content-info h2 { } 
    174 #content-info p { } 
    175  
    176 .content-inner { } 
    177  
    178128#navlinks, .pagination { 
    179129     padding-top: 20px; 
     
    196146} 
    197147 
    198  
    199  
    200148/* ------------------------------------------------------------ 
    201149     6. BILLETS 
    202150------------------------------------------------------------- */ 
    203  
    204 .post { } 
    205 .post.first { } 
    206 .post.odd { } 
    207  
    208151.day-date {  
    209152     margin: 5em 0 0 0; 
     
    239182} 
    240183 
    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 
    243195#content .post-content h3 { margin-top: 10px; } 
    244196 
     
    249201} 
    250202#content .read-it a:hover { background: #F75823; } 
    251  
    252 .footnotes { } 
    253 .footnotes h4 { } 
    254203 
    255204.post-info-co { font-size: 0.8em; } 
     
    261210#content .post-info-co a:hover { background: #FF0335; } 
    262211 
    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  
    277212/* ------------------------------------------------------------ 
    278213     7. COMMENTAIRES, PINGS 
    279214------------------------------------------------------------- */ 
    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 { } 
    291215#comments dt .one, 
    292216#comments dt .two, 
     
    309233     border-bottom: 1px solid #EEE; 
    310234} 
    311 #comments .first { } 
    312 #comments .odd { } 
    313235#comments .me { color: #AFCF48; } 
    314236 
    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 { } 
    327237.field label {  
    328238     width: 30%; 
     
    331241     padding-right: 20px; 
    332242} 
    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  
    344243 
    345244/* ------------------------------------------------------------ 
     
    354253     text-align: right; 
    355254} 
    356 #blognav { } 
    357 #blogextra { } 
    358255 
    359256#sidebar h2 , 
     
    363260     clear: both; 
    364261} 
    365 #sidebar ul { } 
    366262#sidebar li { list-style-type: none; } 
    367263 
     
    371267     margin: 0; 
    372268} 
    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} 
    403273 
    404274/* ------------------------------------------------------------ 
    405275     9. FOOTER 
    406276------------------------------------------------------------- */ 
    407  
    408277#footer {  
    409278     padding-left: 365px; 
     
    416285     border-bottom: 1px solid #969896;  
    417286} 
    418 #footer p { } 
    419 #footer-nav a { 
    420      float: right; 
    421 } 
    422  
    423  
     287#footer-nav a { float: right; } 
    424288 
    425289/* ------------------------------------------------------------ 
    426290     10. CLASSES COMMUNES 
    427291------------------------------------------------------------- */ 
    428  
    429292/* tags dans le sidebar et dans la page les regroupant 
    430293(exemple ici pour un nuage) */ 
     
    453316.dc-tags .tag100, .tags .tag100 { font-size: 135%; } 
    454317 
    455 /* messages d'erreur */ 
    456318.error { 
    457319     border : 1px solid #C44; 
     
    462324.error li { list-style : square; } 
    463325      
    464 /* exemples de ceux que j'ajoute souvent */ 
    465326.left { float: left; margin-right : 1em; } 
    466327.right { float: right; margin-left : 1em; } 
     
    472333.little-upper-text { font-size : .8em; text-transform : uppercase; } 
    473334 
    474  
    475  
    476335/* ------------------------------------------------------------ 
    477336     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------------------------------------------------------------- */ 
    487338.dc-category #subcategories {  
    488339     margin: 0; 
     
    499350} 
    500351 
    501 .dc-archive { } 
    502352.dc-archive .annee {  
    503353     float: left; 
     
    510360} 
    511361 
    512 .dc-archive-month { } 
    513 .dc-tags { } 
    514 .dc-tag { } 
    515 .dc-404 { } 
    516 .dc-search { } 
    517  
    518  
    519  
    520362/* --------------------------------------------------- 
    521363  12. ET POUR FINIR NE PAS OUBLIER LES CLEARERS 
    522      ici ceux le plus souvent necessaires 
    523364--------------------------------------------------- */ 
    524365.post, .post-content, .footnotes, .attachments,  
Note: See TracChangeset for help on using the changeset viewer.

Sites map