Skip to content

Commit

Permalink
add new style for sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyueyi committed Jul 14, 2022
1 parent fa5241a commit 635127e
Show file tree
Hide file tree
Showing 16 changed files with 27,916 additions and 161 deletions.
33 changes: 32 additions & 1 deletion assets/scss/_variables_project.scss
Expand Up @@ -31,4 +31,35 @@ Add styles or override variables from the theme here.
.visit_cnt {
color: #e96900;
font-size: 1.4em;
}
}

.td-sidebar-nav-active-item {
color: #ffa630;
span {
color: #ffa630;
}
}

.td-sidebar-link__section {
font-size: 1em;
font-weight: 700;
padding: 0.15rem 1.5rem 0.15rem 1.25rem;
border-left: 0.25rem solid transparent;

.td-sidebar-nav-active-item {
color: #ffa630;
span {
color: #ffa630;
}
}
span {
color: #2c3e50;
}
}

.td-sidebar-link__page {
font-size: 0.9em;
padding: 0.15rem 1.5rem 0.15rem 1.25rem;
border-left: 0.25rem solid transparent;
}

3 changes: 1 addition & 2 deletions content/zh-cn/community/_index.md
@@ -1,9 +1,8 @@
---
title: 交流
title: 免费电子书
# menu:
# main:
# weight: 40
---

<!--add blocks of content here to add more sections to the community page -->

5 changes: 5 additions & 0 deletions content/zh-cn/ebooks/_index.md
@@ -0,0 +1,5 @@
---
title: EBooks
---

读书 & 随笔
731 changes: 731 additions & 0 deletions content/zh-cn/ebooks/免费电子书.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions content/zh-cn/quick-forum/_index.html
Expand Up @@ -9,3 +9,5 @@
手把手从0到1教你实现一个社区系统

{{% /blocks/lead %}}

> https://github.com/EbookFoundation/free-programming-books/blob/main/books/free-programming-books-zh.md

0 comments on commit 635127e

Please sign in to comment.