hexo-theme-stellar/source/css/_layout/pages/archives.styl

52 lines
1.0 KiB
Stylus
Raw Normal View History

2021-02-19 23:33:19 +08:00
.post-list .post-card#archive
a.post
display: inline-flex
align-items: baseline
margin: 0.25rem 0
2021-03-05 21:37:28 +08:00
font-weight: 500
2021-07-09 23:02:13 +08:00
color: var(--text-p2)
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-02-19 23:33:19 +08:00
opacity 0.5
2021-03-05 21:37:28 +08:00
.post-list .post-card#cats
a.cat
display: flex
&.child
padding-left: 2rem
font-weight: 500
padding: 0.5rem 1rem
border-radius: $border-block
2021-07-09 23:02:13 +08:00
color: var(--text-p2)
align-items: center
2021-03-05 21:37:28 +08:00
&:hover
background: var(--block)
2021-07-09 23:02:13 +08:00
color: var(--text-p1)
2021-03-05 21:37:28 +08:00
.badge
opacity 0.5
2021-07-09 23:02:13 +08:00
font-size: $fs-13
margin-left: .5em
2021-03-05 21:37:28 +08:00
.post-list .post-card#tags
a.tag
display: inline-flex
align-items: center
position: relative
font-weight: 500
2021-07-09 23:02:13 +08:00
color: var(--text-p2)
padding: .5rem
border-radius: $border-block
2021-03-05 21:37:28 +08:00
&:hover
2021-07-09 23:02:13 +08:00
color: var(--text-p1)
background: var(--block)
2021-03-05 21:37:28 +08:00
span
margin: 0 0.25rem
.badge
opacity 0.5
font-weight: 700