Making WordPress.org

Ticket #1138: 1138-20160630.diff

File 1138-20160630.diff, 1.2 KB (added by francescolaffi, 7 years ago)

topic view author/replier wrap responsive styles

  • wp-content/themes/pub/wporg-forums/style.css

     
    239239                width: 212px;
    240240        }
    241241}
     242
     243@media only screen and (max-width: 480px) {
     244        div.content {
     245                width: 100%;
     246        }
     247
     248        #bbpress-forums .bbp-pagination-count,
     249        #bbpress-forums .bbp-pagination-links {
     250                float: none;
     251        }
     252
     253        #bbpress-forums .bbp-body div.bbp-topic-author,
     254        #bbpress-forums .bbp-body div.bbp-reply-author {
     255                float: none;
     256                width: auto;
     257                padding-left: 120px;
     258        }
     259
     260        #bbpress-forums div.bbp-topic-author a.bbp-author-name,
     261        #bbpress-forums div.bbp-reply-author a.bbp-author-name {
     262                display: block;
     263        }
     264
     265        #bbpress-forums .bbp-author-role {
     266                margin-left: 0;
     267                margin-right: 0;
     268                padding: 0 6px;
     269        }
     270
     271        #bbpress-forums p.bbp-topic-post-date,
     272        #bbpress-forums div.bbp-topic-ip,
     273        #bbpress-forums p.bbp-reply-post-date,
     274        #bbpress-forums div.bbp-reply-ip {
     275                margin-right: 0;
     276        }
     277
     278        #bbpress-forums .bbp-body div.bbp-topic-content,
     279        #bbpress-forums .bbp-body div.bbp-reply-content {
     280                padding-top: 12px;
     281        }
     282}