2015-05-04 07:53:29 +00:00
|
|
|
/* for markdown-body */
|
|
|
|
|
|
|
|
.markdown-body {
|
2016-08-14 10:27:20 +00:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
2015-05-04 07:53:29 +00:00
|
|
|
padding-top: 40px;
|
|
|
|
padding-bottom: 40px;
|
|
|
|
max-width: 758px;
|
2015-09-24 05:48:12 +00:00
|
|
|
overflow: visible !important;
|
2015-05-04 07:53:29 +00:00
|
|
|
}
|
|
|
|
/*fixed style for bootstrap comflict*/
|
|
|
|
|
|
|
|
.markdown-body pre {
|
|
|
|
border: inherit !important;
|
|
|
|
}
|
|
|
|
|
2018-04-04 22:55:34 +00:00
|
|
|
.night .markdown-body pre {
|
|
|
|
filter: invert(100%);
|
|
|
|
}
|
|
|
|
|
2015-05-04 07:53:29 +00:00
|
|
|
.markdown-body code {
|
|
|
|
color: inherit !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body pre code .wrapper {
|
|
|
|
display: -webkit-inline-flex;
|
|
|
|
display: -moz-inline-flex;
|
|
|
|
display: -ms-inline-flex;
|
|
|
|
display: -o-inline-flex;
|
|
|
|
display: inline-flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body pre code .gutter {
|
|
|
|
float: left;
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2015-09-25 11:06:27 +00:00
|
|
|
.markdown-body pre code .gutter.linenumber {
|
2015-05-04 07:53:29 +00:00
|
|
|
text-align: right;
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
cursor: default;
|
|
|
|
z-index: 4;
|
|
|
|
padding: 0 8px 0 0;
|
|
|
|
min-width: 20px;
|
|
|
|
box-sizing: content-box;
|
|
|
|
color: #afafaf !important;
|
|
|
|
border-right: 3px solid #6ce26c !important;
|
|
|
|
}
|
|
|
|
|
2015-09-25 11:06:27 +00:00
|
|
|
.markdown-body pre code .gutter.linenumber > span:before {
|
|
|
|
content: attr(data-linenumber);
|
|
|
|
}
|
|
|
|
|
2015-05-04 07:53:29 +00:00
|
|
|
.markdown-body pre code .code {
|
|
|
|
float: left;
|
|
|
|
margin: 0 0 0 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body .gist .line-numbers {
|
|
|
|
border-left: none;
|
|
|
|
border-top: none;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body .gist .line-data {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body .gist table {
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: inherit !important;
|
|
|
|
}
|
|
|
|
|
2017-12-28 18:21:52 +00:00
|
|
|
.night .markdown-body .gist table tr:nth-child(2n){
|
|
|
|
|
|
|
|
background-color: #ddd;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2015-05-04 07:53:29 +00:00
|
|
|
.markdown-body code[data-gist-id] {
|
|
|
|
background: none;
|
|
|
|
padding: 0;
|
2018-04-04 22:55:34 +00:00
|
|
|
filter: invert(100%);
|
2015-05-04 07:53:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body code[data-gist-id]:before {
|
|
|
|
content: ''
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body code[data-gist-id]:after {
|
|
|
|
content: ''
|
|
|
|
}
|
|
|
|
|
2016-12-15 02:44:46 +00:00
|
|
|
.markdown-body code[data-gist-id] .blob-num {
|
|
|
|
border: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body code[data-gist-id] table {
|
|
|
|
overflow: unset;
|
|
|
|
margin-bottom: unset;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body code[data-gist-id] table tr {
|
|
|
|
background: unset;
|
2017-12-28 18:21:52 +00:00
|
|
|
|
2016-12-15 02:44:46 +00:00
|
|
|
}
|
|
|
|
|
2016-01-12 14:01:42 +00:00
|
|
|
/*fixed style for rtl in pre and code*/
|
|
|
|
|
|
|
|
.markdown-body[dir='rtl'] pre {
|
|
|
|
direction: ltr;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body[dir='rtl'] code {
|
|
|
|
direction: ltr;
|
|
|
|
unicode-bidi: embed;
|
|
|
|
}
|
|
|
|
|
2016-03-15 02:56:53 +00:00
|
|
|
.markdown-body .alert > p {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-04 15:26:27 +00:00
|
|
|
.markdown-body pre.flow-chart,
|
|
|
|
.markdown-body pre.sequence-diagram,
|
|
|
|
.markdown-body pre.graphviz,
|
2017-03-26 12:39:07 +00:00
|
|
|
.markdown-body pre.mermaid,
|
2019-08-04 12:12:39 +00:00
|
|
|
.markdown-body pre.abc,
|
|
|
|
.markdown-body pre.vega {
|
2016-03-04 15:26:27 +00:00
|
|
|
text-align: center;
|
|
|
|
background-color: inherit;
|
|
|
|
border-radius: 0;
|
|
|
|
white-space: inherit;
|
|
|
|
}
|
|
|
|
|
2017-12-28 18:21:52 +00:00
|
|
|
.night .markdown-body pre.graphviz .graph > polygon{
|
|
|
|
fill: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.night .markdown-body pre.mermaid .titleText,
|
|
|
|
.night .markdown-body pre.mermaid text,
|
|
|
|
.night .markdown-body pre.mermaid .sectionTitle{
|
|
|
|
fill: white;
|
|
|
|
}
|
|
|
|
|
2016-03-04 15:26:27 +00:00
|
|
|
.markdown-body pre.flow-chart > code,
|
|
|
|
.markdown-body pre.sequence-diagram > code,
|
|
|
|
.markdown-body pre.graphviz > code,
|
2017-03-26 12:39:07 +00:00
|
|
|
.markdown-body pre.mermaid > code,
|
2019-08-04 12:12:39 +00:00
|
|
|
.markdown-body pre.abc > code,
|
|
|
|
.markdown-body pre.vega > code {
|
2016-03-04 15:26:27 +00:00
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body pre.flow-chart > svg,
|
|
|
|
.markdown-body pre.sequence-diagram > svg,
|
|
|
|
.markdown-body pre.graphviz > svg,
|
2017-03-26 12:39:07 +00:00
|
|
|
.markdown-body pre.mermaid > svg,
|
2019-08-04 12:12:39 +00:00
|
|
|
.markdown-body pre.abc > svg,
|
|
|
|
.markdown-body pre.vega > svg {
|
2016-03-04 15:26:27 +00:00
|
|
|
max-width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2016-10-14 09:35:35 +00:00
|
|
|
|
2017-12-28 18:21:52 +00:00
|
|
|
.night .markdown-body .abc path{
|
|
|
|
fill: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.night .markdown-body .abc path.note_selected{
|
|
|
|
fill: ##4DD0E1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.night tspan{
|
|
|
|
fill: #fefefe;
|
|
|
|
}
|
|
|
|
|
|
|
|
.night pre rect{
|
|
|
|
fill: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.night pre.flow-chart rect,
|
|
|
|
.night pre.flow-chart path{
|
|
|
|
stroke: white;
|
|
|
|
}
|
|
|
|
|
2016-10-14 09:35:35 +00:00
|
|
|
.markdown-body pre > code.wrap {
|
|
|
|
white-space: pre-wrap; /* Since CSS 2.1 */
|
|
|
|
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
|
|
|
white-space: -pre-wrap; /* Opera 4-6 */
|
|
|
|
white-space: -o-pre-wrap; /* Opera 7 */
|
|
|
|
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
2016-10-21 10:15:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body .alert > p,
|
|
|
|
.markdown-body .alert > ul {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2018-02-25 13:48:50 +00:00
|
|
|
|
|
|
|
/* Make details boxes look like on GitHub */
|
2018-02-26 13:05:13 +00:00
|
|
|
.markdown-body summary {
|
|
|
|
display: list-item;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body summary:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2018-02-25 13:48:50 +00:00
|
|
|
.markdown-body details summary {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2018-02-26 13:05:13 +00:00
|
|
|
.markdown-body details:not([open]) > *:not(summary) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.markdown-body figure {
|
|
|
|
margin: 1em 40px;
|
2018-02-25 13:48:50 +00:00
|
|
|
}
|
2018-07-03 19:25:32 +00:00
|
|
|
|
|
|
|
.markdown-body img {
|
|
|
|
background-color: transparent;
|
|
|
|
}
|