Some improvements to the config (breaking changes!)

- Remove support for per-page/section emoji favicon (breaking change!)
- Update copyright year
- Improve code comments in config
- Introduce a new configuration variable: locale; used for defining comment timestamp locale
- Fix code blocks having every other line being darker in some complex cases (unset leftover styles from "table")
- Fix code block "mark" having an edge highlight (leftover style from "mark")
- Use get_url for code block styles
- Always use png favicon as a fallback
- Get rid of transparency and roundness in apple-touch-icon (as recommended by 🤮pple)
This commit is contained in:
David Lapshin
2024-04-21 20:36:38 +03:00
parent 664bc2f987
commit 41ff1c4748
7 changed files with 42 additions and 38 deletions

View File

@ -8,7 +8,6 @@
animation: flicker 0.25s alternate infinite;
margin: unset;
box-shadow: unset;
// Unset some <pre> stuff
background-color: unset;
padding: 1rem 1rem;
color: var(--primary-color);

View File

@ -210,6 +210,7 @@ pre {
mark {
display: block;
box-shadow: none;
border-radius: 0; // Unset code block border radius
background-color: var(--fg-muted-1);
padding: 0; // Unset mark padding
@ -223,6 +224,12 @@ pre {
width: 100%;
table-layout: auto;
overflow: auto;
tr {
&:nth-child(even) {
background-color: unset;
}
}
}
// The line numbers already provide some kind of left/right padding