Make WordPress Core

Changeset 17719


Ignore:
Timestamp:
04/26/2011 06:59:32 PM (16 years ago)
Author:
lancewillett
Message:

Twenty Eleven: minor style fixes (overflow) for international blogs and replacing em dash with the proper CSS value for the entity. Props matveb, see #17198

File:
1 edited

Legend:

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

    r17717 r17719  
    3232        vertical-align: baseline;
    3333}
    34 :focus { /* remember to define focus styles! */
     34:focus {/* remember to define focus styles! */
    3535        outline: 0;
    3636}
    … …  
    4242        list-style: none;
    4343}
    44 table { /* tables still need 'cellspacing="0"' in the markup */
    45         border-collapse: separate;
    46         border-spacing: 0;
     44table {/* tables still need 'cellspacing="0"' in the markup */
     45border-collapse: separate;
     46border-spacing: 0;
    4747}
    4848caption, th, td {
    … …  
    291291textarea {
    292292        background: #fafafa;
    293         -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.1);
    294         -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.1);
    295         box-shadow:inset 0 1px 1px rgba(0,0,0,0.1);
     293        -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
     294        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
     295        box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
    296296        border: 1px solid #ddd;
    297297        color: #888;
    … …  
    405405        margin: 0;
    406406        position: absolute;
    407                 top: 3.333em;
    408                 left: 0;
     407        top: 3.333em;
     408        left: 0;
    409409        width: 188px;
    410410        z-index: 99999;
    … …  
    719719        font-size: 18px;
    720720        height: 48px;
     721        overflow: hidden;
    721722        position: absolute;
    722                 top: 0;
    723                 right: 0;
     723        top: 0;
     724        right: 0;
    724725        text-align: center;
    725726        text-decoration: none;
    … …  
    791792.singular .entry-meta .edit-link a {
    792793        position: absolute;
    793                 bottom: auto;
    794                 left: 50px;
    795                 right: auto;
    796                 top: 80px;
     794        bottom: auto;
     795        left: 50px;
     796        right: auto;
     797        top: 80px;
    797798}
    798799
    … …  
    938939        margin: -1.855em -8.9% 1.625em;
    939940        padding: 0 8.9%;
    940 /*      border-top: 5px solid #94BB32;
     941        /* border-top: 5px solid #94BB32;
    941942        -webkit-box-shadow: 0 -5px 0 #506815; */
    942943}
    … …  
    10341035        margin: 1.625em 9% 0 0;
    10351036        position: absolute;
    1036                 top: 0;
    1037                 left: 9%;
     1037        top: 0;
     1038        left: 9%;
    10381039}
    10391040article.feature-image.large .entry-title a {
    … …  
    11091110        padding: 0.3125em 0 0.3125em 1em;
    11101111        position: absolute;
    1111                 bottom: -2px;
    1112                 right: 0;
     1112        bottom: -2px;
     1113        right: 0;
    11131114        text-transform: uppercase;
    11141115        z-index: 1;
    … …  
    11961197.wp-caption .wp-caption-text:before {
    11971198        color: #9b8a62;
    1198         content: '⎯';
     1199        content: '\2014';
    11991200        font-size: 14px;
    12001201        font-style: normal;
    … …  
    12471248        overflow: visible !important;
    12481249        position: absolute;
    1249                 top: -4px;
    1250                 right: 0;
     1250        top: -4px;
     1251        right: 0;
    12511252        z-index: 1000;
    12521253}
    … …  
    14871488        padding: 0;
    14881489        position: absolute;
    1489                 top: 0;
    1490                 left: -102px;
     1490        top: 0;
     1491        left: -102px;
    14911492        -webkit-box-shadow: 0 1px 2px #ccc;
    14921493        -moz-box-shadow: 0 1px 2px #ccc;
    … …  
    16571658        padding: 4px 10px;
    16581659        position: relative;
    1659                 top: 41px;
    1660                 left: 4px;
    1661         width: 60px;
     1660        top: 41px;
     1661        left: 4px;
     1662        min-width: 60px;
    16621663        z-index: 1;
    1663 /*      text-shadow: 1px 1px 1px #fff; */
     1664        /*text-shadow: 1px 1px 1px #fff; */
    16641665}
    16651666#respond input[type="text"]:focus,
    … …  
    16771678        font-weight: bold;
    16781679        position: absolute;
    1679                 top: 52px;
    1680                 left: 68%;
     1680        top: 52px;
     1681        left: 68%;
    16811682        z-index: 1;
    16821683}
    … …  
    17121713        text-shadow: 0 -1px 0 rgba(0,0,0,0.3);
    17131714        position: relative;
    1714                 left: 30px;
     1715        left: 30px;
    17151716}
    17161717#respond input#submit:active {
    … …  
    18941895        .singular .entry-meta .edit-link a {
    18951896                position: absolute;
    1896                         left: 0px;
    1897                         top: 40px;
     1897                left: 0px;
     1898                top: 40px;
    18981899        }
    18991900        .singular #author-info {
Note: See TracChangeset for help on using the changeset viewer.