From 1b90f1ef84594d22be07236731f76748394dc388 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 21 Sep 2012 16:39:38 +0000 Subject: [PATCH] Twenty Twelve: change author template markup to use classes instead of IDs, fixes #21937. git-svn-id: http://core.svn.wordpress.org/trunk@21941 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- author.php | 12 ++++++------ content.php | 16 ++++++++-------- rtl.css | 4 ++-- style.css | 20 ++++++++++---------- 4 files changed, 26 insertions(+), 26 deletions(-) diff --git a/author.php b/author.php index bf77d7be8..36df061f7 100644 --- a/author.php +++ b/author.php @@ -41,15 +41,15 @@ get_header(); ?> -
-
+
+
-
-
+
+

-
-
+
+
diff --git a/content.php b/content.php index 7191a463e..90cd694be 100644 --- a/content.php +++ b/content.php @@ -45,20 +45,20 @@ ', '' ); ?> -
- +
diff --git a/rtl.css b/rtl.css index 3e9a7df1b..0a8969449 100644 --- a/rtl.css +++ b/rtl.css @@ -43,10 +43,10 @@ td { } /* Author profiles */ -#author-avatar { +.author-avatar { float: right; } -#author-description { +.author-description { float: right; margin-right: 15px; margin-right: 1.071428571rem; diff --git a/style.css b/style.css index 4c7a4c997..24cc4b81d 100644 --- a/style.css +++ b/style.css @@ -324,7 +324,7 @@ video { .comment-content img, .widget img, img.header-image, -#author-avatar img, +.author-avatar img, img.wp-post-image { /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */ border-radius: 3px; @@ -410,7 +410,7 @@ img.wp-smiley, margin-bottom: 24px; margin-bottom: 1.714285714rem; } -#author-info { +.author-info { border-top: 1px solid #ededed; margin: 24px 0; margin: 1.714285714rem 0; @@ -418,18 +418,18 @@ img.wp-smiley, padding-top: 1.714285714rem; overflow: hidden; } -#author-description p { +.author-description p { color: #777; font-size: 13px; font-size: 0.928571429rem; line-height: 1.846153846; } -.author.archive #author-info { +.author.archive .author-info { border-top: 0; margin: 0 0 48px; margin: 0 0 3.428571429rem; } -.author.archive #author-avatar { +.author.archive .author-avatar { margin-top: 0; } @@ -1340,12 +1340,12 @@ img#wpstats { /* Minimum width of 600 pixels. */ @media screen and (min-width: 600px) { - #author-avatar { + .author-avatar { float: left; margin-top: 8px; margin-top: 0.571428571rem; } - #author-description { + .author-description { float: right; width: 80%; } @@ -1541,7 +1541,7 @@ img#wpstats { } .entry-content img, .comment-content img, - #author-avatar img, + .author-avatar img, img.wp-post-image { border-radius: 0; box-shadow: none; @@ -1567,7 +1567,7 @@ img#wpstats { font-size: 10pt; text-align: left; } - #author-avatar, + .author-avatar, #colophon, #respond, .commentlist .comment-edit-link, @@ -1615,7 +1615,7 @@ img#wpstats { color: #444; font-size: 10pt; } - #author-description { + .author-description { float: none; width: auto; }