finish accessibility work

This commit is contained in:
nek0 2023-04-11 15:47:08 +02:00
parent 22510176fd
commit 0ac11cda4b
2 changed files with 18 additions and 15 deletions

View file

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

View file

@ -26,6 +26,7 @@
</div> </div>
<div class="tags"> <div class="tags">
Tags:
$tagCloud$ $tagCloud$
</div> </div>