Dotclear


Ignore:
Timestamp:
06/13/11 18:44:35 (14 years ago)
Author:
kozlika
Branch:
themes
Message:

Ductile, jour 4, HTML and CSS for #footer and #header done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/ductile/mediaqueries.css

    r355 r359  
    99 
    1010@media only screen and (max-width:480px) { 
     11     #prelude, #blogdesc, #supranav span { 
     12          display: none !important; 
     13          } 
     14 
    1115     h1 { 
    1216          font-size: 1.8em; 
    13           border: solid 1px #777; 
    14           -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2); 
    15           -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2); 
    16           -o-box-shadow: rgba(0,0,0,.2); 
    17           box-shadow: 0 1px 2px rgba(0,0,0,.2); 
    18           color: #eee; 
    19           background: #555; 
    20           background: -webkit-gradient(linear, left top, left bottom, from(#777), to(#555)); 
    21           background: -moz-linear-gradient(top, #777, #555); 
    22           filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#777777', endColorstr='#555555');  
    2317          } 
    2418     h1 a { 
    25           padding: 6px 3%; 
    26           color: #fff; 
    27           text-shadow: 0 1px 1px #333; 
    28           } 
    29      h1 a:hover, h1 a:focus { 
    30           background: #686867; 
    31           } 
    32      #prelude, #blogdesc { 
    33           display: none; 
    34           } 
     19          display: block; 
     20          padding: 6px 8px; 
     21          background: #f4f4f5; 
     22          background: -webkit-gradient(linear, left top, left bottom, from(#f4f4f5), to(#d7d7dC)); 
     23          background: -moz-linear-gradient(top,  #f4f4f5,  #d7d7dC); 
     24          border-right: 1px solid #aaa; 
     25          border-bottom: 1px solid #ccc; 
     26          } 
     27 
     28     #supranav { 
     29          border:none; 
     30          margin: 8px 0 0; 
     31          } 
     32     #supranav li a { 
     33          border-right: 0; 
     34          display: block; 
     35          padding: 4px 8px; 
     36          border-bottom: 1px solid #ccc; 
     37          } 
     38 
    3539     h2.post-title { 
    3640          font-size: 2.5em; 
    3741          } 
    38      #supranav li { 
    39           display: block !important; 
    40           } 
    41      #supranav li+li { 
    42           border-top: 1px solid #ddd; 
    43           } 
     42 
    4443     #stickers { 
    4544          margin: 0; 
     
    5554          border-left: 8px solid #fff; 
    5655          border-right: 8px solid #fff; 
    57      } 
     56          } 
    5857     #stickers img { 
    5958          display: block; 
     
    7271     #top { 
    7372          padding-top: 24px; 
     73          padding-bottom: 4px; 
    7474          } 
    7575     h1 { 
    7676          font-size: 2em; 
    77           padding-right: 200px; 
    78           } 
    79      h1 a, h1 a:hover, h1 a:focus { 
    80           background-repeat: no-repeat; 
    81           background-position: left top; 
    82           padding-left: 68px; 
    83           background-image: url(img/home-small.png); 
    84           min-height: 44px; 
    85           } 
     77          padding-right: 240px; 
     78          } 
     79     h1 a { 
     80          padding-left: 32px; 
     81          } 
     82 
     83     #supranav { 
     84          margin: 36px 0 0; 
     85          border-bottom: 1px solid #ccc; 
     86          } 
     87     #supranav li { 
     88          display: inline; 
     89          padding: 8px 0; 
     90          } 
     91     #supranav li a { 
     92          display: inline-block; 
     93          padding: 8px 32px; 
     94          border-right: 1px solid #ccc; 
     95          } 
     96     #supranav li a span { 
     97          display: block; 
     98          } 
     99 
    86100     #stickers { 
    87101          position: absolute; 
     
    108122          background-color: #fff; 
    109123          border-bottom: 4px solid #ad3f4c; 
    110      } 
     124          } 
    111125} 
    112126 
     
    142156@media only screen and (min-width: 961px) { 
    143157     #wrapper { 
    144           padding: 0 15%; 
     158          padding: 0 13%; 
    145159          } 
    146160     #main { 
     
    167181          } 
    168182     #stickers { 
    169           padding-right: 15%; 
     183          padding-right: 13%; 
    170184          } 
    171185} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map