website-theme/assets/css/markdown.css

546 lines
8.8 KiB
CSS
Raw Normal View History

2022-05-08 18:02:35 -04:00
main .e-content a {
2019-03-23 12:59:56 -04:00
background-color: transparent;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content a:active,
main .e-content a:hover {
2019-03-23 12:59:56 -04:00
outline-width: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content strong {
2019-03-23 12:59:56 -04:00
font-weight: inherit;
}
2022-05-08 18:02:35 -04:00
main .e-content strong {
2019-03-23 12:59:56 -04:00
font-weight: bolder;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h1 {
2019-03-23 12:59:56 -04:00
font-size: 2em;
margin: 0.67em 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content img {
2019-03-23 12:59:56 -04:00
border-style: none;
box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content code,
main .e-content kbd,
main .e-content pre {
font-family: monospace, monospace;
2019-03-23 12:59:56 -04:00
font-size: 1em;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content hr {
2019-03-23 12:59:56 -04:00
box-sizing: content-box;
height: 0;
overflow: visible;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content input {
2019-03-23 12:59:56 -04:00
font: inherit;
margin: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content input {
2019-03-23 12:59:56 -04:00
overflow: visible;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content [type="checkbox"] {
2019-03-23 12:59:56 -04:00
box-sizing: border-box;
padding: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content * {
2019-03-23 12:59:56 -04:00
box-sizing: border-box;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content input {
2019-03-23 12:59:56 -04:00
font-family: inherit;
font-size: inherit;
line-height: inherit;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content a {
/* color: #0366d6; */
/* text-decoration: none; */
text-decoration: underline;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content a:hover {
2019-03-23 12:59:56 -04:00
text-decoration: underline;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content strong {
2019-03-23 12:59:56 -04:00
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content hr {
2019-03-26 07:35:49 -04:00
height: 0;
margin: 15px 0;
overflow: hidden;
background: transparent;
border: 0;
border-bottom: 1px solid #dfe2e5;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content hr::before {
2019-03-26 07:35:49 -04:00
display: table;
content: "";
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content hr::after {
display: table;
2019-03-23 12:59:56 -04:00
clear: both;
content: "";
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content table {
2019-03-26 07:35:49 -04:00
border-spacing: 0;
border-collapse: collapse;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content td,
main .e-content th {
2019-03-23 12:59:56 -04:00
padding: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h1,
main .e-content h2,
main .e-content h3,
main .e-content h4,
main .e-content h5,
main .e-content h6 {
2019-03-26 07:35:49 -04:00
margin-top: 0;
margin-bottom: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h1 {
2019-03-23 12:59:56 -04:00
font-size: 32px;
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h2 {
2019-03-23 12:59:56 -04:00
font-size: 24px;
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h3 {
2019-03-23 12:59:56 -04:00
font-size: 20px;
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h4 {
2019-03-23 12:59:56 -04:00
font-size: 16px;
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h5 {
2019-03-23 12:59:56 -04:00
font-size: 14px;
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h6 {
2019-03-23 12:59:56 -04:00
font-size: 12px;
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content p {
2019-03-26 07:35:49 -04:00
margin-top: 0;
margin-bottom: 10px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content blockquote {
2019-03-23 12:59:56 -04:00
margin: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content ul,
main .e-content ol {
2019-03-26 07:35:49 -04:00
padding-left: 0;
margin-top: 0;
margin-bottom: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content ol ol,
main .e-content ul ol {
2019-03-23 12:59:56 -04:00
list-style-type: lower-roman;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content ul ul ol,
main .e-content ul ol ol,
main .e-content ol ul ol,
main .e-content ol ol ol {
2019-03-23 12:59:56 -04:00
list-style-type: lower-alpha;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content dd {
2019-03-23 12:59:56 -04:00
margin-left: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content code {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
2019-03-23 12:59:56 -04:00
font-size: 12px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content pre {
2019-03-26 07:35:49 -04:00
margin-top: 0;
margin-bottom: 0;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 12px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .octicon {
vertical-align: text-bottom;
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .pl-0 {
padding-left: 0 !important;
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .pl-1 {
padding-left: 4px !important;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .pl-2 {
padding-left: 8px !important;
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .pl-3 {
padding-left: 16px !important;
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .pl-4 {
padding-left: 24px !important;
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .pl-5 {
padding-left: 32px !important;
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .pl-6 {
padding-left: 40px !important;
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content::before {
2019-03-23 12:59:56 -04:00
display: table;
content: "";
2019-03-26 07:35:49 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content::after {
display: table;
2019-03-23 12:59:56 -04:00
clear: both;
content: "";
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content>*:first-child {
margin-top: 0 !important;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content>*:last-child {
margin-bottom: 0 !important;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content a:not([href]) {
2019-03-23 12:59:56 -04:00
color: inherit;
text-decoration: none;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .anchor {
float: left;
padding-right: 4px;
margin-left: -20px;
line-height: 1;
}
2022-05-08 18:02:35 -04:00
main .e-content .anchor:focus {
outline: none;
}
2022-05-08 18:02:35 -04:00
main .e-content p,
main .e-content blockquote,
main .e-content ul,
main .e-content ol,
main .e-content dl,
main .e-content table,
main .e-content pre {
2019-03-26 07:35:49 -04:00
margin-top: 0;
margin-bottom: 16px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content hr {
2024-01-27 12:09:19 -05:00
height: 0.2rem;
padding: 0;
margin: 24px 0;
2024-01-27 12:09:19 -05:00
background-color: #d2c9c9;
2019-03-23 12:59:56 -04:00
border: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content blockquote {
2019-03-26 07:35:49 -04:00
padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #dfe2e5;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content blockquote>:first-child {
2019-03-23 12:59:56 -04:00
margin-top: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content blockquote>:last-child {
2019-03-23 12:59:56 -04:00
margin-bottom: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content kbd {
2019-03-26 07:35:49 -04:00
display: inline-block;
padding: 3px 5px;
2019-03-26 07:35:49 -04:00
font-size: 11px;
line-height: 10px;
color: #444d56;
2019-03-26 07:35:49 -04:00
vertical-align: middle;
background-color: #fafbfc;
border: solid 1px #c6cbd1;
border-bottom-color: #959da5;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #959da5;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h1,
main .e-content h2,
main .e-content h3,
main .e-content h4,
main .e-content h5,
main .e-content h6 {
margin-top: 24px;
margin-bottom: 16px;
2019-03-23 12:59:56 -04:00
font-weight: 600;
line-height: 1.25;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h1 .octicon-link,
main .e-content h2 .octicon-link,
main .e-content h3 .octicon-link,
main .e-content h4 .octicon-link,
main .e-content h5 .octicon-link,
main .e-content h6 .octicon-link {
color: #1b1f23;
vertical-align: middle;
visibility: hidden;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h1:hover .anchor,
main .e-content h2:hover .anchor,
main .e-content h3:hover .anchor,
main .e-content h4:hover .anchor,
main .e-content h5:hover .anchor,
main .e-content h6:hover .anchor {
text-decoration: none;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h1:hover .anchor .octicon-link,
main .e-content h2:hover .anchor .octicon-link,
main .e-content h3:hover .anchor .octicon-link,
main .e-content h4:hover .anchor .octicon-link,
main .e-content h5:hover .anchor .octicon-link,
main .e-content h6:hover .anchor .octicon-link {
visibility: visible;
}
2022-05-08 18:02:35 -04:00
main .e-content h1 {
padding-bottom: 0.3em;
font-size: 2em;
border-bottom: 1px solid #c9c9c9;
}
2022-05-08 18:02:35 -04:00
main .e-content h2 {
padding-bottom: 0.3em;
2019-03-23 12:59:56 -04:00
font-size: 1.5em;
border-bottom: 1px solid #c9c9c9;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h3 {
2019-03-23 12:59:56 -04:00
font-size: 1.25em;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h4 {
2019-03-23 12:59:56 -04:00
font-size: 1em;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h5 {
font-size: 0.875em;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h6 {
font-size: 0.85em;
2019-03-23 12:59:56 -04:00
color: #6a737d;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content ul,
main .e-content ol {
2019-03-23 12:59:56 -04:00
padding-left: 2em;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content ul ul,
main .e-content ul ol,
main .e-content ol ol,
main .e-content ol ul {
2019-03-26 07:35:49 -04:00
margin-top: 0;
margin-bottom: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content li {
2019-03-23 12:59:56 -04:00
word-wrap: break-all;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content li>p {
2019-03-23 12:59:56 -04:00
margin-top: 16px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content li+li {
margin-top: 0.25em;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content dl {
2019-03-23 12:59:56 -04:00
padding: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content dl dt {
padding: 0;
margin-top: 16px;
2019-03-23 12:59:56 -04:00
font-size: 1em;
font-style: italic;
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content dl dd {
2019-03-26 07:35:49 -04:00
padding: 0 16px;
margin-bottom: 16px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content table {
2019-03-23 12:59:56 -04:00
display: block;
2019-03-26 07:35:49 -04:00
width: 100%;
overflow: auto;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content table th {
2019-03-23 12:59:56 -04:00
font-weight: 600;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content table th,
main .e-content table td {
2019-03-23 12:59:56 -04:00
padding: 6px 13px;
border: 1px solid #c9c9c9;
background-color: #f6f6f6;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content img {
2024-01-27 12:09:19 -05:00
display: block;
margin-left: auto;
margin-right: auto;
2019-03-26 07:35:49 -04:00
max-width: 100%;
box-sizing: content-box;
background-color: #f6f6f6;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content img[align=right] {
2019-03-23 12:59:56 -04:00
padding-left: 20px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content img[align=left] {
2019-03-23 12:59:56 -04:00
padding-right: 20px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content code {
padding: 0.2em 0.4em;
2019-03-26 07:35:49 -04:00
margin: 0;
font-size: 85%;
2019-05-19 11:15:18 -04:00
background-color: #f6f6f6;
border-radius: 3px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content pre {
2019-03-23 12:59:56 -04:00
word-wrap: normal;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content pre>code {
2019-03-26 07:35:49 -04:00
padding: 0;
margin: 0;
font-size: 100%;
2019-03-26 07:35:49 -04:00
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .highlight {
2019-03-23 12:59:56 -04:00
margin-bottom: 16px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .highlight pre {
2019-03-23 12:59:56 -04:00
margin-bottom: 0;
word-break: normal;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .highlight pre,
main .e-content pre {
padding: 16px;
overflow: auto;
2019-03-23 12:59:56 -04:00
font-size: 85%;
line-height: 1.45;
background-color: #f6f6f6;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content pre code {
2019-03-23 12:59:56 -04:00
display: inline;
max-width: auto;
padding: 0;
margin: 0;
2019-03-23 12:59:56 -04:00
overflow: visible;
line-height: inherit;
2019-03-23 12:59:56 -04:00
word-wrap: normal;
background-color: transparent;
border: 0;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .full-commit .btn-outline:not(:disabled):hover {
color: #005cc5;
border-color: #005cc5;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content kbd {
display: inline-block;
padding: 3px 5px;
font: 11px "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
line-height: 10px;
color: #444d56;
vertical-align: middle;
2019-03-23 12:59:56 -04:00
background-color: #fafbfc;
border: solid 1px #d1d5da;
2019-03-23 12:59:56 -04:00
border-bottom-color: #c6cbd1;
border-radius: 3px;
box-shadow: inset 0 -1px 0 #c6cbd1;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content :checked+.radio-label {
2019-03-23 12:59:56 -04:00
position: relative;
z-index: 1;
border-color: #0366d6;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .task-list-item {
2019-03-23 12:59:56 -04:00
list-style-type: none;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .task-list-item+.task-list-item {
2019-03-23 12:59:56 -04:00
margin-top: 3px;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content .task-list-item input {
margin: 0 0.2em 0.25em -1.6em;
2019-03-23 12:59:56 -04:00
vertical-align: middle;
2018-09-23 07:11:35 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content hr {
2019-03-23 12:59:56 -04:00
border-bottom-color: #eee;
2019-05-19 11:15:18 -04:00
}