Make WordPress Core

Changeset 21726


Ignore:
Timestamp:
09/04/2012 05:00:19 AM (12 years ago)
Author:
lancewillett
Message:

Twenty Twelve: add support for Status post format. See #21743.

Location:
trunk/wp-content/themes/twentytwelve
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/functions.php

    r21668 r21726  
    5959
    6060    // This theme supports a variety of post formats.
    61     add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote' ) );
     61    add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote', 'status' ) );
    6262
    6363    // This theme uses wp_nav_menu() in one location.
  • trunk/wp-content/themes/twentytwelve/rtl.css

    r21667 r21726  
    7878}
    7979
    80 /* =Aside post styling
    81 -------------------------------------------------------------- */
    82 
     80
     81/* Aside posts */
    8382article.format-aside .aside {
    8483    border-right: 22px solid #a8bfe8;
     
    8685}
    8786
    88 
    89 /* =Link post styling
    90 -------------------------------------------------------------- */
    91 
     87/* Link posts */
    9288article.format-link header {
    9389    float: left;
     
    9692    float: right;
    9793}
     94
     95/* Status posts */
     96.format-status .entry-content p {
     97    margin-left: 48px;
     98    margin-left: 3.428571429rem;
     99    margin-right: auto;
     100}
     101.format-status div.avatar {
     102    float: left;
     103    margin-left: auto;
     104    margin-right: 14px;
     105    margin-right: 1rem;
     106}
     107
    98108
    99109/* =Comment styling
  • trunk/wp-content/themes/twentytwelve/style.css

    r21725 r21726  
    187187/* Shared Post Format styling */
    188188article.format-quote footer.entry-meta,
    189 article.format-link footer.entry-meta {
     189article.format-link footer.entry-meta,
     190article.format-status footer.entry-meta {
    190191    font-size: 11px;
    191192    font-size: 0.785714286rem;
     
    10161017}
    10171018
     1019/* Status posts */
     1020.format-status .entry-content p {
     1021    margin-right: 48px;
     1022    margin-right: 3.428571429rem;
     1023}
     1024.format-status div.avatar {
     1025    float: right;
     1026    margin-left: 14px;
     1027    margin-left: 1rem;
     1028}
     1029
    10181030
    10191031/* =Comments
Note: See TracChangeset for help on using the changeset viewer.