Skip to content

Commit 25f5945

Browse files
committed
fix title word break
1 parent 413ed0f commit 25f5945

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css/default.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ a {color:#4A75B5;text-decoration:none;outline:none;}
3737
a:hover {text-decoration:underline}
3838
a.external {padding-right:13px;background:url('/images/icons.gif') no-repeat right 1px;}
3939
a.external:hover {background-position:right -15px;}
40-
.entry-title,.entry-title a {font-size:30px;font-weight:bold;margin-bottom:6px;color:#000;text-align:center;}
40+
.entry-title,.entry-title a {font-size:30px;font-weight:bold;margin-bottom:6px;color:#000;text-align:center;word-wrap: break-word;}
4141
.entry-title a:hover {text-decoration:none;}
4242
.entry-date {text-align:center;color:#999;margin-bottom:60px;font-size:14px;}
4343

@@ -96,7 +96,7 @@ pre ol{margin-left:25px;list-style-type:decimal;}
9696

9797
.index-content .artical-list { width:70%; margin:0 auto; }
9898
.index-content .artical-list li { margin-bottom:70px; }
99-
.index-content h2 { font-size:20px; margin-bottom:15px; }
99+
.index-content h2 { font-size:20px; margin-bottom:15px; word-break: break-all;}
100100
.index-content h2 a { color:#444 }
101101
.index-content h2 a:hover { color:#E50053; text-decoration:none; }
102102
.index-content .title-desc {color:#999;font-size:14px;line-height:1.6em;}

0 commit comments

Comments
 (0)