2021-11-06 16:00:03 +08:00
|
|
|
.post-list #archive
|
|
|
|
.archive-header
|
|
|
|
display: inline-block
|
2021-07-13 23:16:20 +08:00
|
|
|
font-family: $ff-code
|
|
|
|
font-weight: 700
|
|
|
|
line-height: 1.2
|
2021-11-06 16:00:03 +08:00
|
|
|
margin-bottom: .5em
|
|
|
|
position: relative
|
|
|
|
padding: 4px 0
|
|
|
|
color: var(--text-p3)
|
|
|
|
&:after
|
|
|
|
content: ""
|
|
|
|
position: absolute
|
|
|
|
height: 4px
|
|
|
|
bottom: 0
|
|
|
|
left: 0
|
|
|
|
right: 0
|
|
|
|
z-index: -1
|
|
|
|
border-radius: 4px
|
|
|
|
background: var(--block-border)
|
2021-02-19 23:33:19 +08:00
|
|
|
a.post
|
|
|
|
display: inline-flex
|
|
|
|
align-items: baseline
|
|
|
|
margin: 0.25rem 0
|
2021-07-13 23:16:20 +08:00
|
|
|
color: var(--text-p1)
|
2021-02-19 23:33:19 +08:00
|
|
|
&:hover
|
|
|
|
color: $color-hover
|
|
|
|
time
|
|
|
|
font-family: $ff-code
|
|
|
|
margin-right: 1em
|
2021-03-05 21:37:28 +08:00
|
|
|
font-weight: 700
|
|
|
|
flex-shrink: 0
|
2021-11-06 16:00:03 +08:00
|
|
|
opacity .5
|
|
|
|
&:hover
|
|
|
|
.archive-header
|
|
|
|
color: var(--text-p1)
|
|
|
|
&:after
|
|
|
|
background: $color-theme
|
|
|
|
|
2021-03-05 21:37:28 +08:00
|
|
|
|
2021-11-06 16:00:03 +08:00
|
|
|
|
|
|
|
.post-list #cats
|
|
|
|
padding: 0
|
2021-03-05 21:37:28 +08:00
|
|
|
a.cat
|
|
|
|
display: flex
|
|
|
|
&.child
|
|
|
|
padding-left: 2rem
|
2021-11-06 16:00:03 +08:00
|
|
|
padding: .5em 1rem
|
2021-03-05 21:37:28 +08:00
|
|
|
border-radius: $border-block
|
2021-07-09 23:02:13 +08:00
|
|
|
color: var(--text-p2)
|
|
|
|
align-items: center
|
2021-07-13 23:16:20 +08:00
|
|
|
justify-content: space-between
|
2021-11-06 16:00:03 +08:00
|
|
|
font-weight: 500
|
|
|
|
font-size: $fs-14
|
2021-07-13 23:16:20 +08:00
|
|
|
.badge
|
|
|
|
font-weight: 700
|
|
|
|
font-family: $ff-code
|
|
|
|
opacity: .5
|
2021-11-06 16:00:03 +08:00
|
|
|
font-size: $fs-12
|
2021-03-05 21:37:28 +08:00
|
|
|
&:hover
|
2021-11-06 16:00:03 +08:00
|
|
|
background: var(--block-hover)
|
2021-07-13 23:16:20 +08:00
|
|
|
color: var(--text-p0)
|
|
|
|
.badge
|
|
|
|
opacity: 1
|
2021-11-06 16:00:03 +08:00
|
|
|
color: $color-theme
|
2021-03-05 21:37:28 +08:00
|
|
|
|
2021-11-06 16:00:03 +08:00
|
|
|
.post-list #tags
|
2021-07-13 23:16:20 +08:00
|
|
|
display: flex
|
|
|
|
flex-wrap: wrap
|
2021-11-06 16:00:03 +08:00
|
|
|
padding: 0
|
|
|
|
margin: 0 -4px
|
2021-03-05 21:37:28 +08:00
|
|
|
a.tag
|
|
|
|
display: inline-flex
|
|
|
|
align-items: center
|
|
|
|
position: relative
|
2021-07-09 23:02:13 +08:00
|
|
|
color: var(--text-p2)
|
2021-07-31 17:29:50 +08:00
|
|
|
margin: 4px
|
2021-11-06 16:00:03 +08:00
|
|
|
padding: .5em .75rem
|
2021-07-31 17:29:50 +08:00
|
|
|
border-radius: 4px
|
|
|
|
background: var(--block)
|
2021-11-06 16:00:03 +08:00
|
|
|
font-size: $fs-13
|
|
|
|
font-weight: 500
|
|
|
|
&:before
|
|
|
|
content: "#"
|
|
|
|
margin-left: -2px
|
|
|
|
margin-right: 2px
|
|
|
|
opacity: .4
|
2021-07-13 23:16:20 +08:00
|
|
|
&:hover
|
2021-11-06 16:00:03 +08:00
|
|
|
&:before
|
|
|
|
color $color-theme
|
|
|
|
opacity: 1
|
2021-07-13 23:16:20 +08:00
|
|
|
color: var(--text-p0)
|
2021-07-31 17:29:50 +08:00
|
|
|
background: var(--block-hover)
|