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:
@ -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);
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user