247 lines
3.2 KiB
SCSS
247 lines
3.2 KiB
SCSS
.markdown-render {
|
|
html {
|
|
font-size: 16px;
|
|
}
|
|
|
|
body {
|
|
font-family: "Open Sans", "Clear Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
color: rgb(51, 51, 51);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
a {
|
|
color: #4183C4;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
position: relative;
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
font-weight: bold;
|
|
line-height: 1.4;
|
|
cursor: text;
|
|
}
|
|
|
|
h1:hover a.anchor,
|
|
h2:hover a.anchor,
|
|
h3:hover a.anchor,
|
|
h4:hover a.anchor,
|
|
h5:hover a.anchor,
|
|
h6:hover a.anchor {
|
|
text-decoration: none;
|
|
}
|
|
|
|
h1 tt,
|
|
h1 code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
h2 tt,
|
|
h2 code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
h3 tt,
|
|
h3 code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
h4 tt,
|
|
h4 code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
h5 tt,
|
|
h5 code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
h6 tt,
|
|
h6 code {
|
|
font-size: inherit;
|
|
}
|
|
|
|
h1 {
|
|
padding-bottom: .3em;
|
|
font-size: 2.0m;
|
|
line-height: 1.2;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
h2 {
|
|
padding-bottom: .3em;
|
|
font-size: 1.66em;
|
|
line-height: 1.225;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 1.33em;
|
|
line-height: 1.43;
|
|
}
|
|
|
|
h4 {
|
|
font-size: 1.11em;
|
|
}
|
|
|
|
h5 {
|
|
font-size: 1em;
|
|
}
|
|
|
|
h6 {
|
|
font-size: .8m;
|
|
color: #777;
|
|
}
|
|
|
|
p,
|
|
blockquote,
|
|
ul,
|
|
ol,
|
|
dl,
|
|
table {
|
|
margin: 0.8em 0;
|
|
}
|
|
|
|
li>ol,
|
|
li>ul {
|
|
margin: 0 0;
|
|
}
|
|
|
|
hr {
|
|
height: 2px;
|
|
padding: 0;
|
|
margin: 16px 0;
|
|
background-color: #e7e7e7;
|
|
border: 0 none;
|
|
overflow: hidden;
|
|
box-sizing: content-box;
|
|
}
|
|
|
|
li p.first {
|
|
display: inline-block;
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
padding-left: 30px;
|
|
}
|
|
|
|
ul:first-child,
|
|
ol:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
ul:last-child,
|
|
ol:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
blockquote {
|
|
border-left: 4px solid #dfe2e5;
|
|
padding: 0 15px;
|
|
color: #777777;
|
|
}
|
|
|
|
blockquote blockquote {
|
|
padding-right: 0;
|
|
}
|
|
|
|
table {
|
|
padding: 0;
|
|
word-break: initial;
|
|
}
|
|
|
|
table tr {
|
|
border-top: 1px solid #dfe2e5;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
table tr:nth-child(2n),
|
|
thead {
|
|
background-color: #f8f8f8;
|
|
}
|
|
|
|
table tr th {
|
|
font-weight: bold;
|
|
border: 1px solid #dfe2e5;
|
|
border-bottom: 0;
|
|
margin: 0;
|
|
padding: 6px 13px;
|
|
}
|
|
|
|
table tr td {
|
|
border: 1px solid #dfe2e5;
|
|
margin: 0;
|
|
padding: 6px 13px;
|
|
}
|
|
|
|
table tr th:first-child,
|
|
table tr td:first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
table tr th:last-child,
|
|
table tr td:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
tt {
|
|
border: 1px solid #e7eaed;
|
|
background-color: #f8f8f8;
|
|
border-radius: 3px;
|
|
padding: 0;
|
|
padding: 2px 4px 0px 4px;
|
|
font-size: .9em;
|
|
}
|
|
|
|
code {
|
|
background-color: #f3f4f4;
|
|
padding: 0 2px 0 2px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
|
|
@media print {
|
|
html {
|
|
font-size: 13px;
|
|
}
|
|
|
|
table,
|
|
pre {
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
pre {
|
|
word-wrap: break-word;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
padding: 1rem;
|
|
font-size: 100%;
|
|
line-height: 1.45;
|
|
background-color:#f7f7f7;
|
|
border: 0;
|
|
border-radius: 3px;
|
|
color: #777777;
|
|
margin-top: 0 !important;
|
|
}
|
|
|
|
blockquote {
|
|
border-left-color: rgba(85, 85, 85, 0.12);
|
|
}
|
|
|
|
header,
|
|
footer {
|
|
font-family: "Segoe UI", "Arial", sans-serif;
|
|
}
|
|
|
|
} |