dropin-minimal-css/src/markdown.css

287 lines
4.1 KiB
CSS
Raw Normal View History

2020-05-22 00:21:15 +00:00
body {
2020-05-20 22:20:31 +00:00
word-wrap: break-word;
2020-05-22 00:21:15 +00:00
font-family: consolas, monaco, courier, "courier new", fixed-width;
}
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
blockquote,
em,
strong,
code {
2020-05-20 22:20:31 +00:00
font-size: 14px;
line-height: 20px;
font-weight: normal;
font-style: normal;
2020-05-22 00:21:15 +00:00
font-family: consolas, monaco, courier, "courier new", fixed-width;
2020-05-20 22:20:31 +00:00
color: #333333;
}
2020-05-22 00:21:15 +00:00
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
blockquote,
ol,
ul,
li,
p,
section,
header,
footer {
2020-05-20 22:20:31 +00:00
float: none;
margin: 0;
padding: 0;
}
2020-05-22 00:21:15 +00:00
h1,
p,
ul,
ol,
pre,
blockquote {
2020-05-20 22:20:31 +00:00
margin-top: 20px;
margin-bottom: 20px;
}
2020-05-22 00:21:15 +00:00
h1 {
2020-05-20 22:20:31 +00:00
position: relative;
display: inline-block;
display: table-cell;
padding: 20px 0 40px;
margin: 0;
overflow: hidden;
}
2020-05-22 00:21:15 +00:00
h1:after {
2020-05-20 22:20:31 +00:00
content: "====================================================================================================";
position: absolute;
bottom: 20px;
left: 0;
}
2020-05-22 00:21:15 +00:00
h1 + * {
2020-05-20 22:20:31 +00:00
margin-top: 0;
}
2020-05-22 00:21:15 +00:00
h2,
h3,
h4,
h5,
h6 {
2020-05-20 22:20:31 +00:00
position: relative;
margin-bottom: 20px;
}
2020-05-22 00:21:15 +00:00
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
2020-05-20 22:20:31 +00:00
content: "## ";
display: inline;
}
2020-05-22 00:21:15 +00:00
h3:before {
2020-05-20 22:20:31 +00:00
content: "### ";
}
2020-05-22 00:21:15 +00:00
h4:before {
2020-05-20 22:20:31 +00:00
content: "#### ";
}
2020-05-22 00:21:15 +00:00
h5:before {
2020-05-20 22:20:31 +00:00
content: "##### ";
}
2020-05-22 00:21:15 +00:00
h6:before {
2020-05-20 22:20:31 +00:00
content: "###### ";
}
2020-05-22 00:21:15 +00:00
li {
2020-05-20 22:20:31 +00:00
position: relative;
display: block;
padding-left: 34px;
padding-left: 4ch;
}
2020-05-22 00:21:15 +00:00
li:after {
2020-05-20 22:20:31 +00:00
position: absolute;
top: 0;
left: 0;
}
2020-05-22 00:21:15 +00:00
ul > li:after {
2020-05-20 22:20:31 +00:00
content: "*";
}
2020-05-22 00:21:15 +00:00
ol {
2020-05-20 22:20:31 +00:00
counter-reset: ol;
}
2020-05-22 00:21:15 +00:00
ol > li:after {
2020-05-20 22:20:31 +00:00
content: counter(ol) ".";
counter-increment: ol;
}
2020-05-22 00:21:15 +00:00
pre {
2020-05-20 22:20:31 +00:00
margin-left: 34px;
2020-05-22 00:21:15 +00:00
padding-left: 4ch;
2020-05-20 22:20:31 +00:00
}
2020-05-22 00:21:15 +00:00
blockquote {
2020-05-20 22:20:31 +00:00
position: relative;
padding-left: 17px;
padding-left: 2ch;
overflow: hidden;
}
2020-05-22 00:21:15 +00:00
blockquote:after {
2020-05-20 22:20:31 +00:00
content: ">\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>\A>";
white-space: pre;
position: absolute;
top: 0;
left: 0;
font-size: 14px;
line-height: 20px;
}
2020-05-22 00:21:15 +00:00
strong:before,
strong:after {
2020-05-20 22:20:31 +00:00
content: "__";
display: inline;
}
2020-05-22 00:21:15 +00:00
em:before,
em:after {
2020-05-20 22:20:31 +00:00
content: "*";
display: inline;
}
2020-05-22 00:21:15 +00:00
a {
2020-05-20 22:20:31 +00:00
text-decoration: none;
2020-05-22 00:21:15 +00:00
color: black;
cursor: pointer;
2020-05-20 22:20:31 +00:00
}
2020-05-22 00:21:15 +00:00
a:before {
2020-05-20 22:20:31 +00:00
content: "[";
display: inline;
color: #333333;
}
2020-05-22 00:21:15 +00:00
a:after {
2020-05-20 22:20:31 +00:00
content: "](" attr(href) ")";
display: inline;
color: #333333;
}
2020-05-22 00:21:15 +00:00
code {
2020-05-20 22:20:31 +00:00
font-weight: 100;
}
2020-05-22 00:21:15 +00:00
code:before,
code:after {
2020-05-20 22:20:31 +00:00
content: "`";
display: inline;
}
2020-05-22 00:21:15 +00:00
pre code:before,
pre code:after {
2020-05-20 22:20:31 +00:00
content: none;
}
2020-05-22 00:21:15 +00:00
hr {
2020-05-20 22:20:31 +00:00
position: relative;
height: 20px;
font-size: 0;
line-height: 0;
overflow: hidden;
border: 0;
margin-bottom: 20px;
}
2020-05-22 00:21:15 +00:00
hr:after {
2020-05-20 22:20:31 +00:00
content: "----------------------------------------------------------------------------------------------------";
position: absolute;
top: 0;
left: 0;
font-size: 14px;
line-height: 20px;
width: 100%;
word-wrap: break-word;
}
2020-05-22 00:21:15 +00:00
img {
display: inline;
content: "";
height: 1px
}
img:before {
content: "![" attr(alt) "](" attr(src) ")";
display: inline;
color: #333333;
}
/*th:after {
content: "---";
}*/
td:after {
content: " | ";
}
td:last-child:after {
content: "";
}
td {
margin: 0;
padding: 0;
}
th {
float: none;
position: relative;
display: inline-block;
display: table-cell;
padding: 20px 0 40px;
margin: 0;
overflow: hidden;
font-weight: normal;
}
th:after {
content: "----------";
position: absolute;
bottom: 20px;
left: 15px;
}
th:before {
content: " | ";
position: absolute;
bottom: 20px;
left: 0;
padding-right: 2px;
}
th:first-child:before {
content: "";
position: absolute;
bottom: 20px;
left: 0;
}
/*th:last-child:after {
content: "--------------";
position: absolute;
bottom: 20px;
left: 0;
}*/
tfoot {
display: none;
}
/*video {
display: inline;
content: "";
height: 1px
}
audio {
display: inline;
content: "";
height: 1px
}
source {
display: inline;
content: "";
height: 1px
}
source:before {
content: "![](" attr(src) ")";
display: inline;
color: #333333;
}*/
2020-05-20 22:20:31 +00:00
@-moz-document url-prefix() {
2020-05-22 00:21:15 +00:00
h1 {
2020-05-20 22:20:31 +00:00
display: block;
}
}
2020-05-22 00:21:15 +00:00
ol > li:after {
2020-05-20 22:20:31 +00:00
content: "1.";
}