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
.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

@ -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

@ -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)

@ -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/*'
Loading…
Cancel
Save