Make WordPress Core

Ticket #25300: 25300.2.diff

File 25300.2.diff, 1.8 KB (added by iamtakashi, 13 years ago)

Another updated patch

  • wp-content/themes/twentyfourteen/style.css

     
    878878        max-width: 67.2rem;
    879879}
    880880.attachment-featured-thumbnail {
    881         background: #767676 url(images/pattern.png) repeat 0 0;
    882         background-size: 5px 5px;
     881        background-color: #cbcbcb;
     882        background-image: -webkit-linear-gradient(135deg, #cbcbcb 12.5%, #fff 12.5%, #fff 50%, #cbcbcb 50%, #cbcbcb 62.5%, #fff 62.5%);
     883        background-image:         linear-gradient(135deg, #cbcbcb 12.5%, #fff 12.5%, #fff 50%, #cbcbcb 50%, #cbcbcb 62.5%, #fff 62.5%);
     884        background-size: 4px 4px;
    883885        display: block;
    884886        float: none;
    885887        margin: 0;
    … …  
    890892        height: auto;
    891893        z-index: 0;
    892894}
     895.attachment-featured-thumbnail:hover {
     896        background-color: #969696;
     897        background-image: -webkit-linear-gradient(135deg, #969696 12.5%, #fff 12.5%, #fff 50%, #969696 50%, #969696 62.5%, #fff 62.5%);
     898        background-image:         linear-gradient(135deg, #969696 12.5%, #fff 12.5%, #fff 50%, #969696 50%, #969696 62.5%, #fff 62.5%);
     899}
    893900.entry-header {
    894901        position: relative;
    895902        z-index: 1;
    … …  
    12781285----------------------------------------------- */
    12791286
    12801287#featured-content {
    1281         background: #000 url(images/pattern-dark.png) repeat 0 0;
    1282         background-size: 5px 5px;
     1288        background-color: #000;
     1289        background-image: -webkit-linear-gradient(135deg, #4d4d4d 12.5%, #000 12.5%, #000 50%, #4d4d4d 50%, #4d4d4d 62.5%, #000 62.5%);
     1290        background-image:         linear-gradient(135deg, #4d4d4d 12.5%, #000 12.5%, #000 50%, #4d4d4d 50%, #4d4d4d 62.5%, #000 62.5%);
     1291        background-size: 4px 4px;
    12831292        -webkit-box-sizing: border-box;
    12841293        -moz-box-sizing:    border-box;
    12851294        box-sizing:         border-box;