diff --git a/layout/includes/_partials/information_card.pug b/layout/includes/_partials/information_card.pug index d8c307e..a001d81 100644 --- a/layout/includes/_partials/information_card.pug +++ b/layout/includes/_partials/information_card.pug @@ -2,32 +2,34 @@ include titled_card.pug include data_row.pug .information-card - +titled_card("Information - 信息") + +titled_card("Status") .information-content .avatar-box .avatar-img - img(src="https://oss-img.ciduid.top/aether/square.jpg") + img(src=theme.avatar) .personal-information - span.name lensfrex - span.sign 好好好,好好好,好好好好好好好 + span.name= config.author + span.sign= config.description hr - +data_row("文章数", 12) - +data_row("总字数", "16k") - +data_row("全站访问次数", "16k") + +data_row("页面创建", page.date) + +data_row("页面更新", page.updated) hr - +data_row("文章数", 12) - +data_row("总字数", "16k") - +data_row("全站访问次数", "16k") + +data_row("文章", site.posts.length) + +data_row("页面", site.pages.length) + +data_row("标签", site.tags.length) + +data_row("分类", site.categories.length) + + hr + +data_row("文章数", 12) +data_row("总字数", "16k") +data_row("全站访问次数", "16k") hr - +data_row("文章数", 12) - +data_row("总字数", "16k") + span.no-error-declaration NO ERROR \ No newline at end of file diff --git a/source/css/_partials/information_card.styl b/source/css/_partials/information_card.styl index 55dc65d..8577032 100644 --- a/source/css/_partials/information_card.styl +++ b/source/css/_partials/information_card.styl @@ -1,6 +1,7 @@ .information-content display: flex flex-direction: column + gap: 2px // filter: drop-shadow(0.8px 0.8px 0.8px); .avatar-box display: flex @@ -25,3 +26,11 @@ .data-row justify-content: space-between + + span.no-error-declaration + margin: 32px 0 + text-align: center + font-weight: bold + font-size: 20px + user-select: none + letter-spacing: 2px \ No newline at end of file diff --git a/source/css/_partials/titled_card.styl b/source/css/_partials/titled_card.styl index e1c7a13..31dfcf8 100644 --- a/source/css/_partials/titled_card.styl +++ b/source/css/_partials/titled_card.styl @@ -5,6 +5,8 @@ color: rgb(231, 225, 199) padding: 0.5em 1em user-select: none + font-weight: bold + letter-spacing: 0.5px .card-content padding: 0.5em 1em color: rgb(74, 71, 62) \ No newline at end of file diff --git a/source/css/common.styl b/source/css/common.styl index af7ab63..c06befd 100644 --- a/source/css/common.styl +++ b/source/css/common.styl @@ -9,6 +9,10 @@ body background-size: .4rem .4rem margin: 0 +body > * ::selection + background-color: rgb(74, 71, 62) + color: rgb(231, 225, 199) + #container padding: 1.5% 2% 2% 2% @@ -36,7 +40,17 @@ span::selection margin: 0 -2% 0 * - box-sizing: border-box + &::-webkit-scrollbar-button + border-radius: 10px; + border-spacing: 10px; + background-color: rgb(74 71 62); + width: 10px; + height: 10px; + &::-webkit-scrollbar-thumb + border-radius: 0px; + background: rgb(74 71 62); + &::-webkit-scrollbar + width: 10px; @import '_partials/header/*' @import '_partials/*' \ No newline at end of file