/* slim_curry@163.com */ /* correct box sizing in all browsers */ * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } /*Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS */ html { font-family: 'Microsoft Yahei', 'STHeiti', 'STSong', 'STKaiti', Helvetica, Arial, sans-serif, Georgia; line-height: 1.5; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } /* Remove the margin in all browsers */ body { margin: 0; } /* Add the correct display in IE 9- */ article, aside, footer, header, nav, section { display: block; } /* Add the correct display in IE 9-. */ figcaption, figure, main { display: block; } /* Remove the margin in all browsers */ figure { margin: 0; } /* Add the correct box sizing in Firefox, Show the overflow in Edge and IE */ hr { box-sizing: content-box; height: 0; border-style: none; overflow: visible; } /* Correct the inheritance and scaling of font size in all browsers, Correct the odd `em` font sizing in all browsers */ pre, code, kbd, samp { font-family: 'Microsoft Yahei', 'STHeiti', 'STSong', 'STKaiti', Helvetica, Arial, sans-serif, Georgia; font-size: 1em; } /* Remove the gray background on active links in IE 10, Remove gaps in links underline in iOS 8+ and Safari 8+ */ a { background-color: transparent; text-decoration: none; -webkit-text-decoration-skip: objects; } /* Remove the bottom border in Chrome 57- and Firefox 39-, Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari */ abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; } /* Prevent the duplicate application of `bolder` by the next rule in Safari 6, Add the correct font weight in Chrome, Edge, and Safari */ b, strong { font-weight: inherit; } b, strong { font-weight: bolder; } /* Add the correct font style in Android 4.3- */ dfn { font-style: italic; } /* Add the correct background and color in IE 9- */ mark { background-color: #ff0; color: #000; } /* Add the correct font size in all browsers */ small { font-size: 80%; } /* Prevent `sub` and `sup` elements from affecting the line height in all browsers */ sub, sup { position: relative; font-size: 80%; line-height: 0; vertical-align: baseline; } sub { bottom: -0.25em; } sup { top: -0.5em; } /* Add the correct display in IE 9- */ audio, video { display: inline-block; } /* Add the correct display in iOS 4-7 */ audio:not([controls]) { display: none; height: 0; } /* Remove the border on images inside links in IE 10- */ img { max-width: 100%; border-style: none; } /* Remove the list style in all browsers */ ul, ol, li { list-style: none; } /* Add the border collapse in all browsers */ table{ border-collapse:collapse; } /* Hide the overflow in IE */ svg:not(:root) { overflow: hidden; } /* Change the font styles in all browsers (opinionated), Remove the margin in Firefox and Safari */ button, input, optgroup, select, textarea { font-family: 'Microsoft Yahei', 'STHeiti', 'STSong', 'STKaiti', Helvetica, Arial, sans-serif, Georgia; font-size: 100%; line-height: 1.5; margin: 0; } /* Remove the focus style in all browsers */ button:focus, input:focus, optgroup:focus, select:focus, textarea:focus { outline: none; } /* Remove the padding in IE 10-, Change the cursor in all browsers */ input[type="checkbox"], input[type="radio"] { padding: 0; cursor: pointer; } /* Add the padding in all browsers */ input[type="text"], input[type="password"], input[type="url"], input[type="number"], input[type="search"], input[type="email"], textarea { padding-left: .4em; } /* Correct the cursor style of increment and decrement buttons in Chrome */ [type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; } /* Correct the odd appearance in Chrome and Safari, Correct the outline style in Safari */ [type="search"] { -webkit-appearance: textfield; outline-offset: -2px; } /* Remove the inner padding and cancel buttons in Chrome and Safari on macOS */ [type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; } /* Remove the default vertical scrollbar in IE, correct the extensibility in all browsers */ textarea { overflow: auto; resize: none; } /* Show the overflow in Edge */ button, input { overflow: visible; } /* Remove the inheritance of text transform in Firefox */ button, select { text-transform: none; } /* Prevent a WebKit bug where (2) destroys native `audio` and `video` controls in Android 4, Correct the inability to style clickable types in iOS and Safari */ button, html [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; cursor: pointer; /* border-style: solid; */ /* background-color: #fff; */ } /* Remove the inner border and padding in Firefox */ button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; } /* Correct the inability to style clickable types in iOS and Safari, Change font properties to `inherit` in Safari */ ::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; } /* Correct the padding in Firefox */ fieldset { padding: 0.35em 0.75em 0.625em; } /* Correct the text wrapping in Edge and IE, Correct the color inheritance from `fieldset` elements in IE, Remove the padding so developers are not caught out when they zero out fieldset` elements in all browsers */ legend { color: inherit; /* 2 */ display: table; /* 1 */ max-width: 100%; /* 1 */ padding: 0; /* 3 */ white-space: normal; /* 1 */ } /* Add the correct display in IE 9-, Add the correct vertical alignment in Chrome, Firefox, and Opera */ progress { display: inline-block; vertical-align: baseline; } /* Add the correct display in IE 9-, Add the correct display in Edge, IE, and Firefox */ details, /* 1 */ menu { display: block; } /* Add the correct display in all browsers */ summary { display: list-item; cursor: pointer; } /* Add the correct display in IE 9- */ canvas { display: inline-block; } /* Add the correct display in IE */ template { display: none; } /* Add the correct display in IE 10- */ [hidden] { display: none; }