mobi-plugin-reset
Version:
The reset plugin for Mobi.css
290 lines (241 loc) • 3.41 kB
CSS
/*! mobi-plugin-reset v3.1.1 http://getmobicss.com/docs/reset.html */
html {
-moz-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
box-sizing: border-box;
text-size-adjust: 100%;
}
*,
:after,
:before {
box-sizing: inherit;
}
body {
background-color: #fff;
color: #333;
font-size: 16px;
line-height: 1.5;
margin: 0;
}
body,
button,
input,
select,
textarea {
font-family: -apple-system,BlinkMacSystemFont,Hiragino Sans GB,Roboto,Segoe UI,Microsoft Yahei,微软雅黑,Oxygen-Sans,Ubuntu,Cantarell,Helvetica,Arial,STHeiti,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 30px 0 0;
}
address,
blockquote,
dl,
figure,
hr,
ol,
p,
pre,
table,
ul {
margin: 15px 0 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 600;
}
h1 {
font-size: 32px;
}
h2 {
font-size: 26px;
}
h3 {
font-size: 22px;
}
h4 {
font-size: 20px;
}
h5 {
font-size: 18px;
}
h6 {
font-size: 16px;
}
a {
-webkit-text-decoration-skip: objects;
color: #267fd9;
text-decoration: none;
}
a:active,
a:hover {
text-decoration: underline;
}
b,
dt,
strong {
font-weight: 600;
}
code,
kbd,
samp {
background-color: #f2f2f2;
font-size: 85%;
padding: 0.2em 0.3em;
}
code,
kbd,
pre,
samp {
font-family: Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;
}
pre {
-webkit-overflow-scrolling: touch;
background-color: #f2f2f2;
line-height: 1.2;
overflow: auto;
padding: 15px;
}
pre,
pre code {
font-size: 13px;
}
pre code {
background-color: transparent;
padding: 0;
}
blockquote {
border-left: 5px solid #ddd;
color: #777;
padding-left: 15px;
}
ol,
ul {
padding-left: 30px;
}
dd,
dt,
ol ol,
ol ul,
ul ol,
ul ul {
margin: 0;
}
hr {
border: 0;
border-top: 1px solid #ddd;
}
small,
sub,
sup {
font-size: 85%;
}
sub,
sup {
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -.2em;
}
sup {
top: -.4em;
}
address,
time {
font-style: normal;
}
mark {
background-color: #ff0;
color: #333;
padding: 0 0.2em;
}
rt {
font-size: 60%;
}
abbr[title] {
-webkit-text-decoration: underline dotted;
border-bottom: 0;
text-decoration: underline;
text-decoration: underline dotted;
}
audio:not([controls]) {
display: none;
height: 0;
}
img {
border-style: none;
vertical-align: middle;
}
audio,
img,
video {
max-width: 100%;
}
figcaption {
color: #777;
font-size: 85%;
}
[role=button] {
cursor: pointer;
}
[role=button],
a,
area,
button,
input,
label,
select,
summary,
textarea {
-ms-touch-action: manipulation;
touch-action: manipulation;
}
::-webkit-file-upload-button,
[type=reset],
[type=submit],
button,
html [type=button] {
-webkit-appearance: button;
appearance: button;
}
[type=search] {
-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}
::-webkit-file-upload-button {
font: inherit;
}
[hidden] {
display: none;
}
fieldset {
border: 1px solid #ddd;
margin: 15px 0 0;
padding: 0 15px 15px;
}
legend {
padding: 0 0.2em;
}
optgroup {
color: #777;
font-style: normal;
font-weight: 400;
}
option {
color: #333;
}
progress {
max-width: 100%;
}
/*# sourceMappingURL=mobi-plugin-reset.css.map */