mirror of
https://github.com/palxiao/poster-design.git
synced 2025-07-15 16:02:19 +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-face {
|
||||||
font-family: TitleFont;
|
font-family: TitleFont;
|
||||||
src: url(../fonts/xpsj.subset.woff2) format('woff2');
|
src: url(../fonts/xpsj.subset.woff2) format('woff2');
|
||||||
@ -20,6 +22,9 @@ body {
|
|||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
border-width: 0;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: #e5e7eb;
|
||||||
// font-size: 14px;
|
// font-size: 14px;
|
||||||
scrollbar-width: none; /* 火狐滚动条无法自定义宽度,只能通过此属性使滚动条宽度变细 */
|
scrollbar-width: none; /* 火狐滚动条无法自定义宽度,只能通过此属性使滚动条宽度变细 */
|
||||||
-ms-overflow-style: none; /* 隐藏滚动条(在IE和Edge两个浏览器中很难更改样式,固采取隐藏方式) */
|
-ms-overflow-style: none; /* 隐藏滚动条(在IE和Edge两个浏览器中很难更改样式,固采取隐藏方式) */
|
||||||
@ -57,7 +62,9 @@ select:-webkit-autofill:focus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
text-decoration: none;
|
// text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
text-decoration: inherit;
|
||||||
}
|
}
|
||||||
ul,
|
ul,
|
||||||
ol,
|
ol,
|
||||||
@ -74,10 +81,28 @@ h6 {
|
|||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img,
|
||||||
|
svg,
|
||||||
|
video,
|
||||||
|
canvas,
|
||||||
|
audio,
|
||||||
|
iframe,
|
||||||
|
embed,
|
||||||
|
object {
|
||||||
|
display: block;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
-webkit-user-drag: none;
|
-webkit-user-drag: none;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
img,
|
||||||
|
video {
|
||||||
|
max-width: 100%;
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
input {
|
input {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
&:-moz-focusring {
|
&:-moz-focusring {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user