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

48 lines
934 B
Stylus

.post-list .post-card#archive
a.post
display: inline-flex
align-items: baseline
margin: 0.25rem 0
font-weight: 500
color: var(--text-p1)
&:hover
color: $color-hover
time
font-family: $ff-code
margin-right: 1em
font-weight: 700
flex-shrink: 0
opacity 0.5
.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