81 lines
1.1 KiB
CSS
81 lines
1.1 KiB
CSS
/*默认清楚所有样式*/
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
a{
|
|
text-decoration: none;
|
|
}
|
|
|
|
ul{
|
|
list-style: none;
|
|
}
|
|
|
|
body{
|
|
font-size: 12px;
|
|
overflow-x: hidden;
|
|
/* height: 100vh; */
|
|
/* 设置高度,打开注册页面不滚动 */
|
|
}
|
|
:root {
|
|
--bgcolor: #ea4322;
|
|
}
|
|
|
|
html{
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
|
|
/* 按钮样式 */
|
|
.btn {
|
|
background: #ea4322;
|
|
border: medium none;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: inline-block;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
margin-bottom: 0;
|
|
padding: 10px 30px;
|
|
text-align: center;
|
|
text-transform: capitalize;
|
|
touch-action: manipulation;
|
|
transition: 0.3s;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
border: 1px solid transparent;
|
|
box-shadow: none !important;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.btn:hover {
|
|
background: #000b22;
|
|
color: #fff;
|
|
border-color: #000b22;
|
|
}
|
|
|
|
.active-btn {
|
|
background: #000b22;
|
|
color: #fff;
|
|
border-color: #000b22;
|
|
}
|
|
|
|
.btn:not(:disabled):not(.disabled):active,
|
|
:focus {
|
|
color: #ea4322;
|
|
}
|
|
|
|
.btn:focus {
|
|
background: #ea4322;
|
|
color: #fff;
|
|
border-color: #fff;
|
|
}
|
|
|
|
.btn:active {
|
|
color: inherit;
|
|
background: inherit;
|
|
}
|