Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed https://markdown-it.github.io/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

121 lines
2.2 KiB

html,
body,
.full-height {
height: 100%;
}
body {
overflow-x: hidden;
padding-bottom: 180px;
background-color: #fbfbfb;
}
.demo-options {
margin-bottom: 10px;
}
.opt__strict .not-strict {
opacity: 0.3;
}
.checkbox {
margin-right: 10px;
}
.source {
width: 100%;
font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
font-size: 13px;
padding: 2px;
}
.result-html {
padding: 2px 10px;
overflow: auto;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
}
.result-html img {
max-width: 50%;
}
.result-src,
.result-debug {
display: none;
background-color: #fff;
}
.result-src-content,
.result-debug-content {
white-space: pre;
}
.result-as-html .result-html {
display: block;
}
.result-as-html .result-src,
.result-as-html .result-debug {
display: none;
}
.result-as-src .result-src {
display: block;
}
.result-as-src .result-html,
.result-as-src .result-debug {
display: none;
}
.result-as-debug .result-debug {
display: block;
}
.result-as-debug .result-html,
.result-as-debug .result-src {
display: none;
}
.demo-control {
position: absolute;
right: 40px;
top: 0;
border-radius: 0 0 6px 6px;
font-size: 12px;
background-color: #666;
color: #fff !important;
opacity: 0.6;
-webkit-transition: opacity 0.5s ease-in-out;
transition: opacity 0.5s ease-in-out;
}
.demo-control:hover {
opacity: 1;
}
.demo-control a {
padding: 0 20px;
color: #fff !important;
}
.demo-control a:first-child {
padding-left: 30px;
}
.demo-control a:last-child {
padding-right: 30px;
}
.hljs {
background: none;
padding: 0;
}
.gh-ribbon {
display: block;
position: absolute;
right: -60px;
top: 44px;
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
width: 230px;
z-index: 10000;
white-space: nowrap;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #686868;
box-shadow: 0 0 2px rgba(102,102,102,0.4);
padding: 1px 0;
}
.gh-ribbon a {
text-decoration: none !important;
border: 1px solid #ccc;
color: #fff;
display: block;
font-size: 13px;
font-weight: 700;
outline: medium none;
padding: 4px 50px 2px;
text-align: center;
}