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

51 lines
1.0 KiB
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
2021-02-25 13:12:04 +08:00
border: 1px solid var(--block-border)
2021-02-19 23:33:19 +08:00
.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 13:12:04 +08:00
input.copy-area
margin-bottom: 0.5rem
width: 100%
font-family: $ff-code
font-size: $fs12
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
2021-02-25 13:12:04 +08:00
font-size: $fs14
2021-02-25 00:05:23 +08:00
section+section
2021-02-25 13:12:04 +08:00
margin-top: 1rem
padding-top: 1rem
border-top: 1px solid var(--block-border)
2021-02-25 00:05:23 +08:00
.references-wrap .social-wrap
grid-gap: $gap * 0.25 $gap * 0.5
grid-template-columns: repeat(auto-fill, 40px)
a.social
padding: 8px
2021-02-25 13:12:04 +08:00
.references-wrap .qrcode
margin: 2rem auto 1rem
width: 128px
img
object-fit: contain
.references-wrap .qrcode.display
display: block !important