diff options
author | mjfernez <mjf@mjfer.net> | 2024-07-23 00:01:25 -0400 |
---|---|---|
committer | mjfernez <mjf@mjfer.net> | 2024-07-23 00:22:15 -0400 |
commit | ee5de0d42858ec9589a37c3bbb889be294e9b70e (patch) | |
tree | 21889bfef8140cdc09133807e165f4e964c491d6 | |
parent | 8f00f1a0bf228963a2e844df0a69b469d9429d51 (diff) | |
download | ezcms-mjfer.net.tar.gz |
Add autogen css from pandocmjfer.net
Hopefully will make things look more consistent
-rw-r--r-- | static/main.css | 70 | ||||
m--------- | templates/site | 0 |
2 files changed, 65 insertions, 5 deletions
diff --git a/static/main.css b/static/main.css index e08dcd8..ba6c068 100644 --- a/static/main.css +++ b/static/main.css @@ -45,16 +45,16 @@ p { small { font-size: 75%; } -ul { - display: inline-block; - text-align: left; -} + code { + font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace; display: inline-block; - font-size: 125%; background-color: #d8d8d8; white-space: pre-wrap; word-wrap: break-all; + padding: 0; + overflow: visible; + overflow-wrap: normal; } th { text-align: center; @@ -97,6 +97,66 @@ iframe { word-wrap: break-word; } +/*Auto gen from pandoc*/ +li { + list-style: none; +} +ol, ul { + padding-left: 1.7em; + margin-top: 1em; +} +li > ol, li > ul { + margin-top: 0; +} +blockquote { + margin: 1em 0 1em 1.7em; + padding-left: 1em; + border-left: 2px solid #e6e6e6; + color: #606060; +} + +.sourceCode { + background-color: transparent; + overflow: visible; +} +hr { + background-color: #1a1a1a; + border: none; + height: 1px; + margin: 1em 0; +} +table { + margin: 1em 0; + border-collapse: collapse; + width: 100%; + overflow-x: auto; + display: block; + font-variant-numeric: lining-nums tabular-nums; +} +table caption { + margin-bottom: 0.75em; +} +tbody { + margin-top: 0.5em; + border-top: 1px solid #1a1a1a; + border-bottom: 1px solid #1a1a1a; +} +header { + margin-bottom: 4em; + text-align: center; +} +#TOC li { + list-style: none; +} +#TOC ul { + padding-left: 1.3em; +} +#TOC > ul { + padding-left: 0; +} +#TOC a:not(:hover) { + text-decoration: none; +} @media screen and (max-device-width: 480px) { diff --git a/templates/site b/templates/site -Subproject 60d2e9d3e0c744bd331dec4a39e21e195a43738 +Subproject de83aa364ce15e131a4bcb91508e3bd24d8de43 |