Changeset 346:c4f5371b8e83 for themes/ductile
- Timestamp:
- 06/08/11 16:15:05 (14 years ago)
- Branch:
- themes
- Location:
- themes/ductile
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/ductile/_define.php
r339 r346 14 14 /* Description*/ "Chantier pour un nouveau theme", 15 15 /* Author */ "Dotclear Team", 16 /* Version */ '0. 2.1'16 /* Version */ '0.3' 17 17 ); 18 18 ?> -
themes/ductile/mediaqueries.css
r339 r346 11 11 h1 { 12 12 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; 14 27 } 15 28 #prelude { … … 19 32 20 33 @media only screen and (min-width: 481px) { 34 #page { 35 padding-top: 16px; 36 } 21 37 h1 { 22 38 font-size: 2.5em; … … 48 64 padding: 0 10%; 49 65 } 66 #blognav, #blogextra { 67 width: 48%; float:left; 68 } 69 #blognav { 70 margin-right: 4%; 71 } 50 72 } 51 73 … … 54 76 padding: 0 15%; 55 77 } 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 } 56 100 } 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 18 18 } 19 19 20 /* ----------------------------------------------- liens */20 /* ------------------------------------------------------- liens */ 21 21 a { 22 22 color: #666; … … 27 27 } 28 28 29 /* ----------------------------------------------- page */29 /* ------------------------------------------------------- page */ 30 30 #page { 31 31 position: relative; 32 padding-top: 16px; 33 } 34 35 /* ----------------------------------------------- top */ 32 } 33 34 /* ------------------------------------------------------- top */ 36 35 h1 a { 37 36 text-decoration: none; … … 52 51 } 53 52 54 /* ----------------------------------------------- billets */53 /* ------------------------------------------------------- billets */ 55 54 .post { 56 55 background: transparent url(img/filet.png) repeat-x left bottom; … … 67 66 text-decoration: none; 68 67 } 68 .post-info, .post-tags, .post-info-co, .read-it { 69 line-height: 1.2; 70 margin: .33em 0; 71 } 69 72 .post-info, .post-tags { 70 73 font-size: .875em; 71 margin: 0;72 74 padding: 0; 75 } 76 .post-info a, .post-tags a, .post-info-co a { 77 white-space: nowrap; 73 78 } 74 79 .post-tags a { 75 80 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);82 81 padding-left: 14px; 82 background: #fff no-repeat left center url(img/tag.png); 83 83 } 84 84 .post-tags li { … … 97 97 display: inline; 98 98 font-size: 0.875em; 99 line-height: 1.2;100 99 font-style: italic; 101 100 } … … 107 106 background-repeat: no-repeat; 108 107 background-position: left center; 109 white-space: nowrap;110 108 } 111 109 .post-info-co a.comment_count { … … 118 116 background-image: url(img/attach.png); 119 117 } 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 120 237 /* ================================================ 121 238 personnalisations blog chantier
Note: See TracChangeset
for help on using the changeset viewer.