mirror of
https://github.com/welpo/tabi.git
synced 2026-02-15 23:57:19 +01:00
increase selector specificity for Zola errors
This commit is contained in:
parent
5bc4f348a8
commit
fff8e65798
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
// Styles Zola error messages. See https://github.com/welpo/tabi/pull/359
|
// Styles Zola error messages. See https://github.com/welpo/tabi/pull/359
|
||||||
body > div:last-child > div:last-child {
|
body > div:last-child > div:last-child[style]:not([class]):not([id]) {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
|
|
@ -14,13 +14,13 @@ body > div:last-child > div:last-child {
|
||||||
max-width: 80%;
|
max-width: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > div:last-child > div:last-child p {
|
body > div:last-child > div:last-child[style]:not([class]):not([id]) > p[style]:first-child {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--admonition-danger-border);
|
color: var(--admonition-danger-border);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
body > div:last-child > div:last-child pre {
|
body > div:last-child > div:last-child[style]:not([class]):not([id]) > pre[style]:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
background-color: var(--admonition-danger-code);
|
background-color: var(--admonition-danger-code);
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue