Files
yunzerwebsiteallinone/platform/src/assets/less/reset.less
T
2026-11-16 17:22:50 +08:00

172 lines
2.2 KiB
Plaintext

*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 16px;
scroll-behavior: smooth;
height: 100%;
width: 100%;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1rem;
line-height: 1.5;
color: #333;
-webkit-text-size-adjust: 100%;
height: 100%;
width: 100%;
margin: 0;
padding: 0;
}
img,
iframe,
embed,
object,
video {
border: 0;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block;
max-width: 100%;
height: auto;
}
table {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
ul,
ol,
li {
list-style: none;
}
a {
color: inherit;
text-decoration: none;
background-color: transparent;
}
a:hover,
a:focus {
outline: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
margin: 0;
}
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
padding: 0;
border: none;
background: transparent;
color: inherit;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
outline: none;
}
textarea {
overflow: auto;
resize: vertical;
}
::-webkit-input-placeholder {
color: #999;
opacity: 1;
}
::-moz-placeholder {
color: #999;
opacity: 1;
}
:-ms-input-placeholder {
color: #999;
opacity: 1;
}
::placeholder {
color: #999;
opacity: 1;
}
.clearfix::after {
content: "";
display: table;
clear: both;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}