mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Fix #5303: Stop styling commandline
Other third party themes should follow this recipe using nesting and a :not
This commit is contained in:
parent
22ab6b4f65
commit
749dd59903
|
|
@ -11,13 +11,15 @@
|
|||
--serif-font: EconomistSerif, Plantin, Garamond, serif;
|
||||
}
|
||||
|
||||
html {
|
||||
html:not(.TridactylCommandline) {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
overflow: hidden;
|
||||
font-family: var(--serif-font);
|
||||
}
|
||||
|
||||
:not(.TridactylCommandline) {
|
||||
|
||||
body {
|
||||
display: block;
|
||||
height: 100%;
|
||||
|
|
@ -41,7 +43,6 @@ figure, section, article, .notice,
|
|||
h1, h2, h3, h4, h5, h6,
|
||||
img, video, table {
|
||||
break-inside: avoid;
|
||||
-webkit-column-break-inside: avoid;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 { break-after: avoid-column; }
|
||||
|
|
@ -108,3 +109,4 @@ h2, h3 { margin-top: 0.5rem; }
|
|||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue