Changeset 497:935efe2fe067 for themes
- Timestamp:
- 07/03/11 17:11:21 (14 years ago)
- Branch:
- themes
- Location:
- themes/ductile
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/ductile/mediaqueries.css
r470 r497 13 13 -------------------------------------------------------------------- */ 14 14 @media only screen and (max-width:480px) { 15 .no mobile{15 .nosmall { 16 16 display: none !important; 17 17 } … … 28 28 border-bottom: 1px solid #ccc; 29 29 } 30 #supranav{30 .supranav, #prelude { 31 31 border:none; 32 32 margin: 8px 0 0; 33 } 34 #supranav li a { 33 background: #fff; 34 } 35 .supranav li a, #prelude li a { 35 36 border-right: 0; 36 37 display: block; 37 38 padding: 4px 8px; 38 39 border-bottom: 1px solid #ccc; 40 text-decoration: none; 41 white-space: nowrap; 42 margin-bottom: 4px; 43 -webkit-border-bottom-left-radius: 7px; 44 -moz-border-radius-bottomleft: 7px; 45 border-bottom-left-radius: 7px; 46 } 47 #gotop li { 48 text-transform: none; 49 } 50 #prelude li a { 51 background: transparent url(img/menumobile.png) no-repeat right center; 52 } 53 #sn-bottom li a { 54 background: transparent url(img/menumobile.png) no-repeat right top; 55 } 56 #gotop li a { 57 background: transparent url(img/menumobile.png) no-repeat right -150px; 39 58 } 40 59 .post-title { … … 80 99 81 100 @media only screen and (min-width: 481px) { 101 .nobig { 102 display: none; 103 } 104 #prelude { 105 position: absolute; 106 margin: 0; 107 top: 0; 108 left: 3px; 109 color: #fff; 110 font-size: .875em; 111 list-style-type: none; 112 } 113 #prelude li { 114 display: inline; 115 text-transform: none !important; 116 } 117 #prelude a, #prelude a:hover, #prelude a:visited { 118 position:absolute; 119 left:0; 120 top:-500px; 121 width:1px; 122 height:1px; 123 overflow:hidden; 124 background-image: none !important; 125 } 126 #prelude a:active, #prelude a:focus { 127 position:static; 128 width:auto; 129 height:auto; 130 } 82 131 #top { 83 132 padding-top: 24px; … … 89 138 margin-left: 32px; 90 139 } 91 #supranav { 140 #sn-bottom { 141 display: none; 142 } 143 .supranav { 92 144 margin: 36px 0 0; 93 145 border-bottom: 1px solid #ccc; 94 146 } 95 #supranav li {147 .supranav li { 96 148 display: inline; 97 149 padding: 8px 0; 98 150 } 99 #supranav li a {151 .supranav li a { 100 152 display: inline-block; 101 153 padding: 8px 32px 8px 28px; 102 154 border-right: 1px solid #ccc; 103 155 } 104 #supranav li a span {156 .supranav li a span { 105 157 display: block; 106 158 } -
themes/ductile/style.css
r487 r497 23 23 Couleurs : 24 24 Typo: #222 courant, #4c4c85 commentaires 25 Titres non cliquables: #14709e 25 26 Liens: #666 courant, #ad3f4c titre billet et Lire la suite 26 27 Fond formulaire comm: #eef … … 91 92 text-decoration: none; 92 93 color: #333; 93 }94 #prelude {95 position: absolute;96 margin: 0;97 top: 0;98 left: 3px;99 color: #fff;100 font-size: .875em;101 list-style-type: none;102 }103 #prelude li {104 display: inline;105 }106 #prelude a, #prelude a:hover, #prelude a:visited {107 position:absolute;108 left:0;109 top:-500px;110 width:1px;111 height:1px;112 overflow:hidden;113 }114 #prelude a:active, #prelude a:focus {115 position:static;116 width:auto;117 height:auto;118 94 } 119 95 #blogdesc { … … 124 100 text-shadow: none; 125 101 } 126 #supranav{102 .supranav, #prelude { 127 103 font-family: "Franklin gothic medium","arial narrow","DejaVu Sans Condensed","helvetica neue",helvetica,sans-serif; 128 104 padding: 0 0 0 4px; … … 131 107 font-size: .875em; 132 108 } 133 #supranavli {109 .supranav li, #prelude li { 134 110 text-transform: uppercase; 135 111 vertical-align: top; 136 112 } 137 #supranav li a {113 .supranav li a { 138 114 text-decoration: none; 139 115 white-space: nowrap; … … 144 120 background: transparent url(img/menu.png) no-repeat right top; 145 121 } 146 #supranav li a:hover, #supranav li a:active, #supranav li a:focus { 122 .supranav li a:hover, 123 .supranav li a:active, 124 .supranav li a:focus { 147 125 background-color: #ebebee; 148 126 background-position: right -150px; 149 127 } 150 #supranav li.active a {128 .supranav li.active a { 151 129 background-position: right -150px; 152 130 } 153 #supranav li a span {131 .supranav li a span { 154 132 display: block; 155 133 text-transform: none; … … 177 155 #content-info h2 { 178 156 font-size: 1.2em; 157 color: #14709e; 179 158 } 180 159 #subcategories { … … 235 214 .post-title { 236 215 margin-bottom: .33em; 237 color: # 000;216 color: #14709e; 238 217 line-height: 1.17; 239 218 } … … 248 227 font-variant: small-caps; 249 228 font-weight: normal; 250 color: # 666;229 color: #14709e; 251 230 } 252 231 .post-info, … … 295 274 font-size: .875em; 296 275 } 276 .footnotes h4 { 277 font-variant: normal; 278 font-weight: bold; 279 } 297 280 .read-it { 298 281 text-align: right; … … 722 705 font-weight: normal; 723 706 text-transform: lowercase; 707 color: #14709e; 724 708 } 725 709 .arch-block h4 { -
themes/ductile/tpl/_footer.html
r440 r497 1 <ul id="gotop" class="supranav nobig"><li><a href="#top">Haut de page</a></li></ul> 2 3 <ul id="sn-bottom" class="supranav nobig"> 4 <li class="li1" class="active"><a href="{{tpl:BlogURL}}">Accueil<span> articles récents</span></a></li> 5 <li class="li2"><a href="#">Construire un thème<span> tutoriels</span></a></li> 6 <li class="li3"><a href="#">Maquettes<span> projets graphiques</span></a></li> 7 <li class="li4"><a href="{{tpl:BlogURL}}archive">Archives<span> 2005-2011</span></a></li> 8 </ul> 9 1 10 <div id="footer"> 11 2 12 {{tpl:SysBehavior behavior="publicInsideFooter"}} 13 3 14 4 15 <p>{{tpl:SysPoweredBy}}</p> 5 16 </div> 6 17 7 <!-- compat media queries -->8 <!--[if lt IE 9]>9 <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>10 <![endif]-->11 12 18 {{tpl:SysBehavior behavior="publicFooterContent"}} -
themes/ductile/tpl/_head.html
r440 r497 1 1 <!-- media queries --> 2 2 <meta name="viewport" content="width=device-width" /> 3 <!-- compat media queries --> 4 <!--[if lt IE 9]> 5 <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> 6 <![endif]--> 7 3 8 4 9 <style type="text/css" media="screen"> -
themes/ductile/tpl/_top.html
r436 r497 1 1 <div id="header"> 2 2 3 <ul id="prelude" class="nomobile"> 4 <li><a href="#main">{{tpl:lang To content}}</a></li> 3 <div id="top"> 4 <h1><span><a href="{{tpl:BlogURL}}">{{tpl:BlogName encode_html="1"}}</a></span></h1> 5 <p id="blogdesc" class="nosmall">{{tpl:BlogDescription}}</p> 6 </div> 7 8 <ul id="prelude"> 9 <li class="nosmall"><a href="#main">{{tpl:lang To content}}</a></li> 5 10 <li><a href="#blognav">{{tpl:lang To menu}}</a></li> 6 11 <li><a href="#search">{{tpl:lang To search}}</a></li> 7 12 </ul> 8 9 <div id="top">10 <h1><span><a href="{{tpl:BlogURL}}">{{tpl:BlogName encode_html="1"}}</a></span></h1>11 <p id="blogdesc" class="nomobile">{{tpl:BlogDescription}}</p>12 </div>13 13 14 14 <!-- # --BEHAVIOR-- publicTopAfterContent --> … … 19 19 Par défaut : accueil, archives (rien dans le span) 20 20 --> 21 <ul id="s upranav">22 <li id="li1" class="active"><a href="{{tpl:BlogURL}}">Accueil<span class="nomobile"> articles récents</span></a></li>23 <li id="li2"><a href="#">Construire un thème<span class="nomobile"> tutoriels</span></a></li>24 <li id="li3"><a href="#">Maquettes<span class="nomobile"> projets graphiques</span></a></li>25 <li id="li4"><a href="{{tpl:BlogURL}}archive">Archives<span class="nomobile"> 2005-2011</span></a></li>21 <ul id="sn-top" class="supranav nosmall"> 22 <li class="li1" class="active"><a href="{{tpl:BlogURL}}">Accueil<span> articles récents</span></a></li> 23 <li class="li2"><a href="#">Construire un thème<span> tutoriels</span></a></li> 24 <li class="li3"><a href="#">Maquettes<span> projets graphiques</span></a></li> 25 <li class="li4"><a href="{{tpl:BlogURL}}archive">Archives<span> 2005-2011</span></a></li> 26 26 </ul> 27 27 </div>
Note: See TracChangeset
for help on using the changeset viewer.