按钮样式

This commit is contained in:
李志鹏
2025-12-23 17:29:49 +08:00
parent 321c0bdb92
commit 70cf624d88
5 changed files with 37 additions and 26 deletions

View File

@@ -1,6 +1,8 @@
button.sandblasted-blurred {
box-sizing: content-box;
border: 0.4rem solid #fff;
width: 35rem;
height: 8.3rem;
box-sizing: border-box;
border: 0.25rem solid #fff;
font-family: satoshiMedium;
font-weight: 500;
font-size: 4rem;
@@ -41,7 +43,9 @@ button.sandblasted-blurred {
//只使用浅色模式
@media (prefers-color-scheme: dark) {
:root, body {
:root,
body {
background: white !important;
color: black !important;
}
@@ -71,10 +75,11 @@ html:root {
--van-toast-default-width: 88rem;
}
.van-toast{
.van-toast {
min-height: fit-content;
max-width: none;
}
.van-toast__text {
font-size: 4rem;
height: 5rem;
@@ -84,21 +89,23 @@ html:root {
}
button.general,
.general_button{
.general_button {
border-radius: .7rem;
border: 3px solid #000;
background-color: #000;
text-align: center;
color: #fff;
font-family: satoshiMedium;
&.smail{
&.smail {
font-size: 3.6rem;
width: 24.6rem;
line-height: 6.7rem;
}
&.big{
&.big {
font-size: 3.8rem;
line-height: 7.4rem;
width: 3.4rem;
}
}
}