Skip to:
Content

BuddyPress.org

Changeset 853


Ignore:
Timestamp:
01/16/2009 06:26:50 PM (16 years ago)
Author:
apeatling
Message:

Adding WordPress content formatting styles to home theme CSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/buddypress-theme/buddypress-home/css/base.css

    r727 r853  
    88fieldset, img { border:0 }
    99address, caption, cite, code, dfn, em, strong, th, var { font-style:normal; font-weight:normal }
    10 ol, ul, li { list-style:none }
     10ul { list-style:none }
    1111caption, th { text-align:left }
    1212h1, h2, h3, h4, h5, h6 { font-size:100%; font-weight: normal; }
     
    388388}
    389389
     390
     391/**** POST CONTENT STYLES (WORDPRESS STYLES) *****/
     392
     393    .entry blockquote { width: 230px; font-style: normal !important; font-size: 1.1em !important; margin: 5px 15px 5px 0 !important; padding: 0.5em !important; background: #eee; text-align: center; float: left; }
     394    .entry blockquote.right { width: 230px; font-style: normal !important; font-size: 1.3em !important; margin: 5px 0 5px 15px !important; padding: 0.5em !important; background: #eee; border-width: 3px 0; text-align: center; float: right; }
     395
     396    .entry p { margin: 0 0 15px 0; }
     397
     398    .entry ul, .entry ol { margin: 0 0 15px 40px; }
     399    .entry ul { list-style: disc; }
     400
     401        .entry li { margin: 0 0 5px 0; }
     402            .entry ul li ul, .entry ul li ol, .entry ol li ul, .entry ol li ol { margin: 5px 0 5px 30px; }
     403
     404    .entry dl { margin: 0 0 15px 0; }
     405        .entry dt { font-weight: bold; }
     406        .entry dd { margin: 0 0 15px 20px; }
     407        .entry .gallery dd { margin: 0; }
     408
     409    .entry .ad { margin: 0 0 15px 15px; float: right; }
     410
     411    .entry .ad_left { margin: 0 15px 15px 0; float: left; }
     412
     413    .entry a img { border: 0; }
     414
     415    .entry img.left { padding: 3px; margin: 5px 15px 5px 0; border: 3px double #bbb; float: left; clear: left; }
     416
     417    .entry img.right { padding: 3px; margin: 5px 0 5px 15px; border: 3px double #bbb; float: right; clear: right; }
     418
     419    .entry img.center { display: block; padding: 3px; margin: 0 auto 15px auto; border: 3px double #bbb; float: none; clear: both; }
     420
     421    .entry img.off { padding: 0 !important; border: none !important; }
     422
     423    .entry img.stack { clear: none !important; }
     424
     425    .entry img.wp-smiley { padding: 0 !important; margin: 0 !important; border: none !important; float: none !important; clear: none !important; }
     426
     427    .entry img.centered, img.aligncenter {
     428        display: block;
     429        margin-left: auto;
     430        margin-right: auto;
     431    }
     432
     433    .entry img.alignright {
     434        padding: 4px;
     435        margin: 0 0 2px 7px;
     436        display: inline;
     437    }
     438
     439    .entry img.alignleft {
     440        padding: 4px;
     441        margin: 0 7px 2px 0;
     442        display: inline;
     443    }
     444
     445    .entry .alignright {
     446        float: right;
     447    }
     448
     449    .entry .alignleft {
     450        float: left;
     451    }
     452   
     453    .entry .aligncenter, .entry div.aligncenter {
     454        display: block;
     455        margin-left: auto;
     456        margin-right: auto;
     457    }
     458
     459    .entry .wp-caption {
     460        border: 1px solid #ddd;
     461        text-align: center;
     462        background-color: #f3f3f3;
     463        padding-top: 4px;
     464        margin: 10px;
     465        -moz-border-radius: 3px;
     466        -khtml-border-radius: 3px;
     467        -webkit-border-radius: 3px;
     468        border-radius: 3px;
     469    }
     470
     471    .entry .wp-caption img {
     472        margin: 0;
     473        padding: 0;
     474        border: 0 none;
     475    }
     476
     477    .entry dd.wp-caption p.wp-caption-text, .entry .wp-caption p.wp-caption-text {
     478        font-size: 11px;
     479        line-height: 17px;
     480        padding: 0 4px 5px 0;
     481        margin: 0;
     482    }
     483
     484/*** COMMENT FORM STYLES ****/
     485
    390486textarea#comment {
    391487    width: 100%;
Note: See TracChangeset for help on using the changeset viewer.