diff --git a/site/css/default.css b/site/css/default.css index 9f1ba00..a00c256 100644 --- a/site/css/default.css +++ b/site/css/default.css @@ -125,10 +125,14 @@ article li { text-indent: -2ex; } -article p, article ul { +article p, article ul, .tags, .info { background-color: var(--box-color); } +.tags, .info { + border-radius: var(--border-radius); +} + article p:first-of-type, article ul:first-of-type { border-top-left-radius: var(--border-radius); border-top-right-radius: var(--border-radius); @@ -277,8 +281,7 @@ article p:last-of-type, article ul:last-of-type { pre { border: dashed 1px #000000; border-radius: (--border-radius); - background-color: rgba(0, 0, 0, 0.2); - background: rgba(0, 0, 0, 0.2); + background-color: #000000aa; padding: 10px; } @@ -301,8 +304,7 @@ pre code::before { code { font-size: 14pt; - background: rgba(0, 0, 0, 0.2); - background-color: rgba(0, 0, 0, 0.2); + background-color: #000000aa; border: dashed 1px #000000; border-radius: var(--border-radius); } @@ -324,6 +326,7 @@ h3, h4, h5 { .pagination { display: inline-block; width: 100%; + margin: 3em 0 3em; } .left, .right { @@ -342,18 +345,16 @@ h3, h4, h5 { .info { font-size: 14pt; font-style: italic; - padding-bottom: 20px; + margin: 20px 0 20px; + padding: 20px; } -.tags a::before { +.tags a { display: inline-block; - width: 2ex; - height: 2ex; - content: ""; - padding-right: 0.5ex; - background-repeat: no-repeat; - background-size: contain; - background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIgogICB4bWxuczpjYz0iaHR0cDovL2NyZWF0aXZlY29tbW9ucy5vcmcvbnMjIgogICB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zPSJodHRwOi8vd3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01MywwIC05MCwzNyBMIDkxLDY0NiBRIDUzLDY4MyAyNi41LDc0NyAwLDgxMSAwLDg2NCB2IDQxNiBxIDAsNTIgMzgsOTAgMzgsMzggOTAsMzggaCA0MTYgcSA1MywwIDExNywtMjYuNSA2NCwtMjYuNSAxMDIsLTY0LjUgbCA3MTUsLTcxNCBxIDM3LC0zOSAzNywtOTEgeiBtIDM4NCwwIHEgMCwtNTMgLTM3LC05MCBMIDEzNzEsLTcwIHEgLTM5LC0zNyAtOTEsLTM3IC0zNiwwIC01OSwxNCAtMjMsMTQgLTUzLDQ1IGwgNDcwLDQ3MCBxIDM3LDM3IDM3LDkwIDAsNTIgLTM3LDkxIGwgLTcxNSw3MTQgcSAtMzgsMzggLTEwMiw2NC41IC02NCwyNi41IC0xMTcsMjYuNSBoIDIyNCBxIDUzLDAgMTE3LC0yNi41IDY0LC0yNi41IDEwMiwtNjQuNSBsIDcxNSwtNzE0IHEgMzcsLTM5IDM3LC05MSB6IiAvPgogIDwvZz4KPC9zdmc+Cg==); + padding: 1ex; + margin: 1ex; + background-color: black; + border-radius: 5px; } .feed a { @@ -368,7 +369,7 @@ h3, h4, h5 { font-weight: normal; font-style: normal; /* box shadow */ - box-shadow: 5px 5px 10px #a1a1a1; + box-shadow: 5px 5px 10px var(--box-color); /* bg-colour */ background-color: blanchedalmond; /* adjust line height */ @@ -381,6 +382,7 @@ h3, h4, h5 { .scripture p { padding-top: 25px; + background-color: transparent; } p { diff --git a/templates/post.html b/templates/post.html index ce42faf..319e121 100644 --- a/templates/post.html +++ b/templates/post.html @@ -26,6 +26,7 @@