Making WordPress.org

Changeset 6175


Ignore:
Timestamp:
11/27/2017 06:49:31 PM (7 years ago)
Author:
obenland
Message:

Themes: Download button styles for Rosetta sites.

See #2861.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/style.css

    r5741 r6175  
    104104.entry-content p {
    105105    margin: 0 0 22px 0;
     106}
     107
     108/* WP.org header download button */
     109#wporg-header .download {
     110    float: right;
     111    height: 34px;
     112    margin-right: 14px;
     113    overflow: hidden;
     114    padding: 0 0 34px;
     115}
     116
     117@media screen and (max-width:820px) {
     118    #wporg-header .download {
     119        display: none;
     120    }
     121}
     122
     123@media screen and (max-width:768px) {
     124    #wporg-header .download {
     125        display: block;
     126        float: none;
     127        margin: 10px 20px 20px;
     128        padding-bottom: 0;
     129        height: auto;
     130    }
     131
     132    #wporg-header .download a {
     133        padding: 4px 10px;
     134    }
     135}
     136
     137#wporg-header .download a {
     138    margin: 0;
     139    padding: 0 16px;
     140}
     141
     142#wporg-header .download a:hover {
     143    color: #eee;
    106144}
    107145
Note: See TracChangeset for help on using the changeset viewer.