Skip to content

Instantly share code, notes, and snippets.

@phantomk
Last active May 31, 2019 02:38
Show Gist options
  • Save phantomk/502d0572720a22e520cc6d83bd3bb062 to your computer and use it in GitHub Desktop.
Save phantomk/502d0572720a22e520cc6d83bd3bb062 to your computer and use it in GitHub Desktop.
.card {
font-family: PingFang SC;
font-size: 1em;
}
.Back {
font-family: arial;
font-size: 1em;
border-radius: 1.2em 0.3em;
padding: 0.5em;
}
.Description {
font-family: arial;
font-size: 1.5em;
text-align: center;
border-radius: 1.2em 0.3em;
padding: 0.5em;
}
.Case {
font-family: arial;
font-size: 1.5em;
text-align: center;
border-radius: .3em;
padding: .5em;
}
/* markdown */
.front {
font-size: 1.5em;
line-height: 2;
background-color: #d0d4ea;
}
pre,
code {
font-size: 0.85em;
font-family: Consolas, Inconsolata, Courier, monospace;
}
code {
margin: 0 0.15em;
padding: 0 0.3em;
white-space: pre-wrap;
border: 1px solid #EAEAEA;
background-color: #F8F8F8;
border-radius: 3px;
display: inline;
}
pre {
font-size: 1em;
line-height: 1.2em;
}
pre code {
white-space: pre;
overflow: auto;
border-radius: 3px;
border: 1px solid #CCC;
padding: 0.5em 0.7em;
display: block !important;
}
p {
margin: 0 0 1.2em 0 !important;
}
table,
pre,
dl,
blockquote,
q,
ul,
ol {
margin: 1.2em 0;
}
ul,
ol {
padding-left: 2em;
}
li {
margin: 0.5em 0;
}
li p {
margin: 0.5em 0 !important;
}
ul ul,
ul ol,
ol ul,
ol ol {
margin: 0;
padding-left: 1em;
}
ol ol,
ul ol {
list-style-type: lower-roman;
}
ul ul ol,
ul ol ol,
ol ul ol,
ol ol ol {
list-style-type: lower-alpha;
}
dl {
padding: 0;
}
dl dt {
font-size: 1em;
font-weight: bold;
font-style: italic;
}
dl dd {
margin: 0 0 1em;
padding: 0 1em;
}
blockquote,
q {
border-left: 4px solid #DDD;
padding: 0 1em;
color: #777;
quotes: none;
}
blockquote::before,
blockquote::after,
q::before,
q::after {
content: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 1.3em 0 1em;
padding: 0;
font-weight: bold;
}
h1 {
font-size: 1.6em;
border-bottom: 1px solid #ddd;
}
h2 {
font-size: 1.4em;
border-bottom: 1px solid #eee;
}
h3 {
font-size: 1.3em;
}
h4 {
font-size: 1.2em;
}
h5 {
font-size: 1em;
}
h6 {
font-size: 1em;
color: #777;
}
table {
padding: 0;
border-collapse: collapse;
border-spacing: 0;
font-size: 1em;
font: inherit;
border: 0;
}
tbody {
margin: 0;
padding: 0;
border: 0;
}
table tr {
border: 0;
border-top: 1px solid #CCC;
background-color: white;
margin: 0;
padding: 0;
}
table tr:nth-child(2n) {
background-color: #F8F8F8;
}
table tr th,
table tr td {
font-size: 1em;
border: 1px solid #CCC;
margin: 0;
padding: 0.5em 1em;
}
table tr th {
font-weight: bold;
background-color: #F0F0F0;
}
strong {
background: linear-gradient(to right, rgb(73, 200, 149),
rgb(38, 198, 218));
color: white;
white-space: pre-wrap;
border-width: 0.25em 0;
display: inline;
font-weight: normal;
padding: 2px 4px 2px 4px;
}
/*hl*/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
background: #222;
-webkit-text-size-adjust: none;
}
.profile .hljs-header *,
.ini .hljs-title,
.nginx .hljs-title {
color: #fff;
}
.hljs-comment,
.hljs-javadoc,
.hljs-preprocessor,
.hljs-preprocessor .hljs-title,
.hljs-pragma,
.hljs-shebang,
.profile .hljs-summary,
.diff,
.hljs-pi,
.hljs-doctype,
.hljs-tag,
.hljs-template_comment,
.css .hljs-rules,
.tex .hljs-special {
color: #444;
}
.hljs-string,
.hljs-symbol,
.diff .hljs-change,
.hljs-regexp,
.xml .hljs-attribute,
.smalltalk .hljs-char,
.xml .hljs-value,
.ini .hljs-value,
.clojure .hljs-attribute,
.coffeescript .hljs-attribute {
color: #ffcc33;
}
.hljs-number,
.hljs-addition {
color: #00cc66;
}
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-typename,
.go .hljs-constant,
.ini .hljs-keyword,
.lua .hljs-title,
.perl .hljs-variable,
.php .hljs-variable,
.mel .hljs-variable,
.django .hljs-variable,
.css .funtion,
.smalltalk .method,
.hljs-hexcolor,
.hljs-important,
.hljs-flow,
.hljs-inheritance,
.parser3 .hljs-variable {
color: #32aaee;
}
.hljs-keyword,
.hljs-tag .hljs-title,
.css .hljs-tag,
.css .hljs-class,
.css .hljs-id,
.css .hljs-pseudo,
.css .hljs-attr_selector,
.hljs-winutils,
.tex .hljs-command,
.hljs-request,
.hljs-status {
color: #6644aa;
}
.hljs-title,
.ruby .hljs-constant,
.vala .hljs-constant,
.hljs-parent,
.hljs-deletion,
.hljs-template_tag,
.css .hljs-keyword,
.objectivec .hljs-class .hljs-id,
.smalltalk .hljs-class,
.lisp .hljs-keyword,
.apache .hljs-tag,
.nginx .hljs-variable,
.hljs-envvar,
.bash .hljs-variable,
.go .hljs-built_in,
.vbscript .hljs-built_in,
.lua .hljs-built_in,
.rsl .hljs-built_in,
.tail,
.avrasm .hljs-label,
.tex .hljs-formula,
.tex .hljs-formula * {
color: #bb1166;
}
.hljs-yardoctag,
.hljs-phpdoc,
.hljs-dartdoc,
.profile .hljs-header,
.ini .hljs-title,
.apache .hljs-tag,
.parser3 .hljs-title {
font-weight: bold;
}
.coffeescript .javascript,
.javascript .xml,
.tex .hljs-formula,
.xml .javascript,
.xml .vbscript,
.xml .css,
.xml .hljs-cdata {
opacity: 0.6;
}
.hljs,
.hljs-subst,
.diff .hljs-chunk,
.css .hljs-value,
.css .hljs-attribute {
color: #aaa;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment