Twenty Fourteen: use a more specific selector for tag links.

props iamtakashi.
fixes #26358.
Built from https://develop.svn.wordpress.org/trunk@26545


git-svn-id: http://core.svn.wordpress.org/trunk@26437 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2013-12-02 23:15:10 +00:00
parent 804be8b332
commit b5ce3e6c96
4 changed files with 14 additions and 14 deletions

View File

@ -936,7 +936,7 @@ a.post-thumbnail:hover {
margin: 0 auto; margin: 0 auto;
} }
.ie7 .tag-links a { .ie7 .entry-meta .tag-links a {
margin-left: 0; margin-left: 0;
} }
@ -1159,7 +1159,7 @@ a.post-thumbnail:hover {
left: auto; left: auto;
} }
.ie8 .rtl .tag-links a:before { .ie8 .rtl .entry-meta .tag-links a:before {
right: -8px; right: -8px;
} }
@ -1303,7 +1303,7 @@ a.post-thumbnail:hover {
margin: -24px auto 0; margin: -24px auto 0;
} }
.ie7 .rtl .tag-links a { .ie7 .rtl .entry-meta .tag-links a {
margin-right: 0; margin-right: 0;
margin-left: auto; margin-left: auto;
} }

View File

@ -279,7 +279,7 @@ function twentyfourteen_customizer_styles() {
border-color: ' . $accent_mid . '; border-color: ' . $accent_mid . ';
} }
.tag-links a:hover:before { .entry-meta .tag-links a:hover:before {
border-right-color: ' . $accent_mid . '; border-right-color: ' . $accent_mid . ';
} }

View File

@ -128,23 +128,23 @@ td {
* ----------------------------------------------------------------------------- * -----------------------------------------------------------------------------
*/ */
.tag-links a { .entry-meta .tag-links a {
margin: 0 10px 4px 4px; margin: 0 10px 4px 4px;
} }
.tag-links a:before { .entry-meta .tag-links a:before {
border-right: 0; border-right: 0;
border-left: 8px solid #767676; border-left: 8px solid #767676;
right: -7px; right: -7px;
left: auto; left: auto;
} }
.tag-links a:hover:before, .entry-meta .tag-links a:hover:before,
.tag-links a:focus:before { .entry-meta .tag-links a:focus:before {
border-left-color: #41a62a; border-left-color: #41a62a;
} }
.tag-links a:after { .entry-meta .tag-links a:after {
right: -2px; right: -2px;
left: auto; left: auto;
} }

View File

@ -1144,7 +1144,7 @@ a.post-thumbnail:hover {
/* Tag links style */ /* Tag links style */
.tag-links a { .entry-meta .tag-links a {
background-color: #767676; background-color: #767676;
border-radius: 0 2px 2px 0; border-radius: 0 2px 2px 0;
color: #fff; color: #fff;
@ -1163,7 +1163,7 @@ a.post-thumbnail:hover {
color: #fff; color: #fff;
} }
.tag-links a:before { .entry-meta .tag-links a:before {
border-top: 10px solid transparent; border-top: 10px solid transparent;
border-right: 8px solid #767676; border-right: 8px solid #767676;
border-bottom: 10px solid transparent; border-bottom: 10px solid transparent;
@ -1175,11 +1175,11 @@ a.post-thumbnail:hover {
width: 0; width: 0;
} }
.tag-links a:hover:before { .entry-meta .tag-links a:hover:before {
border-right-color: #41a62a; border-right-color: #41a62a;
} }
.tag-links a:after { .entry-meta .tag-links a:after {
background-color: #fff; background-color: #fff;
border-radius: 50%; border-radius: 50%;
content: ""; content: "";
@ -4019,7 +4019,7 @@ a.post-thumbnail:hover {
margin: 24px auto; margin: 24px auto;
} }
.tag-links a { .entry-meta .tag-links a {
color: #fff; color: #fff;
} }