mirror of
https://github.com/palxiao/poster-design.git
synced 2025-07-03 03:56:41 +08:00
style: fix some reset-css
This commit is contained in:
parent
39c74895ef
commit
1e3db314a6
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user