Making WordPress.org

Changeset 3940


Ignore:
Timestamp:
09/03/2016 08:47:15 AM (8 years ago)
Author:
ocean90
Message:

Forums Theme: Add responsive styles for topic/reply authors.

Props francescolaffi.
See #1138.

File:
1 edited

Legend:

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

    r3798 r3940  
    248248    }
    249249}
     250
     251@media only screen and (max-width: 480px) {
     252    div.content {
     253        width: 100%;
     254    }
     255
     256    #bbpress-forums .bbp-pagination-count,
     257    #bbpress-forums .bbp-pagination-links {
     258        float: none;
     259    }
     260
     261    #bbpress-forums div.bbp-topic-author img.avatar,
     262    #bbpress-forums div.bbp-reply-author img.avatar {
     263        width: 50px;
     264        height: 50px;
     265        max-width: 50px;
     266        max-height: 50px;
     267    }
     268
     269    #bbpress-forums .bbp-body div.bbp-topic-author,
     270    #bbpress-forums .bbp-body div.bbp-reply-author {
     271        float: none;
     272        width: auto;
     273        padding-left: 70px;
     274    }
     275
     276    #bbpress-forums div.bbp-topic-author a.bbp-author-name,
     277    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
     278        display: block;
     279    }
     280
     281    #bbpress-forums .bbp-author-role {
     282        margin: -20px 0 0;
     283        padding: 0 6px;
     284    }
     285
     286    #bbpress-forums p.bbp-topic-post-date,
     287    #bbpress-forums div.bbp-topic-ip,
     288    #bbpress-forums p.bbp-reply-post-date,
     289    #bbpress-forums div.bbp-reply-ip {
     290        margin: 0;
     291        display: block;
     292    }
     293}
Note: See TracChangeset for help on using the changeset viewer.