init
This commit is contained in:
147
src/style/reset.css
Normal file
147
src/style/reset.css
Normal file
@@ -0,0 +1,147 @@
|
||||
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: #ffffff;
|
||||
/* 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;
|
||||
}
|
||||
Reference in New Issue
Block a user