style: fix some reset-css

This commit is contained in:
ShawnPhang 2024-02-05 12:08:10 +08:00
parent 39c74895ef
commit 1e3db314a6

View File

@ -1,3 +1,5 @@
// Some primary CSS, and reset CSS
@font-face {
font-family: TitleFont;
src: url(../fonts/xpsj.subset.woff2) format('woff2');
@ -20,6 +22,9 @@ body {
* {
box-sizing: border-box;
border-width: 0;
border-style: solid;
border-color: #e5e7eb;
// font-size: 14px;
scrollbar-width: none; /* 火狐滚动条无法自定义宽度,只能通过此属性使滚动条宽度变细 */
-ms-overflow-style: none; /* 隐藏滚动条在IE和Edge两个浏览器中很难更改样式固采取隐藏方式 */
@ -57,7 +62,9 @@ select:-webkit-autofill:focus {
}
a {
text-decoration: none;
// text-decoration: none;
color: inherit;
text-decoration: inherit;
}
ul,
ol,
@ -74,10 +81,28 @@ h6 {
li {
list-style: none;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block;
vertical-align: middle;
}
img {
-webkit-user-drag: none;
user-select: none;
}
img,
video {
max-width: 100%;
height: auto;
}
input {
outline: 0;
&:-moz-focusring {