WordPress.org

Make WordPress Core

Changeset 21396


Ignore:
Timestamp:
08/01/2012 05:34:31 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: change featured post banner and comment author callout to look less like buttons. Props chriswallace and drewstrojny, fixes #21384.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/style.css

    r21393 r21396  
    182182input#searchsubmit,
    183183article.post-password-required input[type=submit],
    184 li.bypostauthor cite span,
    185 .featured-post {
     184li.bypostauthor cite span {
    186185    padding: 1px 10px;
    187186    padding: 0.071428571rem 0.714285714rem;
     
    235234    border: none;
    236235}
    237 li.bypostauthor cite span,
    238 .featured-post {
     236li.bypostauthor cite span {
    239237    color: #fff;
    240238    background-color: #21759b;
    241     background-repeat: repeat-x;
    242     background-image: -moz-linear-gradient(top, #4aacd8, #21759b);
    243     background-image: -ms-linear-gradient(top, #4aacd8, #21759b);
    244     background-image: -webkit-linear-gradient(top, #4aacd8, #21759b);
    245     background-image: -o-linear-gradient(top, #4aacd8, #21759b);
    246     background-image: linear-gradient(top, #4aacd8, #21759b);
     239    background-image: none;
    247240    border: 1px solid #1f6f93;
     241    border-radius: 2px;
     242    box-shadow: none;
     243    padding: 0;
    248244}
    249245
     
    774770}
    775771article.sticky .featured-post {
     772    border-top: 4px double #ededed;
     773    border-bottom: 4px double #ededed;
     774    color: #777;
     775    font-size: 13px;
     776    font-size: 0.928571429rem;
     777    line-height: 3.692307692;
    776778    margin-bottom: 24px;
    777779    margin-bottom: 1.714285714rem;
    778     padding: 0 5px;
    779     padding: 0 0.357142857rem;
    780     font-size: 11px;
    781     font-size: 0.785714286rem;
    782     line-height: 2.181818182;
    783780    text-align: center;
    784 }
    785 @media screen and (min-width: 600px) {
    786     article.sticky header.entry-header {
    787         float: left;
    788         max-width: 73.6%;
    789         overflow: hidden;
    790     }
    791     article.sticky .featured-post {
    792         float: right;
    793         text-align: left;
    794     }
    795     article.sticky .entry-content {
    796         clear: both;
    797     }
    798781}
    799782.entry-content h1,
Note: See TracChangeset for help on using the changeset viewer.