lensfrex 1 year ago
parent 6365b322be
commit da59462af1
Signed by: lensfrex
GPG Key ID: 0F69A0A2FBEE98A0
  1. 26
      layout/includes/_partials/information_card.pug
  2. 9
      source/css/_partials/information_card.styl
  3. 2
      source/css/_partials/titled_card.styl
  4. 16
      source/css/common.styl

@ -2,32 +2,34 @@ include titled_card.pug
include data_row.pug include data_row.pug
.information-card .information-card
+titled_card("Information - 信息") +titled_card("Status")
.information-content .information-content
.avatar-box .avatar-box
.avatar-img .avatar-img
img(src="https://oss-img.ciduid.top/aether/square.jpg") img(src=theme.avatar)
.personal-information .personal-information
span.name lensfrex span.name= config.author
span.sign 好好好,好好好,好好好好好好好 span.sign= config.description
hr hr
+data_row("文章数", 12) +data_row("页面创建", page.date)
+data_row("总字数", "16k") +data_row("页面更新", page.updated)
+data_row("全站访问次数", "16k")
hr hr
+data_row("文章数", 12) +data_row("文章", site.posts.length)
+data_row("总字数", "16k") +data_row("页面", site.pages.length)
+data_row("全站访问次数", "16k") +data_row("标签", site.tags.length)
+data_row("分类", site.categories.length)
hr
+data_row("文章数", 12) +data_row("文章数", 12)
+data_row("总字数", "16k") +data_row("总字数", "16k")
+data_row("全站访问次数", "16k") +data_row("全站访问次数", "16k")
hr hr
+data_row("文章数", 12) span.no-error-declaration NO ERROR
+data_row("总字数", "16k")

@ -1,6 +1,7 @@
.information-content .information-content
display: flex display: flex
flex-direction: column flex-direction: column
gap: 2px
// filter: drop-shadow(0.8px 0.8px 0.8px); // filter: drop-shadow(0.8px 0.8px 0.8px);
.avatar-box .avatar-box
display: flex display: flex
@ -25,3 +26,11 @@
.data-row .data-row
justify-content: space-between 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

@ -5,6 +5,8 @@
color: rgb(231, 225, 199) color: rgb(231, 225, 199)
padding: 0.5em 1em padding: 0.5em 1em
user-select: none user-select: none
font-weight: bold
letter-spacing: 0.5px
.card-content .card-content
padding: 0.5em 1em padding: 0.5em 1em
color: rgb(74, 71, 62) color: rgb(74, 71, 62)

@ -9,6 +9,10 @@ body
background-size: .4rem .4rem background-size: .4rem .4rem
margin: 0 margin: 0
body > * ::selection
background-color: rgb(74, 71, 62)
color: rgb(231, 225, 199)
#container #container
padding: 1.5% 2% 2% 2% padding: 1.5% 2% 2% 2%
@ -36,7 +40,17 @@ span::selection
margin: 0 -2% 0 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/header/*'
@import '_partials/*' @import '_partials/*'
Loading…
Cancel
Save