Dotclear


Ignore:
Timestamp:
06/08/11 16:15:05 (14 years ago)
Author:
kozlika
Branch:
themes
Message:

Ductile - Construire un thème, prêt pour Jour 3

Location:
themes/ductile
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/_define.php

    r339 r346  
    1414     /* Description*/         "Chantier pour un nouveau theme", 
    1515     /* Author */             "Dotclear Team", 
    16      /* Version */            '0.2.1' 
     16     /* Version */            '0.3' 
    1717); 
    1818?> 
  • themes/ductile/mediaqueries.css

    r339 r346  
    1111     h1 { 
    1212          font-size: 1.8em; 
    13           margin-left: 3%; 
     13          padding: 0 3%; 
     14          background: #706f6f; 
     15          -moz-box-shadow: 0 2px 3px #bbb; 
     16          -webkit-box-shadow: 0 2px 3px #bbb; 
     17          -o-box-shadow: 0 2px 3px #bbb; 
     18          box-shadow: 0 2px 3px #bbb; 
     19          } 
     20     h1 a { 
     21          display: block; 
     22          color: #fff; 
     23          text-shadow: 0 1px 1px #333; 
     24          } 
     25     h1 a:hover, h1 a:focus { 
     26          background: #333; 
    1427          } 
    1528     #prelude { 
     
    1932 
    2033@media only screen and (min-width: 481px) { 
     34     #page { 
     35          padding-top: 16px; 
     36          } 
    2137     h1 { 
    2238     font-size: 2.5em; 
     
    4864          padding: 0 10%; 
    4965          } 
     66     #blognav, #blogextra {  
     67          width: 48%; float:left; 
     68          } 
     69     #blognav { 
     70          margin-right: 4%; 
     71     } 
    5072} 
    5173 
     
    5476          padding: 0 15%; 
    5577          } 
     78     #main { 
     79          width : 100%; 
     80          margin : 0 -26% 0 0; 
     81          float : left; 
     82          display: inline; 
     83          } 
     84     #content { 
     85          margin : 0 32% 0 0; 
     86          padding : 10px; 
     87          } 
     88     #footer { 
     89          clear : both; 
     90          text-align:center; 
     91          } 
     92     #sidebar { 
     93          width : 26%; 
     94          float : right; 
     95          margin-top: 3em; 
     96          } 
     97     #blognav, #blogextra { 
     98          margin : 0; 
     99          } 
    56100} 
     101 
     102@media only screen and (min-width: 1280px) { 
     103     #wrapper { 
     104          padding: 0 140px 0 340px; 
     105          } 
     106     p.post-info { margin-left: -200px; float: left; width: 140px; text-align: right;} 
     107} 
  • themes/ductile/style.css

    r339 r346  
    1818     } 
    1919 
    20 /* ----------------------------------------------- liens */ 
     20/* ------------------------------------------------------- liens */ 
    2121a { 
    2222     color: #666; 
     
    2727     } 
    2828 
    29 /* ----------------------------------------------- page */ 
     29/* ------------------------------------------------------- page */ 
    3030#page { 
    3131     position: relative; 
    32      padding-top: 16px; 
    33      } 
    34  
    35 /* ----------------------------------------------- top */ 
     32     } 
     33 
     34/* ------------------------------------------------------- top */ 
    3635h1 a { 
    3736     text-decoration: none; 
     
    5251} 
    5352 
    54 /* ----------------------------------------------- billets */ 
     53/* ------------------------------------------------------- billets */ 
    5554.post { 
    5655     background: transparent url(img/filet.png) repeat-x left bottom; 
     
    6766     text-decoration: none; 
    6867     } 
     68.post-info, .post-tags, .post-info-co, .read-it { 
     69     line-height: 1.2;    
     70     margin: .33em 0; 
     71     } 
    6972.post-info, .post-tags { 
    7073     font-size: .875em; 
    71      margin: 0; 
    7274     padding: 0; 
     75     } 
     76.post-info a, .post-tags a, .post-info-co a { 
     77     white-space: nowrap; 
    7378     } 
    7479.post-tags a { 
    7580     padding-right: 1em; 
    76      background-color: #fff; 
    77      background-repeat: no-repeat; 
    78      background-position: left center;   
    79      } 
    80 .post-tags a { 
    81      background-image: url(img/tag.png); 
    8281     padding-left: 14px; 
     82     background: #fff no-repeat left center url(img/tag.png); 
    8383     } 
    8484.post-tags li { 
     
    9797     display: inline; 
    9898     font-size: 0.875em; 
    99      line-height: 1.2; 
    10099     font-style: italic; 
    101100     } 
     
    107106     background-repeat: no-repeat; 
    108107     background-position: left center; 
    109      white-space: nowrap; 
    110108     } 
    111109.post-info-co a.comment_count { 
     
    118116     background-image: url(img/attach.png);   
    119117     } 
     118 
     119/* ------------------------------------------------------- sidebar */ 
     120#sidebar { 
     121     font-size: 0.875em; 
     122     } 
     123#sidebar h2 { 
     124     font-size: 1.2em; 
     125     margin: 0; 
     126     font-weight: normal; 
     127     } 
     128#sidebar h3 { 
     129     font-size: 1.1em; 
     130     margin-bottom: 0; 
     131     font-weight: normal; 
     132     } 
     133#sidebar ul { 
     134     margin: .75em 0 .5em 4px; 
     135     list-style-type: none; 
     136     padding: 0; 
     137     } 
     138#sidebar ul li ul { 
     139     margin-top: .5em; 
     140     } 
     141#sidebar ul li { 
     142     padding-left: 16px; 
     143     background: transparent url(img/square.png) no-repeat 0 .5em; 
     144     } 
     145#sidebar ul li ul li { 
     146     background-image: url(img/square2.png); 
     147     } 
     148#sidebar ul li ul li ul li { 
     149     background-image: url(img/square3.png); 
     150     } 
     151#blognav > div, #blogextra > div { 
     152     background: #f3f2e9; 
     153     margin-bottom: 1em; 
     154     padding: 4px 8px; 
     155     -moz-box-shadow: 2px 2px 4px #bbb; 
     156     -webkit-box-shadow: 2px 2px 4px #bbb; 
     157     -o-box-shadow: 2px 2px 4px #bbb; 
     158     box-shadow: 2px 2px 4px #bbb; 
     159     -moz-border-radius: 4px; 
     160     -webkit-border-radius: 4px; 
     161     border-radius: 4px; 
     162     } 
     163      
     164/* recherche */ 
     165#search p { 
     166     background: #fff;  
     167     text-align: right; 
     168     border: 1px solid #ddd; 
     169     vertical-align: middle; 
     170     padding: 0; 
     171     } 
     172#search input {  
     173     margin: 0; 
     174     border: none; 
     175     background: transparent; 
     176     height: 2em; 
     177     } 
     178#search #q { 
     179     float: left; 
     180     width: 80%; 
     181     } 
     182#search #q:focus { 
     183     background: #fcfcf9; 
     184     } 
     185#search .submit { 
     186     background: #706F6F; 
     187     color: #fff; 
     188     vertical-align: top; 
     189     width: 20%; 
     190     font-variant: small-caps; 
     191     } 
     192#search .submit:hover, #search .submit:focus { 
     193     background: #333; 
     194     } 
     195 
     196/* ------------------------------------------------------- pagination */ 
     197#navlinks, .pagination { 
     198     margin-bottom: 1em; 
     199     padding: 4px 8px; 
     200     text-align: center; 
     201     font-size: .875em; 
     202     color: #000; 
     203     background: #f4f4f5; 
     204     background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f5), to(#d7d7dC)); 
     205     background: -moz-linear-gradient(top,  #f4f4f5,  #d7d7dC); 
     206     -moz-border-radius: 4px; 
     207     -webkit-border-radius: 4px; 
     208     border-radius: 4px; 
     209     border-right: 1px solid #aaa; 
     210     border-bottom: 1px solid #ccc; 
     211     } 
     212#navlinks { 
     213     margin-top: 2.2em; 
     214     } 
     215#navlinks a, .pagination a { 
     216     padding: 0 1em; 
     217     } 
     218      
     219/* ------------------------------------------------------- footer */ 
     220#footer { 
     221     clear: both; 
     222     background: #706f6f; 
     223     color: #fff; 
     224     } 
     225#footer p { 
     226     padding: .66em; 
     227     margin: 0; 
     228     text-align: right; 
     229} 
     230#footer a { 
     231     color: #fff; 
     232     } 
     233#footer a:hover, #footer a:focus { 
     234     background: #333; 
     235     } 
     236 
    120237/* ================================================  
    121238     personnalisations blog chantier 
Note: See TracChangeset for help on using the changeset viewer.

Sites map