You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
248 lines
4.1 KiB
248 lines
4.1 KiB
/**
|
|
* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
|
|
* http://cssreset.com
|
|
*/
|
|
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,
|
|
sub,
|
|
sup,
|
|
tt,
|
|
var,
|
|
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 {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: 0;
|
|
/* font-size: 100%; */
|
|
font-weight: normal;
|
|
vertical-align: baseline;
|
|
}
|
|
button {
|
|
border: none;
|
|
outline: none;
|
|
color: #FFFFFF;
|
|
background-color: #FFFFFF;
|
|
}
|
|
input,
|
|
select,
|
|
option,
|
|
textarea {
|
|
outline: none;
|
|
resize: none;
|
|
-webkit-appearance: none;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
input[type="checkbox"]{
|
|
padding-left: 0px;
|
|
}
|
|
|
|
/* HTML5 display-role reset for older browsers */
|
|
article,
|
|
aside,
|
|
details,
|
|
figcaption,
|
|
figure,
|
|
footer,
|
|
header,
|
|
menu,
|
|
nav,
|
|
section {
|
|
display: block;
|
|
}
|
|
|
|
body {
|
|
line-height: 1;
|
|
font-family: "Microsoft YaHei";
|
|
/* font-size: 16px; */
|
|
}
|
|
|
|
blockquote,
|
|
q {
|
|
quotes: none;
|
|
}
|
|
|
|
blockquote:before,
|
|
blockquote:after,
|
|
q:before,
|
|
q:after {
|
|
content: none;
|
|
}
|
|
|
|
/* table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
} */
|
|
|
|
/* custom */
|
|
a {
|
|
text-decoration: none;
|
|
backface-visibility: hidden;
|
|
-webkit-backface-visibility: hidden;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 5px;
|
|
height: 5px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track-piece {
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
-webkit-border-radius: 6px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:vertical {
|
|
height: 5px;
|
|
background-color: rgba(125, 125, 125, 0.7);
|
|
-webkit-border-radius: 6px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:horizontal {
|
|
width: 5px;
|
|
background-color: rgba(125, 125, 125, 0.7);
|
|
-webkit-border-radius: 6px;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
font-family: Avenir, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
body {
|
|
-webkit-text-size-adjust: none;
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
}
|
|
.twoellipsis {
|
|
text-overflow: -o-ellipsis-lastline;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
.oneellipsis {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
@media all and (-moz-min-device-pixel-ratio: 1.09) and (-moz-max-device-pixel-ratio: 1.18),
|
|
(-webkit-min-device-pixel-ratio: 1.09) and (-webkit-max-device-pixel-ratio: 1.18),
|
|
(min-resolution: 1.09dppx) and (max-resolution: 1.18dppx) {
|
|
:root {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
@media all and (-moz-min-device-pixel-ratio: 1.19) and (-moz-max-device-pixel-ratio: 1.28),
|
|
(-webkit-min-device-pixel-ratio: 1.19) and (-webkit-max-device-pixel-ratio: 1.28),
|
|
(min-resolution: 1.19dppx) and (max-resolution: 1.28dppx) {
|
|
:root {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
@media all and (-moz-min-device-pixel-ratio: 1.29) and (-moz-max-device-pixel-ratio: 1.4),
|
|
(-webkit-min-device-pixel-ratio: 1.29) and (-webkit-max-device-pixel-ratio: 1.4),
|
|
(min-resolution: 1.29dppx) and (max-resolution: 1.4dppx) {
|
|
:root {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
@media all and (-moz-min-device-pixel-ratio: 1.41) and (-moz-max-device-pixel-ratio: 1.6),
|
|
(-webkit-min-device-pixel-ratio: 1.41) and (-webkit-max-device-pixel-ratio: 1.6),
|
|
(min-resolution: 1.41dppx) and (max-resolution: 1.6dppx) {
|
|
:root {
|
|
font-size: 10px;
|
|
}
|
|
}
|
|
@media all and (-moz-min-device-pixel-ratio: 1.61) and (-moz-max-device-pixel-ratio: 1.8),
|
|
(-webkit-min-device-pixel-ratio: 1.61) and (-webkit-max-device-pixel-ratio: 1.8),
|
|
(min-resolution: 1.61dppx) and (max-resolution: 1.8dppx) {
|
|
:root {
|
|
font-size: 9px;
|
|
}
|
|
}
|
|
@media all and (-moz-min-device-pixel-ratio: 1.81) and (-moz-max-device-pixel-ratio: 2.1),
|
|
(-webkit-min-device-pixel-ratio: 1.81) and (-webkit-max-device-pixel-ratio: 2.1),
|
|
(min-resolution: 1.81dppx) and (max-resolution: 2.1dppx) {
|
|
:root {
|
|
font-size: 8px;
|
|
}
|
|
}
|