hexo-theme-stellar/source/css/_layout/partial/references.styl

34 lines
683 B
Stylus
Raw Normal View History

2021-02-19 23:33:19 +08:00
.references-wrap
margin: $gap * 2 $gap
padding: 1rem
background: var(--block)
border-radius: $border-block
.header
font-weight: 500
color: var(--text-p3)
2021-02-25 00:05:23 +08:00
margin-bottom: 0.75rem
font-size: 1.25rem
2021-02-19 23:33:19 +08:00
.body
2021-02-25 00:05:23 +08:00
p
font-size: $fs14
color: var(--text-p2)
margin: 1em 0
&:first-child
margin-top: 0
&:last-child
margin-bottom: 0
2021-02-19 23:33:19 +08:00
ul
margin: 0
.post-title
margin: 0.5rem 0
line-height: 1.2
font-size: $fs13
2021-02-25 00:05:23 +08:00
section+section
margin-top: 2rem
.references-wrap .social-wrap
grid-gap: $gap * 0.25 $gap * 0.5
grid-template-columns: repeat(auto-fill, 40px)
a.social
padding: 8px