1
0
Fork 0
hugo-paper/assets/custom.css

54 lines
1.1 KiB
CSS

/* Place custom css here. */
/* Definitionen einrücken */
dl dd {
margin-left: 2em;
}
/* Notiz-Block/Anmerkungen */
.note {
/*border: .25em solid #FCAF3E;*/
border-radius: 6px;
padding: .5em;
background:#FCE94F;
/* from .highlight pre */
margin: 27px -32px;
padding: 32px;
}
:is(.dark body) .note {
color: #111;
}
:is(.dark body) .note code {
color: #111;
}
:is(.dark body) .note a:link, :is(.dark body) .note a:visited, :is(.dark body) .note a:hover, :is(.dark body) .note a:active {
color: #111;
}
.prose .note :where(ul > li):not(:where([class~="not-prose"] *))::marker {
/* List bullet point */
color: #000;
}
.note h4 {
margin: .5em 0 1em;
color: #000;
}
/* Fußnoten - <https://geekthis.net/post/hugo-footnotes-and-citations/> */
a.footnote-ref::before {
content: '[';
}
a.footnote-ref::after {
content: ']';
}
/* inline code blocks */
.prose :where(code):not(:where([class~=not-prose] *))::before {
/*content: "`";*/
content: "" !important;
}
.prose :where(code):not(:where([class~=not-prose] *))::after {
/*content: "`";*/
content: "" !important;
}