2018-08-02 22:47:49 +01:00
|
|
|
* {
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
background-color: #111;
|
|
|
|
color: #bbb;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2018-08-14 14:56:13 +01:00
|
|
|
font-family: sans-serif;
|
2018-08-02 22:47:49 +01:00
|
|
|
color: #ccc;
|
|
|
|
background-color: #222;
|
|
|
|
font-size: 110%;
|
|
|
|
line-height: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
fill: currentColor;
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
vertical-align: middle;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #5193D4;
|
|
|
|
text-decoration: none;
|
2018-08-08 09:42:42 +01:00
|
|
|
border: 1px solid transparent;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: #fff;
|
2018-08-08 09:42:42 +01:00
|
|
|
border-bottom: 1px solid #fff;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
font-size: 1.6em;
|
|
|
|
}
|
|
|
|
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
h1, h2 {
|
|
|
|
line-height: 1.2em;
|
|
|
|
}
|
|
|
|
|
2018-08-02 22:47:49 +01:00
|
|
|
h2, h3 {
|
|
|
|
margin-top: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
|
|
|
border: none;
|
|
|
|
border-top: 1px solid #777;
|
|
|
|
margin: 1em 0;
|
|
|
|
clear:both;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
border-left: 3px solid #999;
|
|
|
|
margin: 2em 0 2em 1em;
|
|
|
|
padding: 0 0 0 1em;
|
|
|
|
color: #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
dt {
|
|
|
|
font-weight: bold;
|
|
|
|
margin: 1em 0 0.6em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
dd img {
|
|
|
|
width: 1em;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure {
|
|
|
|
margin: 2em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure > a {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption {
|
|
|
|
padding: 0.3em 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
figure img {
|
|
|
|
display: block;
|
|
|
|
max-height: 98vh;
|
|
|
|
max-width: 100%;
|
|
|
|
width:auto;
|
|
|
|
height:auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
border: 1px solid #000;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption dt {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
figcaption dd {
|
|
|
|
font-size: 0.8em;
|
|
|
|
display: inline-block;
|
|
|
|
margin:0.3em 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
|
|
|
padding-left: 1.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
li {
|
|
|
|
padding: 0.1em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
li p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
input, button {
|
2018-08-02 22:47:49 +01:00
|
|
|
border: none;
|
|
|
|
color: #ccc;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
|
2018-08-14 14:56:13 +01:00
|
|
|
button svg {
|
|
|
|
transition: all 0.2s;
|
|
|
|
}
|
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
input {
|
|
|
|
border-bottom: 3px solid #ccc;
|
|
|
|
}
|
|
|
|
|
2018-08-02 22:47:49 +01:00
|
|
|
label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav ul {
|
|
|
|
list-style-type: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav li {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0 0.6em 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
code, pre, q, figcaption {
|
2018-08-14 14:56:13 +01:00
|
|
|
font-family: monospace;
|
2018-08-04 09:30:26 +01:00
|
|
|
font-size: 0.94em;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
code, pre {
|
2018-08-08 09:42:42 +01:00
|
|
|
color: #32CD32;
|
2018-08-02 22:47:49 +01:00
|
|
|
border: 1px solid #666;
|
|
|
|
direction: ltr;
|
|
|
|
word-break: break-all;
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
overflow:initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
padding: 0.6em;
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
position: relative;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
code {
|
|
|
|
padding: 0.1em 0.2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre > code {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
pre> code::before {
|
|
|
|
content: attr(lang);
|
|
|
|
float: right;
|
2018-08-04 09:30:26 +01:00
|
|
|
color: #999;
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
}
|
|
|
|
|
2018-08-02 22:47:49 +01:00
|
|
|
table {
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
padding: 0.3em;
|
|
|
|
border: 1px solid #777;
|
|
|
|
text-align:left;
|
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2018-08-04 09:30:26 +01:00
|
|
|
th, tr:nth-child(even) {
|
|
|
|
background-color: rgba(255, 255, 255, .1);
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body > header,
|
|
|
|
body > footer {
|
|
|
|
text-align: center;
|
2018-08-08 09:42:42 +01:00
|
|
|
padding: 0.6em 0.6em;
|
2018-08-02 22:47:49 +01:00
|
|
|
background-color: #111;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header form {
|
|
|
|
padding: 0.2em 0 0 0;
|
2018-08-08 09:42:42 +01:00
|
|
|
display: inline-block;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
body > header p {
|
|
|
|
margin: 1em 0 0 0;
|
|
|
|
font-size: 0.8em;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
|
2018-08-02 22:47:49 +01:00
|
|
|
body > svg,
|
|
|
|
body > script {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
body > header {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2018-08-02 22:47:49 +01:00
|
|
|
body > header nav {
|
|
|
|
margin: 0.3em 0;
|
|
|
|
}
|
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
body > header a {
|
2018-08-02 22:47:49 +01:00
|
|
|
font-weight: bold;
|
|
|
|
color: #ccc;
|
|
|
|
border-bottom: 3px solid transparent;
|
|
|
|
text-decoration: none;
|
|
|
|
padding-bottom: 0.3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header a:hover,
|
|
|
|
body > header a.active,
|
|
|
|
input:active,
|
|
|
|
input:hover {
|
|
|
|
border-bottom: 3px solid #fefefe;
|
|
|
|
color: #fefefe;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > header a svg {
|
|
|
|
display: block;
|
|
|
|
margin: 0.1em auto;
|
|
|
|
}
|
|
|
|
|
2018-08-14 14:56:13 +01:00
|
|
|
body > main,
|
|
|
|
body > nav,
|
|
|
|
body > footer > div {
|
2018-08-02 22:47:49 +01:00
|
|
|
max-width: 86ch;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 0.6em;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > nav ul {
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > nav li {
|
2018-08-08 09:42:42 +01:00
|
|
|
margin: 1em 0.6em;
|
2018-08-14 14:56:13 +01:00
|
|
|
font-size: 1.6em;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body > nav .current {
|
|
|
|
color: #999;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > footer {
|
2018-08-14 14:56:13 +01:00
|
|
|
text-align: center;
|
2018-08-02 22:47:49 +01:00
|
|
|
color: #ccc;
|
2018-08-14 14:56:13 +01:00
|
|
|
font-family: monospace;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
body > footer img {
|
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
body > footer h2 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2018-08-14 14:56:13 +01:00
|
|
|
body > footer > ul >li > a > span {
|
|
|
|
display: block;
|
|
|
|
font-size: 0.8em;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
.footnotes a {
|
2018-08-02 22:47:49 +01:00
|
|
|
display: inline-block;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: top;
|
|
|
|
max-width: 80%;
|
|
|
|
}
|
|
|
|
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
.footnote-back {
|
2018-08-02 22:47:49 +01:00
|
|
|
margin: 0 0 0 0.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h-feed h1 {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media all and (min-width: 56em) {
|
2018-08-14 14:56:13 +01:00
|
|
|
body > header {
|
2018-08-02 22:47:49 +01:00
|
|
|
text-align: unset;
|
|
|
|
display: flex;
|
2018-08-08 09:42:42 +01:00
|
|
|
justify-content:space-between;
|
2018-08-02 22:47:49 +01:00
|
|
|
}
|
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
body > header p {
|
2018-08-02 22:47:49 +01:00
|
|
|
display: inline-block;
|
|
|
|
margin: 0;
|
|
|
|
}
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
|
2018-08-08 09:42:42 +01:00
|
|
|
body > header a svg {
|
|
|
|
display: inline-block;
|
Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.
Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
|
|
|
}
|
2018-08-08 09:42:42 +01:00
|
|
|
}
|