Skip to content

Commit

Permalink
feat: it's kr-linklist now
Browse files Browse the repository at this point in the history
  • Loading branch information
Candinya committed May 30, 2024
1 parent f194ea2 commit be2290d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion scripts/tag-widgets.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ hexo.once("generateBefore", () => {
break;
}

return `<div class="linklist">
return `<div class="kr-linklist">
<ul class="kr-linklist-container">${inner}</ul>
${appendix}
</div>`;
Expand Down
14 changes: 8 additions & 6 deletions src/scss/kr-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2378,7 +2378,7 @@ body.scroll-down .kr-tool {
}
}

.linklist {
.kr-linklist {
ul {
color: rgba(255, 255, 255, 0.15);
padding: 0;
Expand Down Expand Up @@ -2671,12 +2671,14 @@ body.scroll-down .kr-tool {
}

@media (max-width: 460px) {
.linklist ul li {
width: 97%;
}
.kr-linklist {
ul li {
width: 97%;
}

.linklist ul {
padding-left: 5px;
ul {
padding-left: 5px;
}
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/scss/kr-theme/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ ul.kratos-page-meta {
}
}

.linklist ul li a {
h4 {
.kr-linklist ul li a {
span {
color: $text;
}

Expand Down

0 comments on commit be2290d

Please sign in to comment.