Making WordPress.org

Changeset 1259


Ignore:
Timestamp:
02/16/2015 09:26:48 PM (11 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org: 100% widths for wrapper elements to help with responsive'ish layout. Props _DorsVenabili. See #691.

Location:
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions.php

    r1161 r1259  
    3434
    3535        // Version of CSS
    36         $version = '20140613a';
     36        $version = '20150216a';
    3737
    3838        // Base theme styling
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/style.css

    r1204 r1259  
    6464}
    6565
     66@media only screen
     67        and ( min-device-width : 240px )
     68        and ( max-device-width : 860px ) {
     69        #header-inner {
     70                height: 140px;
     71                margin: 0 auto;
     72                padding: 0;
     73                width: 100%;
     74        }
     75}
     76
     77body.bbpress #main,
     78body.buddypress #main {
     79        width: 100%;
     80}
    6681body.page-template-page-homepage-php #header {
    6782        position: relative;
     
    7186#header-inner {
    7287        margin: 0 auto;
    73         width: 960px;
     88        width: 100%;
    7489        height: 80px;
    7590        padding: 0;
     
    91106#headline-inner {
    92107        margin: 0 auto;
    93         width: 960px;
     108        width: 100%;
    94109        height: 400px;
    95110        padding: 0 10px;
     
    136151#showcase-inner {
    137152        margin: 0 auto;
    138         width: 960px;
     153        width: 100%;
    139154        padding: 20px 0 0;
    140155}
     
    152167#main {
    153168        margin: 0 auto;
    154         width: 960px;
     169        width: 100%;
    155170        padding: 24px 0;
    156171        position: relative;
    157172}
    158173#footer {
    159         width: 960px;
     174        width: 100%;
    160175        padding: 24px 0;
    161176        font-size: 12px;
     
    234249/* Screenshots */
    235250div.screenshot {
    236         width: 960px;
     251        width: 100%;
    237252        background-position: 0 0;
    238253        background-repeat: no-repeat;
     
    386401}
    387402#subnav-inner {
    388         width: 960px;
     403        width: 100%;
    389404        margin: 0 auto;
    390405        padding: 5px 0;
     
    750765        margin-left: auto;
    751766        margin-right: auto;
     767}
     768.attachment {
     769        display: block;
    752770}
    753771.alignright {
Note: See TracChangeset for help on using the changeset viewer.