diff --git a/content-status.php b/content-status.php new file mode 100755 index 000000000..be6b8341f --- /dev/null +++ b/content-status.php @@ -0,0 +1,21 @@ + + +
> +
+
+ →', 'twentytwelve' ) ); ?> +
+ + +
diff --git a/functions.php b/functions.php index d516090f6..52f51b434 100644 --- a/functions.php +++ b/functions.php @@ -58,7 +58,7 @@ function twentytwelve_setup() { add_theme_support( 'automatic-feed-links' ); // This theme supports a variety of post formats. - add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote' ) ); + add_theme_support( 'post-formats', array( 'aside', 'image', 'link', 'quote', 'status' ) ); // This theme uses wp_nav_menu() in one location. register_nav_menu( 'primary', __( 'Primary Menu', 'twentytwelve' ) ); diff --git a/rtl.css b/rtl.css index 15643d779..f3f9df709 100644 --- a/rtl.css +++ b/rtl.css @@ -77,18 +77,14 @@ td { padding: 6px 0 6px 10px; } -/* =Aside post styling --------------------------------------------------------------- */ +/* Aside posts */ article.format-aside .aside { border-right: 22px solid #a8bfe8; border-left: none; } - -/* =Link post styling --------------------------------------------------------------- */ - +/* Link posts */ article.format-link header { float: left; } @@ -96,6 +92,20 @@ article.format-link .entry-content { float: right; } +/* Status posts */ +.format-status .entry-content p { + margin-left: 48px; + margin-left: 3.428571429rem; + margin-right: auto; +} +.format-status div.avatar { + float: left; + margin-left: auto; + margin-right: 14px; + margin-right: 1rem; +} + + /* =Comment styling -------------------------------------------------------------- */ diff --git a/style.css b/style.css index 8fef2f859..aac779636 100644 --- a/style.css +++ b/style.css @@ -186,7 +186,8 @@ img { /* Shared Post Format styling */ article.format-quote footer.entry-meta, -article.format-link footer.entry-meta { +article.format-link footer.entry-meta, +article.format-status footer.entry-meta { font-size: 11px; font-size: 0.785714286rem; line-height: 2.181818182; @@ -1015,6 +1016,17 @@ article.format-quote .entry-content blockquote { background: #efefef; } +/* Status posts */ +.format-status .entry-content p { + margin-right: 48px; + margin-right: 3.428571429rem; +} +.format-status div.avatar { + float: right; + margin-left: 14px; + margin-left: 1rem; +} + /* =Comments -------------------------------------------------------------- */