Skip to:
Content

BuddyPress.org

Changeset 5733


Ignore:
Timestamp:
02/12/2012 12:34:04 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Tweak responsive styling of bp-default. Fixes #3606. Props kamatosed.

Location:
trunk/bp-themes/bp-default
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/_inc/css/responsive.css

    r5164 r5733  
    5656                margin-bottom: 0;
    5757        }
     58        .wp-caption {
     59                width: 99%!important;
     60        }
     61        .entry {
     62                width: 100%;
     63        }
     64        .entry img {
     65                width: 100%;
     66                height: auto;
     67        }
     68        .wp-caption img {
     69                width: 99%;
     70                height: auto;
     71        }
     72        #footer-widgets {
     73                padding: 19px 10px;
     74        }
    5875}
    5976
    … …  
    7592                margin-bottom: 1.25em;
    7693        }
     94        .wp-caption {
     95                width: 99% !important;
     96        }
     97        .entry {
     98                width: 100%;
     99        }
     100        .entry img {
     101                width: 100%;
     102                height: auto;
     103        }
     104        .wp-caption img {
     105                width: 99%;
     106                height: auto;
     107        }
     108        #footer-widget-area div.widget-area > ul {
     109                float: left;
     110                width: 100%;
     111        }
     112        #footer-widgets {
     113                padding: 19px 10px;
     114        }
    77115}
    78116
    … …  
    142180                float: none;
    143181                width: 100%;
     182        }
     183        .wp-caption {
     184                width: 99% !important;
     185        }
     186        .entry {
     187                width: 100%;
     188        }
     189        .entry img {
     190                width: 100%;
     191                height: auto;
     192        }
     193        .wp-caption img {
     194                width: 99%;
     195                height: auto;
     196        }
     197        #footer-widget-area div.widget-area > ul {
     198                float: left;
     199                width: 100%;
     200        }
     201        #footer-widgets {
     202                padding: 19px 10px;
    144203        }
    145204}
    … …  
    198257                left: 0;
    199258        }
    200 }
     259        div.post .entry {
     260                width: 100%;
     261        }
     262        .wp-caption {
     263                width: 99%!important;
     264        }
     265        .entry {
     266                width: 100%;
     267        }
     268        .entry img {
     269                width: 100%;
     270                height: auto;
     271        }
     272        .wp-caption img {
     273                width: 99%;
     274                height: auto;
     275        }
     276        #footer-widget-area div.widget-area > ul {
     277                float: left;
     278                width: 100%;
     279        }
     280        #footer-widgets {
     281                padding: 19px 10px;
     282        }
     283}
  • trunk/bp-themes/bp-default/header.php

    r5003 r5733  
    44        <head profile="http://gmpg.org/xfn/11">
    55                <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ) ?>; charset=<?php bloginfo( 'charset' ) ?>" />
     6                <?php if ( current_theme_supports( 'bp-default-responsive' ) ) : ?><meta name="viewport" content="width=device-width, initial-scale=1.0"><?php endif; ?>
    67                <title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); ?></title>
    78
Note: See TracChangeset for help on using the changeset viewer.