hexo-theme-stellar/source/css/_common/toast.styl

17 lines
326 B
Stylus
Raw Normal View History

2021-02-27 20:08:36 +08:00
div.toast
max-width: 60%
2021-02-27 21:50:18 +08:00
padding: 1rem 3rem
2021-02-27 20:08:36 +08:00
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
2021-02-27 21:50:18 +08:00
disable-select()
2021-02-27 20:08:36 +08:00
box-shadow: $boxshadow-float