fix #116
This commit is contained in:
parent
5948f527c4
commit
a51ef9077e
|
@ -548,7 +548,7 @@ function get_link_items(){
|
|||
$linkcats = get_terms( 'link_category' );
|
||||
if ( !empty($linkcats) ) {
|
||||
foreach( $linkcats as $linkcat){
|
||||
$result .= '<h3 class="link-title">'.$linkcat->name.'</h3>';
|
||||
$result .= '<h3 class="link-title"><span class="link-fix">'.$linkcat->name.'</span></h3>';
|
||||
if( $linkcat->description ) $result .= '<div class="link-description">' . $linkcat->description . '</div>';
|
||||
$result .= get_the_link_items($linkcat->term_id);
|
||||
}
|
||||
|
|
|
@ -547,7 +547,7 @@ function tableOfContentScroll(flag) {
|
|||
} else {
|
||||
if (flag) {
|
||||
var id = 1,
|
||||
heading_fix=$("div").hasClass("pattern-attachment-img") ? -75 : 200;
|
||||
heading_fix=$("article").hasClass("type-post") ? $("div").hasClass("pattern-attachment-img") ? -75 : 200 : 375;
|
||||
$(".entry-content , .links").children("h1,h2,h3,h4,h5").each(function() {
|
||||
var hyphenated = "toc-head-" + id;
|
||||
this.id = hyphenated;
|
||||
|
|
|
@ -2981,10 +2981,15 @@ span.sitename {
|
|||
font-weight: 400;
|
||||
color: #6D6D6D;
|
||||
padding-left: 10px;
|
||||
border-left: 3px solid orange;
|
||||
border-left: none;
|
||||
margin: 50px 0 20px
|
||||
}
|
||||
|
||||
.link-title span.link-fix {
|
||||
padding-left:10px;
|
||||
border-left:3px solid orange;
|
||||
}
|
||||
|
||||
.links ul li:before {
|
||||
content: "";
|
||||
background-color: orange;
|
||||
|
|
Loading…
Reference in New Issue