Making WordPress.org


Ignore:
Timestamp:
03/10/2017 03:13:53 AM (7 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Make single page template consistent with the rest of the forums.

Fixes #2574.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss

    r5120 r5139  
    8080            border: none;
    8181            border-radius: 3px;
    82         }
    83 
    84         div.bbp-template-notice p,
    85         div.bbp-template-notice li {
    86             font-size: 13px;
    87             line-height: 160%;
     82
     83            p,
     84            li {
     85                font-size: 13px;
     86                line-height: 160%;
     87            }
     88
     89            a {
     90                color: $color__wp-blue;
     91
     92                &:hover {
     93                    text-decoration: underline;
     94                    color: $color__wp-blue;
     95                }
     96            }
    8897        }
    8998
     
    387396    }
    388397
    389     main#main {
    390         margin-top: 2rem;
    391         padding: 0 10px 10px;
    392     }
    393 
    394398    h1 {
    395399        font-size: ms(4);
     
    661665}
    662666
    663 
    664 
    665 
    666 /*--------------------------------------------------------------
    667 # .single-forum & .single-topic
    668 --------------------------------------------------------------*/
    669 .single-forum main,
    670 .single-topic main,
    671 .single-reply main,
    672 .forum-archive main,
    673 .topic-tag main,
    674 .topic-tag-edit main,
    675 .reply-edit main,
    676 .bbp-view main,
    677 .bbp-search main {
    678     @extend .clear;
    679 
    680     .entry-content,
    681     .entry-meta {
    682         padding: 0;
    683 
    684         @media(min-width:568px) {
    685             padding: 0 ms(4);
    686         }
    687     }
    688 
    689     > .entry-content {
    690         max-width: 48rem;
    691 
    692         @media screen and ( min-width: $ms-breakpoint ) {
    693             float: left;
    694             padding: 0;
    695             width: 65%;
    696         }
    697     }
    698 
    699     @media screen and ( min-width: $ms-breakpoint ) {
    700         .entry-content,
    701         .entry-meta {
    702             padding-left: 0;
    703             padding-right: 0;
    704         }
    705 
    706         .entry-meta {
    707             float: right;
    708             width: 30%;
    709         }
    710     }
    711 }
    712 
    713 div.bbp-template-notice {
    714     a {
    715         color: $color__wp-blue;
    716 
    717         &:hover {
    718             text-decoration: underline;
    719             color: $color__wp-blue;
    720         }
    721     }
    722 }
    723667
    724668
Note: See TracChangeset for help on using the changeset viewer.