mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-11 19:02:23 +01:00
Twenty Thirteen: move word-wrap
rules to parent container of hyphenated text, and hyphenate long comment author names. Props SergeyBiryukov for first patches, fixes #24329.
git-svn-id: http://core.svn.wordpress.org/trunk@24332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
302e0912a3
commit
1657a226a1
@ -971,6 +971,7 @@ ul.nav-menu li:hover > ul,
|
|||||||
|
|
||||||
.hentry {
|
.hentry {
|
||||||
padding: 40px 0;
|
padding: 40px 0;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-header,
|
.entry-header,
|
||||||
@ -1107,7 +1108,6 @@ ul.nav-menu li:hover > ul,
|
|||||||
-moz-hyphens: auto;
|
-moz-hyphens: auto;
|
||||||
-ms-hyphens: auto;
|
-ms-hyphens: auto;
|
||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.entry-content a,
|
.entry-content a,
|
||||||
@ -2272,6 +2272,13 @@ footer.entry-meta {
|
|||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.comment-author .fn {
|
||||||
|
-webkit-hyphens: auto;
|
||||||
|
-moz-hyphens: auto;
|
||||||
|
-ms-hyphens: auto;
|
||||||
|
hyphens: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.comment-author .fn,
|
.comment-author .fn,
|
||||||
.comment-author .url,
|
.comment-author .url,
|
||||||
.comment-reply-link,
|
.comment-reply-link,
|
||||||
@ -2505,6 +2512,7 @@ footer.entry-meta {
|
|||||||
.site-main .widget-area {
|
.site-main .widget-area {
|
||||||
float: right;
|
float: right;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2522,7 +2530,6 @@ footer.entry-meta {
|
|||||||
hyphens: auto;
|
hyphens: auto;
|
||||||
margin: 0 0 24px;
|
margin: 0 0 24px;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
word-wrap: break-word;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget .widget-title {
|
.widget .widget-title {
|
||||||
|
Loading…
Reference in New Issue
Block a user