447 lines
6.9 KiB
CSS
447 lines
6.9 KiB
CSS
html {
|
|
-ms-text-size-adjust: 100%;
|
|
}
|
|
|
|
article, aside, footer, header, nav, section {
|
|
display: block;
|
|
}
|
|
|
|
figcaption, figure, main {
|
|
display: block;
|
|
}
|
|
|
|
figure {
|
|
margin: 1em 40px;
|
|
}
|
|
|
|
hr {
|
|
overflow: visible;
|
|
}
|
|
|
|
a {
|
|
background-color: transparent;
|
|
-webkit-text-decoration-skip: object;
|
|
}
|
|
|
|
mark {
|
|
background-color: #ff0;
|
|
color: #000;
|
|
}
|
|
|
|
audio, video {
|
|
display: inline-block;
|
|
}
|
|
|
|
img {
|
|
border-style: none;
|
|
max-width: 100%;
|
|
}
|
|
|
|
svg:not(:root) {
|
|
overflow: hidden;
|
|
}
|
|
|
|
button, input {
|
|
overflow: visible;
|
|
}
|
|
|
|
button, select {
|
|
text-transform: none;
|
|
}
|
|
|
|
legend {
|
|
box-sizing: border-box;
|
|
color: inherit;
|
|
display: table;
|
|
max-width: 100%;
|
|
white-space: normal;
|
|
}
|
|
|
|
progress {
|
|
display: inline-block;
|
|
}
|
|
blockquote{
|
|
background: #ecf0f1;
|
|
margin: 0;
|
|
padding: 2px 10px;
|
|
font-style: italic;
|
|
box-sizing: border-box;
|
|
}
|
|
textarea {
|
|
overflow: auto;
|
|
}
|
|
|
|
[type="checkbox"], [type="radio"] {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
}
|
|
|
|
details, menu {
|
|
display: list-item;
|
|
}
|
|
|
|
canvas {
|
|
display: inline-block;
|
|
}
|
|
|
|
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
button, input, optgroup, select, textarea {
|
|
-webkit-appearance: none;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
a {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
/**
|
|
* Correct the style in all browsers.
|
|
*/
|
|
html {
|
|
font-family: "Helvetica Neue", Helvetica, STHeiTi, "Microsoft Yahei", sans-serif;
|
|
line-height: 1.15;
|
|
-webkit-text-size-adjust: 100%;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2em;
|
|
margin: 0.67em 0;
|
|
}
|
|
|
|
hr {
|
|
box-sizing: content-box;
|
|
height: 0;
|
|
}
|
|
|
|
pre {
|
|
overflow: scroll;
|
|
font-family: monospace, monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
a:active, a:hover {
|
|
outline-width: 0;
|
|
}
|
|
|
|
abbr[title] {
|
|
border-bottom: none;
|
|
text-decoration: underline;
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
b, strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
code, kbd, samp {
|
|
font-family: monospace, monospace;
|
|
font-size: 1em;
|
|
}
|
|
|
|
dfn {
|
|
font-style: italic;
|
|
}
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
sub, sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
audio:not([controls]) {
|
|
display: none;
|
|
height: 0;
|
|
}
|
|
|
|
button, input, optgroup, select, textarea {
|
|
font-family: sans-serif;
|
|
font-size: 100%;
|
|
line-height: 1.15;
|
|
margin: 0;
|
|
}
|
|
|
|
button, html [type="button"], [type="reset"], [type="submit"] {
|
|
-webkit-appearance: button;
|
|
}
|
|
|
|
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
|
|
border-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
|
|
outline: 1px dotted ButtonText;
|
|
}
|
|
|
|
fieldset {
|
|
border: 1px solid #c0c0c0;
|
|
margin: 0 2px;
|
|
padding: 0.35em 0.625em 0.75em;
|
|
}
|
|
|
|
legend {
|
|
padding: 0;
|
|
}
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
[type="search"] {
|
|
-webkit-appearance: textfield;
|
|
outline-offset: -2px;
|
|
}
|
|
|
|
::-webkit-file-upload-button {
|
|
-webkit-appearance: button;
|
|
font: inherit;
|
|
}
|
|
|
|
details, summary {
|
|
display: list-item;
|
|
}
|
|
|
|
code,
|
|
pre {
|
|
font-size: 0.8em;
|
|
background-color: #ecf0f1;
|
|
font-family: 'Roboto Mono', Monaco, courier, monospace;
|
|
}
|
|
|
|
code {
|
|
padding: 0.1em 0.4em;
|
|
background-color: #ecf0f1;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
pre .line {
|
|
min-height: 1em;
|
|
}
|
|
|
|
.highlight {
|
|
position: relative;
|
|
margin: 1em 0;
|
|
border-radius: 2px;
|
|
line-height: 1.1em;
|
|
background-color: #ecf0f1;
|
|
overflow-x: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.highlight figcaption {
|
|
font-size: .9em;
|
|
padding: .4em;
|
|
border-bottom: 1px solid #bdc3c7;
|
|
}
|
|
.highlight table, .highlight tr, .highlight td {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.highlight .gutter {
|
|
display: none;
|
|
}
|
|
.highlight .code pre {
|
|
padding: 1.2em 1.4em;
|
|
line-height: 1.5em;
|
|
margin: 0;
|
|
}
|
|
|
|
.highlight.html .code:after, .highlight.js .code:after, .highlight.bash .code:after, .highlight.css .code:after, .highlight.scss .code:after, .highlight.diff .code:after, .highlight.java .code:after, .highlight.xml .code:after, .highlight.python .code:after, .highlight.json .code:after, .highlight.swift .code:after, .highlight.ruby .code:after, .highlight.perl .code:after, .highlight.php .code:after, .highlight.c .code:after, .highlight.cpp .code:after, .highlight.ts .code:after {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
color: #bdc3c7;
|
|
text-align: right;
|
|
font-size: 0.75em;
|
|
padding: 5px 10px 0;
|
|
line-height: 15px;
|
|
height: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.highlight.html .code:after {
|
|
content: "HTML";
|
|
}
|
|
|
|
.highlight.js .code:after {
|
|
content: "JS";
|
|
}
|
|
|
|
.highlight.bash .code:after {
|
|
content: "BASH";
|
|
}
|
|
|
|
.highlight.css .code:after {
|
|
content: "CSS";
|
|
}
|
|
|
|
.highlight.scss .code:after {
|
|
content: "SCSS";
|
|
}
|
|
|
|
.highlight.diff .code:after {
|
|
content: "DIFF";
|
|
}
|
|
|
|
.highlight.java .code:after {
|
|
content: "JAVA";
|
|
}
|
|
|
|
.highlight.xml .code:after {
|
|
content: "XML";
|
|
}
|
|
|
|
.highlight.python .code:after {
|
|
content: "PYTHON";
|
|
}
|
|
|
|
.highlight.json .code:after {
|
|
content: "JSON";
|
|
}
|
|
|
|
.highlight.swift .code:after {
|
|
content: "SWIFT";
|
|
}
|
|
|
|
.highlight.ruby .code:after {
|
|
content: "RUBY";
|
|
}
|
|
|
|
.highlight.perl .code:after {
|
|
content: "PERL";
|
|
}
|
|
|
|
.highlight.php .code:after {
|
|
content: "PHP";
|
|
}
|
|
|
|
.highlight.c .code:after {
|
|
content: "C";
|
|
}
|
|
|
|
.highlight.java .code:after {
|
|
content: "JAVA";
|
|
}
|
|
|
|
.highlight.cpp .code:after {
|
|
content: "CPP";
|
|
}
|
|
|
|
.highlight.ts .code:after {
|
|
content: "TS";
|
|
}
|
|
|
|
.highlight.cpp .code:after {
|
|
content: 'C++';
|
|
}
|
|
|
|
pre {
|
|
color: #34495e;
|
|
}
|
|
pre .function .keyword,
|
|
pre .constant {
|
|
color: #3498db;
|
|
}
|
|
pre .keyword,
|
|
pre .attribute {
|
|
color: #e96900;
|
|
}
|
|
pre .number,
|
|
pre .literal {
|
|
color: #8e44ad;
|
|
}
|
|
pre .tag,
|
|
pre .tag .title,
|
|
pre .change,
|
|
pre .winutils,
|
|
pre .flow,
|
|
pre .lisp .title,
|
|
pre .clojure .built_in,
|
|
pre .nginx .title,
|
|
pre .tex .special {
|
|
color: #2980b9;
|
|
}
|
|
pre .symbol,
|
|
pre .symbol .string,
|
|
pre .value,
|
|
pre .regexp {
|
|
color: #1abc9c;
|
|
}
|
|
pre .title {
|
|
color: #2ecc71;
|
|
}
|
|
pre .tag .value,
|
|
pre .string,
|
|
pre .subst,
|
|
pre .haskell .type,
|
|
pre .preprocessor,
|
|
pre .ruby .class .parent,
|
|
pre .built_in,
|
|
pre .sql .aggregate,
|
|
pre .django .template_tag,
|
|
pre .django .variable,
|
|
pre .smalltalk .class,
|
|
pre .javadoc,
|
|
pre .django .filter .argument,
|
|
pre .smalltalk .localvars,
|
|
pre .smalltalk .array,
|
|
pre .attr_selector,
|
|
pre .pseudo,
|
|
pre .addition,
|
|
pre .stream,
|
|
pre .envvar,
|
|
pre .apache .tag,
|
|
pre .apache .cbracket,
|
|
pre .tex .command,
|
|
pre .prompt {
|
|
color: #1abc9c;
|
|
}
|
|
pre .comment,
|
|
pre .java .annotation,
|
|
pre .python .decorator,
|
|
pre .template_comment,
|
|
pre .pi,
|
|
pre .doctype,
|
|
pre .shebang,
|
|
pre .apache .sqbracket,
|
|
pre .tex .formula {
|
|
color: #95a5a6;
|
|
}
|
|
pre .deletion {
|
|
color: #c0392b;
|
|
}
|
|
pre .coffeescript .javascript,
|
|
pre .javascript .xml,
|
|
pre .tex .formula,
|
|
pre .xml .javascript,
|
|
pre .xml .vbscript,
|
|
pre .xml .css,
|
|
pre .xml .cdata {
|
|
opacity: 0.5;
|
|
}
|