WordPress.org

Making WordPress.org

Changeset 5847


Ignore:
Timestamp:
08/30/2017 11:20:03 PM (2 years ago)
Author:
coffee2code
Message:

wp4.css: Adjust styles for about/books page listings to accommodate multiple lists of books.

Location:
sites/trunk/wordpress.org/public_html/style
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/style/wp4-rtl.css

    r1921 r5847  
    219219}
    220220
    221 #books .image {
     221#pagebody .books .image {
    222222    float: right;
    223223    border-left: 1px solid #dadada;
    224224}
    225225
    226 #books img {
     226#pagebody .books img {
    227227    border: 1px solid #dadada;
    228228}
    229229
    230 #books li {
     230#pagebody .books li {
    231231    border-left-color: #eee;
    232232    border-right-color: #dadada;
     
    234234}
    235235
    236 #books h3 {
     236#pagebody .books h3 {
    237237    font-family:sans-serif;
    238238}
    239239
    240 #books p {
     240#pagebody .books p {
    241241    padding-left: 22px;
    242242    padding-right: 0;
    243243}
    244244
    245 #books .author {
     245#pagebody .books .author {
    246246    font: normal 15px sans-serif;
    247247}
  • sites/trunk/wordpress.org/public_html/style/wp4.css

    r5810 r5847  
    14561456}
    14571457
    1458 ul#books, ul#otherbooks {
     1458.wporg-page-about-books #pagebody h2 {
     1459    margin-bottom: 1em;
     1460}
     1461
     1462#pagebody ul.books, ul#otherbooks {
    14591463    list-style: none;
    14601464    margin: 0;
    14611465}
    14621466
    1463 #books .image, #otherbooks .image {
     1467#pagebody .books .image, #otherbooks .image {
    14641468    width: 200px;
    14651469    display: block;
     
    14701474}
    14711475
    1472 #books img, #otherbooks img {
     1476#pagebody .books img, #otherbooks img {
    14731477    border: 1px solid #dadada;
    14741478}
    14751479
    1476 #books.mobile img {
     1480#pagebody .books.mobile img {
    14771481    border:none;
    14781482}
    14791483
    1480 #books li, #otherbooks li {
     1484#pagebody .books li, #otherbooks li {
    14811485    background: #f5f5f5;
    14821486    border: 1px solid #dadada;
     
    14891493}
    14901494
    1491 #books h3, #otherbooks h3 {
     1495#pagebody .books h3, #otherbooks h3 {
    14921496    margin: 18px 0 5px 0;
    14931497    font: 21px Georgia, Times, "Times New Roman", serif;
     
    15021506}
    15031507
    1504 #books p, #otherbooks p {
     1508#pagebody .books p, #otherbooks p {
    15051509    padding-right: 22px;
    15061510    padding-left: 22px;
     
    15091513}
    15101514
    1511 #books .author, #otherbooks .author {
     1515#pagebody .books .author, #otherbooks .author {
    15121516    font: italic 15px Georgia, Times, "Times New Roman", serif;
    15131517    margin-bottom: 11px;
     
    15151519}
    15161520
    1517 #books .published, #otherbooks .published {
     1521#pagebody .books .published, #otherbooks .published {
    15181522    font-size: 11px;
    15191523    text-transform: uppercase;
     
    15221526}
    15231527
    1524 #books h3 a, #otherbooks h3 a {
     1528#pagebody .books h3 a, #otherbooks h3 a {
    15251529    font-weight: normal;
    15261530}
     
    20072011    background-color: #f1f1f1;
    20082012}
    2009 .wporg-page-mobile ul#books {
     2013.wporg-page-mobile #pagebody ul.books {
    20102014    display: -moz-box;
    20112015    display: -ms-flexbox;
     
    20132017    flex-wrap: wrap;
    20142018}
    2015 .wporg-page-mobile #books li {
     2019.wporg-page-mobile #pagebody .books li {
    20162020    width: 49%;
    20172021    margin-left: 1%;
    20182022    clear: none;
    20192023}
    2020 .wporg-page-mobile #books li:first-child {
     2024.wporg-page-mobile #pagebody .books li:first-child {
    20212025    margin-left: 0;
    20222026    margin-right: 1%;
    20232027}
    2024 .wporg-responsive.wporg-page-mobile #books p {
     2028.wporg-responsive.wporg-page-mobile #pagebody .books p {
    20252029    margin-bottom: 14px;
    20262030}
    2027 .wporg-responsive.wporg-page-mobile #books li {
     2031.wporg-responsive.wporg-page-mobile #pagebody .books li {
    20282032    padding: 0 14px 15px;
    20292033    box-sizing: border-box;
     
    20312035    border: 1px solid #dedede;
    20322036}
    2033 .wporg-responsive.wporg-page-mobile #books h3 {
     2037.wporg-responsive.wporg-page-mobile #pagebody .books h3 {
    20342038    margin-bottom: 15px;
    20352039}
    2036 .wporg-responsive.wporg-page-mobile #books .image {
     2040.wporg-responsive.wporg-page-mobile #pagebody .books .image {
    20372041    float: right;
    20382042    border-right: 0;
     
    21202124    }
    21212125
    2122     .wporg-responsive.wporg-page-mobile #books li {
     2126    .wporg-responsive.wporg-page-mobile #pagebody .books li {
    21232127        width: 100%;
    21242128        margin-left: 0;
     
    22072211    }
    22082212
    2209     .wporg-page-about-books #books li {
     2213    .wporg-page-about-books #pagebody .books li {
    22102214        padding: 0 18px 18px;
    22112215        box-sizing: border-box;
    22122216    }
    2213     .wporg-page-about-books #books .image {
     2217    .wporg-page-about-books #pagebody .books .image {
    22142218        border-right: 0;
    22152219        float: none;
    22162220        width: inherit;
    22172221    }
    2218     .wporg-page-about-books #books p {
     2222    .wporg-page-about-books #pagebody .books p {
    22192223        padding-right: 0;
    22202224        padding-left: 0;
Note: See TracChangeset for help on using the changeset viewer.