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

27 lines
467 B
Stylus
Raw Normal View History

2021-03-05 21:37:28 +08:00
button
border: none
font-weight: 500
outline: none
disable-select()
cursor: pointer
a.button
font-weight: 500
line-height: 1
padding: 0.75rem 2rem
2022-12-15 22:42:48 +08:00
border-radius: $border-button
2021-03-05 21:37:28 +08:00
trans1: background
font-size: $fs-15
&.theme
background: $color-theme
2022-10-05 23:00:52 +08:00
color: var(--card)
2021-03-05 21:37:28 +08:00
&:hover
background: $color-hover
2022-12-15 22:42:48 +08:00
&.start
border-radius: 100px
background: var(--text-p1)
color: var(--card)
2021-03-05 21:37:28 +08:00
a[onclick]:hover
cursor: pointer