Making WordPress.org

Ticket #4601: 4601.5.patch

File 4601.5.patch, 2.7 KB (added by imath, 5 years ago)
  • buddypress.org/public_html/wp-content/themes/bporg-developer/css/style.css

    diff --git buddypress.org/public_html/wp-content/themes/bporg-developer/css/style.css buddypress.org/public_html/wp-content/themes/bporg-developer/css/style.css
    index 222b24234..9e9a3a938 100644
     
    1 html {
    2         font-size: 62.5%;
    3         line-height: 1.5;
    4 }
    5 
    61#header {
    72        background-color: #be3631;
    83        border-bottom: 1px solid #9e1611;
    94        width: 100%;
    105        z-index: 99;
    116        font-size: 13px;
     7        position: fixed;
     8        top: 0;
     9}
     10
     11#header-inner {
     12        margin: 0 auto;
     13        width: 100%;
     14        height: 80px;
     15        padding: 0;
    1216}
    1317
    1418body.admin-bar header#masthead {
    15         margin-top: 124px;
     19        margin-top: 123px;
     20}
     21
     22#wp-toolbar, #header-inner {
     23        margin: 0 auto;
     24}
     25
     26#wp-admin-bar-my-account img.avatar {
     27        border-radius: 50%;
     28}
     29
     30@media screen and (min-width: 960px) {
     31        #header-inner, #footer, #wp-toolbar {
     32                max-width: 960px;
     33        }
     34}
     35
     36@media screen and (max-width: 600px) {
     37        #header {
     38                position: absolute;
     39        }
    1640}
    1741
    1842#header #network-title {
    body .meta a, 
    250274        margin: 0;
    251275}
    252276
    253 @media screen and ( min-width: 960px ) {
    254         #content,
    255         div.content,
    256         div.site-content,
    257         .devhub-wrap #content-area,
    258         .devhub-wrap .inner-wrap {
    259                 width: 960px;
    260                 margin: 0 auto;
    261                 max-width: 100%;
    262         }
    263 }
    264 
    265277/* Shrink logo to make room for navigation */
    266278@media screen and ( max-width: 820px ) {
    267279        #header-inner #network-title a {
    body .meta a, 
    271283
    272284/* Do not fix #header for non-desktops */
    273285@media screen and ( max-width: 782px ) {
    274         #header #bb-nav {
     286        #header {
    275287                z-index: 999999;
    276288        }
    277289        #main {
    body .meta a, 
    303315                position: absolute;
    304316                width: 100%;
    305317                right: 0;
     318                top: 81px;
    306319                border-bottom: 1px solid #aaa;
    307320        }
    308321        #header #bb-nav li {
  • buddypress.org/public_html/wp-content/themes/bporg-developer/functions.php

    diff --git buddypress.org/public_html/wp-content/themes/bporg-developer/functions.php buddypress.org/public_html/wp-content/themes/bporg-developer/functions.php
    index db2ecab9b..bbe570a00 100644
    defined( 'ABSPATH' ) || exit; 
    1616 * @since 1.0.0
    1717 */
    1818function bporg_developer_enqueue_styles() {
    19         wp_enqueue_style( 'bb-base', content_url( 'themes' ) . '/bb-base/style.css' );
    2019        wp_enqueue_style( 'wporg-developer', get_template_directory_uri() . '/style.css' );
    2120        wp_enqueue_style( 'bporg-developer-main',
    2221                get_stylesheet_directory_uri() . '/css/style.css',
    23                 array( 'wp-dev-sass-compiled', 'dashicons', 'bb-base' ),
     22                array( 'wp-dev-sass-compiled', 'dashicons' ),
    2423                wp_get_theme()->get( 'Version' )
    2524        );
    2625}