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

48 lines
934 B
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
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-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
color: var(--text-p1)
&:hover
background: var(--block)
color: $color-hover
.badge
opacity 0.5
margin-left: 4px
.post-list .post-card#tags
a.tag
display: inline-flex
align-items: center
margin: 0.5rem
position: relative
font-weight: 500
color: var(--text-p1)
&:hover
color: $color-hover
span
margin: 0 0.25rem
.badge
opacity 0.5
font-weight: 700