Changeset 19958
- Timestamp:
- 02/21/2012 06:14:51 AM (13 years ago)
- Location:
- trunk/wp-content/themes/twentytwelve
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentytwelve/header.php
r19915 r19958 35 35 <body <?php body_class(); ?>> 36 36 <div id="page" class="hfeed"> 37 <header id="masthead" role="banner">37 <header id="masthead" class="site-header" role="banner"> 38 38 <hgroup> 39 39 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> -
trunk/wp-content/themes/twentytwelve/style.css
r19915 r19958 121 121 text-transform: uppercase; 122 122 font-weight: 400; 123 font-size: 1 3px;124 font-size: 0. 928571429rem;125 line-height: 1.846153846;123 font-size: 12px; 124 font-size: 0.857142857rem; 125 line-height: 2; 126 126 } 127 127 … … 146 146 a { 147 147 outline: none; 148 color: #1 77095;148 color: #13609e; 149 149 } 150 150 a:hover { 151 color: #0 92e3d;151 color: #082943; 152 152 } 153 153 … … 179 179 clear: both; 180 180 } 181 182 181 } 183 182 … … 191 190 width: 65.104166667%; 192 191 } 192 } 193 193 194 194 @media screen and (min-width: 600px) { … … 207 207 width: 26.041666667%; 208 208 } 209 210 209 } 211 210 … … 213 212 Header 214 213 ------------------------------------------------------------ */ 215 header#masthead{214 .site-header { 216 215 padding: 24px 0; 217 216 padding: 1.714285714rem 0; 218 217 } 219 header#mastheadhgroup h1,220 header#mastheadhgroup h2 {218 .site-header hgroup h1, 219 .site-header hgroup h2 { 221 220 text-align: center; 222 221 } 223 222 @media screen and (min-width: 600px) { 224 header#mastheadhgroup h1,225 header#mastheadhgroup h2 {223 .site-header hgroup h1, 224 .site-header hgroup h2 { 226 225 text-align: left; 227 226 } 228 229 } 230 header#masthead hgroup h1 a, 231 header#masthead hgroup h2 a { 227 } 228 .site-header hgroup h1 a, 229 .site-header hgroup h2 a { 232 230 color: #444444; 233 231 text-decoration: none; 234 232 } 235 header#mastheadhgroup h1 a:hover,236 header#mastheadhgroup h2 a:hover {237 color: #1 77095;233 .site-header hgroup h1 a:hover, 234 .site-header hgroup h2 a:hover { 235 color: #13609e; 238 236 text-decoration: underline; 239 237 } 240 header#mastheadhgroup h1 {238 .site-header hgroup h1 { 241 239 font-size: 24px; 242 240 font-size: 1.714285714rem; … … 244 242 } 245 243 @media screen and (min-width: 600px) { 246 header#masthead hgroup h1 { 247 font-size: 30px; 248 font-size: 2.142857143rem; 249 line-height: 1.6; 250 } 251 252 } 253 header#masthead hgroup h2 { 244 .site-header hgroup h1 { 245 font-size: 26px; 246 font-size: 1.857142857rem; 247 line-height: 1.846153846; 248 } 249 } 250 .site-header hgroup h2 { 254 251 font-weight: normal; 255 252 font-size: 13px; 256 253 font-size: 0.928571429rem; 257 254 line-height: 1.846153846; 255 color: #777777; 258 256 } 259 257 … … 281 279 text-align: center; 282 280 } 283 284 281 } 285 282 nav[role="navigation"] ul { … … 300 297 display: list-item; 301 298 } 302 303 299 } 304 300 nav[role="navigation"] li a { … … 369 365 font-size: 0.928571429rem; 370 366 line-height: 1.846153846; 367 } 368 div#secondary aside a { 369 color: #777777; 370 } 371 div#secondary aside a:hover { 372 color: #13609e; 371 373 } 372 374 … … 403 405 } 404 406 footer[role="contentinfo"] a:hover { 405 color: #1 77095;407 color: #13609e; 406 408 } 407 409 … … 413 415 ------------------------------------------------------------ */ 414 416 header.entry-header { 415 margin-bottom: 42px;416 margin-bottom: 3rem;417 margin-bottom: 24px; 418 margin-bottom: 1.714285714rem; 417 419 } 418 420 header.entry-header .entry-title { 419 font-size: 22px; 420 font-size: 1.571428571rem; 421 line-height: 1.090909091; 421 font-size: 20px; 422 font-size: 1.428571429rem; 423 line-height: 1.2; 424 font-weight: normal; 422 425 } 423 426 header.entry-header .entry-title a { 424 427 text-decoration: none; 425 color: #444444;426 }427 header.entry-header .entry-title a:hover {428 color: #177095;429 428 } 430 429 @media screen and (min-width: 600px) { 431 430 header.entry-header .entry-title { 432 font-size: 20px; 433 font-size: 1.428571429rem; 434 line-height: 1.2; 435 } 436 431 font-size: 22px; 432 font-size: 1.571428571rem; 433 line-height: 1.090909091; 434 } 437 435 } 438 436 header.entry-header .entry-format { … … 441 439 font-weight: normal; 442 440 } 443 444 div.entry-meta { 445 margin-top: 6px; 446 margin-top: 0.428571429rem; 447 font-size: 12px; 448 font-size: 0.857142857rem; 449 line-height: 2; 450 } 451 div.entry-meta a { 452 color: #686868; 453 } 454 div.entry-meta a:hover { 455 color: #177095; 441 header.entry-header .entry-meta { 442 font-size: 11px; 443 font-size: 0.785714286rem; 444 line-height: 2.181818182; 445 color: #777777; 446 } 447 448 .entry-meta a { 449 color: #777777; 450 } 451 .entry-meta a:hover { 452 color: #13609e; 456 453 } 457 454 … … 463 460 464 461 div#content article { 465 padding-bottom: 48px;466 padding-bottom: 3.428571429rem;462 padding-bottom: 24px; 463 padding-bottom: 1.714285714rem; 467 464 margin-bottom: 48px; 468 465 margin-bottom: 3.428571429rem; … … 470 467 } 471 468 472 div.page-links, 469 div.page-links { 470 line-height: 1.714285714; 471 } 472 473 473 footer.entry-meta { 474 line-height: 1.714285714; 474 margin-top: 24px; 475 margin-top: 1.714285714rem; 476 font-size: 13px; 477 font-size: 0.928571429rem; 478 line-height: 1.846153846; 479 font-style: italic; 480 color: #777777; 475 481 } 476 482 … … 536 542 * Styling for the archive view 537 543 * ------------------------------------------------------------------ */ 538 #content.archiveh1.archive-title {544 .archive #content h1.archive-title { 539 545 margin-bottom: 48px; 540 546 margin-bottom: 3.428571429rem;
Note: See TracChangeset
for help on using the changeset viewer.