Skip to:
Content

BuddyPress.org

Changeset 3687


Ignore:
Timestamp:
01/09/2011 07:21:59 PM (14 years ago)
Author:
djpaul
Message:

Adds .bypostauthor and 'big' CSS styles, and defines $content_width in functions.php, to meet WordPress Theme Review guidelines. Props to karmatosed. Fixes #2748 and #2753.

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

Legend:

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

    r3684 r3687  
    9999    float: left;
    100100    border: 2px solid #eee;
     101}
     102
     103big {
     104    font-size: 18px;
    101105}
    102106
     
    19321936-------------------------------------------------------------- */
    19331937
     1938body.home-page .sticky .date {
     1939    background: #fff9db;
     1940    border-top: 1px solid #ffe8c4;
     1941    border-bottom: 1px solid #ffe8c4;
     1942    color: #ffa200;
     1943    padding: 5px;
     1944}
     1945
    19341946div.post {
    19351947    margin: 0 0 40px 0;
     
    21922204}
    21932205
     2206.commentlist .bypostauthor {
     2207}
     2208
    21942209ol.commentlist li {
    21952210    margin: 0 0 30px 0;
     2211}
     2212
     2213ol.commentlist ul.children {
     2214    margin-left: 105px;
    21962215}
    21972216
     
    22112230div.comment-options {
    22122231    border-bottom: none;
    2213 }
    2214 
    2215 ol.commentlist ul.children {
    2216     margin-left: 105px;
    22172232}
    22182233
  • trunk/bp-themes/bp-default/functions.php

    r3682 r3687  
    2727 * @since 1.2
    2828 */
     29
     30/**
     31 * Set the content width based on the theme's design and stylesheet.
     32 *
     33 * Used to set the width of images and content. Should be equal to the width the theme
     34 * is designed for, generally via the style.css stylesheet.
     35 */
     36if ( ! isset( $content_width ) )
     37    $content_width = 591;
    2938
    3039if ( !function_exists( 'bp_dtheme_setup' ) ) :
Note: See TracChangeset for help on using the changeset viewer.