💄 Style: change font size of the Collection List and TOC

This commit is contained in:
Cell
2024-07-28 17:11:45 +08:00
parent 16c903fac9
commit 66b86d97cf
2 changed files with 8 additions and 3 deletions
@@ -127,6 +127,7 @@
.collection-name {
flex-grow: 1;
font-weight: bold;
font-size: $collection-title-font-size;
&::before {
content: attr(data-collections) '';
@@ -146,7 +147,7 @@
}
.collection-content {
font-size: $toc-content-font-size;
font-size: $collection-list-font-size;
background-color: darken($global-background-color, 2%);
[data-theme='dark'] & {
+6 -2
View File
@@ -95,8 +95,12 @@ $tag-cloud-end-dark: $global-font-color-dark!default;
// ========== Single Content ========== //
// Font size of the TOC
$toc-title-font-size: 1.2rem !default;
$toc-content-font-size: 1rem !default;
$toc-title-font-size: 1rem !default;
$toc-content-font-size: 0.875rem !default;
// Font size of the Collection List
$collection-title-font-size: 1rem !default;
$collection-list-font-size: 0.875rem !default;
// Color of the single link
$single-link-color: #2376b7 !default; // 花青