hexo-theme-stellar/source/css/_plugins/common/toast.styl

16 lines
307 B
Stylus
Raw Normal View History

2021-02-27 20:08:36 +08:00
div.toast
max-width: 60%
padding: 2rem 3rem
line-height: 1.5
color: var(--text-p1)
font-weight: 500
text-align: center
border-radius: $border-card
background: var(--card)
position: fixed
top: 50%
left: 50%
transform: translate(-50%, -50%)
z-index: 9
box-shadow: $boxshadow-float