Making WordPress.org


Ignore:
Timestamp:
11/09/2018 05:30:18 PM (5 years ago)
Author:
coffee2code
Message:

Support Theme: Limit HelpHub-specific styles to HelpHub sections.

Props SergeyBiryukov, coffee2code.
See #3485.

File:
1 edited

Legend:

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

    r7835 r7836  
    31833183
    31843184/*--------------------------------------------------------------
    3185 # .single
     3185# .helphub-page
    31863186# .page
    31873187--------------------------------------------------------------*/
    3188 .single .entry-header,
     3188.helphub-page .entry-header,
    31893189.page .entry-header {
    31903190    margin-top: 2rem;
    31913191}
    31923192
    3193 .single .entry-header .entry-title,
     3193.helphub-page .entry-header .entry-title,
    31943194.page .entry-header .entry-title {
    31953195    font-size: 1.5625rem;
     
    32003200
    32013201@media screen and (min-width: 48em) {
    3202     .single .entry-header .entry-title,
     3202    .helphub-page .entry-header .entry-title,
    32033203    .page .entry-header .entry-title {
    32043204        padding: 0 2rem;
    3205         margin: 0;
    3206         width: 65%;
    3207     }
    3208 }
    3209 
    3210 .single .entry-content h2,
     3205    }
     3206}
     3207
     3208.helphub-page .entry-content h2,
    32113209.page .entry-content h2 {
    32123210    font-size: 1.5625rem;
     
    32143212}
    32153213
    3216 .single .entry-content h3,
     3214.helphub-page .entry-content h3,
    32173215.page .entry-content h3 {
    32183216    font-size: 1rem;
     
    32223220}
    32233221
    3224 .single .entry-content a,
     3222.helphub-page .entry-content a,
    32253223.page .entry-content a {
    32263224    text-decoration: underline;
    32273225}
    32283226
    3229 .single .entry-content section,
     3227.helphub-page .entry-content section,
    32303228.page .entry-content section {
    32313229    padding: 2rem 0;
    32323230}
    32333231
    3234 .single .entry-content section .container,
     3232.helphub-page .entry-content section .container,
    32353233.page .entry-content section .container {
    32363234    margin: 0 auto;
     
    32393237
    32403238@media screen and (min-width: 48em) {
    3241     .single .entry-content section .container,
     3239    .helphub-page .entry-content section .container,
    32423240    .page .entry-content section .container {
    32433241        padding: 0 2rem;
    3244         margin: 0;
    3245         width: 65%;
    3246     }
    3247 }
    3248 
    3249 .single .entry-content section:first-of-type,
     3242    }
     3243}
     3244
     3245.helphub-page .entry-content section:first-of-type,
    32503246.page .entry-content section:first-of-type {
    32513247    padding-top: 0;
    32523248}
    32533249
    3254 .single .entry-content section + section,
     3250.helphub-page .entry-content section + section,
    32553251.page .entry-content section + section {
    32563252    border-top: 2px solid #eee;
    32573253}
    32583254
    3259 .single .submenu,
     3255.helphub-page .submenu,
    32603256.page .submenu {
    32613257    margin-right: 0;
    32623258}
    32633259
    3264 .single .submenu li,
     3260.helphub-page .submenu li,
    32653261.page .submenu li {
    32663262    border-bottom: 1px solid #dedede;
     
    32703266}
    32713267
    3272 .single .submenu li.current,
     3268.helphub-page .submenu li.current,
    32733269.page .submenu li.current {
    32743270    font-weight: 700;
    32753271}
    32763272
    3277 .single .submenu li:last-child,
     3273.helphub-page .submenu li:last-child,
    32783274.page .submenu li:last-child {
    32793275    border-bottom: 0;
    32803276}
    32813277
    3282 .single .submenu li ul,
     3278.helphub-page .submenu li ul,
    32833279.page .submenu li ul {
    32843280    margin-right: 16px;
    32853281}
    32863282
    3287 .single .submenu li ul li,
     3283.helphub-page .submenu li ul li,
    32883284.page .submenu li ul li {
    32893285    border: none;
     
    44484444}
    44494445
     4446@media screen and (min-width: 48em) {
     4447    .helphub-page .entry-header .entry-title {
     4448        margin: 0;
     4449        width: 65%;
     4450    }
     4451}
     4452
     4453@media screen and (min-width: 48em) {
     4454    .helphub-page .entry-content section .container {
     4455        margin: 0;
     4456        width: 65%;
     4457    }
     4458}
     4459
    44504460/*--------------------------------------------------------------
    44514461# Infinite scroll
Note: See TracChangeset for help on using the changeset viewer.