Files
apt-nl-new/src/style/reset.css
2024-10-18 16:50:12 +08:00

150 lines
2.4 KiB
CSS

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input, button {
margin: 0;
padding: 0;
border: none;
outline: none;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, menu, nav, section {
display: block;
}
*{
-webkit-tap-highlight-color:transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* body {
line-height: 1;
} */
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
/* custom */
a,a:link,a:visited,a:active {
text-decoration: none;
-webkit-backface-visibility: hidden;
}
li {
list-style: none;
}
html,body {
-webkit-text-size-adjust: none;
-webkit-tap-highlight-color: #ffffff;
background-color: #001539;
/* width: 100%;
height: 100%; */
font-size: 16px;
/* min-width: 1440px; */
width: 1920px;
height: 1080px;
/* max-width: 1920px; */
}
select, option, textarea {
appearance: none;
outline: none;
}
div, input, select, textarea, button, ul, li {
box-sizing: border-box;
}
input::-webkit-input-placeholder {
color: #C0C4CC;
}
.clearfix {
zoom: 1;
}
.userselect {
user-select: none;
}
.clearfix:after {
content: "";
display: table;
clear: both;
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.allwidth {
width: 100% !important;
}
.fl {
float: left !important;
}
.fr {
float: right !important;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.pointer {
cursor: pointer;
}
.mgb40 {
margin-bottom: .4rem !important;
}
.mgr5 {
margin-right: .05rem !important;
}
.mgt10 {
margin-top: .1rem !important;
}
.mgl10 {
margin-left: .1rem !important;
}
.mgl20 {
margin-left: .2rem !important;
}