area, base, basefont, datalist, head, link, meta, noembed,
noframes, param, rp, script, style, template, title {
display: none;
}
:root {
display: block !important;
}
address, blockquote, center, del, dir, div, dl, dt, dd, fieldset, form, h1, h2, h3, h4,
h5, h6, hr, ins, menu, noframes, noscript, ol, p, pre, ul, body {
display: block;
}
textarea, tt, var, font, iframe, u, s, strike, frame, input, img {
display: inline-block;
}
ol, ul, menu, dir {
margin-left: 4ch;
margin-top: 1em;
margin-bottom: 1em;
}
:is(ol, ul, menu, dir) :is(ol, ul, menu, dir) {
margin-top: unset;
margin-bottom: unset;
}
blockquote {
margin: 1em;
}
q::before {
content: open-quote;
}
q::after {
content: close-quote;
}
table {
display: table;
border-spacing: 0.5ch 0;
padding-left: 0.5ch;
padding-right: 0.5ch;
}
tbody {
display: table-row-group;
vertical-align: middle;
}
thead {
display: table-header-group;
}
tfoot {
display: table-footer-group;
}
colgroup {
display: table-column-group;
}
tr {
display: table-row;
vertical-align: inherit;
}
col {
display: table-column;
}
th {
display: table-cell;
font-weight: bold;
vertical-align: inherit;
}
td {
display: table-cell;
text-align: unset;
vertical-align: inherit;
}
caption {
display: table-caption;
text-align: center;
}
caption[align=top] {
caption-side: top;
}
caption[align=bottom] {
caption-side: bottom;
}
caption[align=left] {
caption-side: left;
}
caption[align=right] {
caption-side: right;
}
input {
margin-right: 1ch;
white-space: pre;
color: red;
}
input[type="hidden"] {
display: none;
}
input::before {
content: '[';
text-decoration: none;
color: initial;
}
input::after {
content: ']';
text-decoration: none;
color: initial;
}
input[type="radio"]::before {
content: '(';
text-decoration: none;
color: initial;
}
input[type="radio"]::after {
content: ')';
text-decoration: none;
color: initial;
}
input:is([type="text"], [type="password"], [type="search"], [type="file"]) {
text-decoration: underline;
}
input:is([type="submit"], [type="button"], [type="reset"])::before {
color: red;
}
input:is([type="submit"], [type="button"], [type="reset"])::after {
color: red;
}
button {
color: red;
}
textarea {
color: red;
white-space: pre;
}
li {
display: list-item;
}
i, em {
font-style: italic;
}
b, strong {
font-weight: bold;
}
u, ins {
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
margin-top: 1em;
margin-bottom: 1em;
font-weight: bold;
}
pre {
margin-top: 1em;
margin-bottom: 1em;
white-space: pre;
}
p {
margin-top: 1em;
margin-bottom: 1em;
}
a[href] {
color: yellow;
}
a[href]:hover {
text-decoration: underline;
}
sup::before {
content: '^';
}
sub::before {
content: '~';
}
ol {
list-style-type: decimal;
counter-reset: list-item 0;
}
ul {
list-style-type: disc;
counter-reset: list-item 0;
}
:is(ol, ul, menu, dir) ul {
list-style-type: circle;
}
:is(ol, ul, menu, dir) :is(ol, ul, menu, dir) ul {
list-style-type: square;
}
dl {
margin-bottom: 1em;
}
:is(ul, ol, dir, menu, dl) dl {
margin-bottom: unset;
}
dt {
font-weight: bold;
}
dd {
margin-left: 4ch;
}
dl[compact] dt + br {
display: none;
}
select {
display: inline-block;
}
select::before {
content: '[';
color: initial;
display: inline-block;
}
select::after {
content: ']';
color: initial;
display: inline-block;
}
select > :is(option, optgroup > option) {
display: none;
}
select > :is(option, optgroup > option):checked {
display: inline-block;
color: red;
}
select:focus > :is(option, optgroup > option) {
display: list-item;
color: white;
}
select:focus > :is(option, optgroup > option):checked {
color: pink;
}
select:focus > :is(option, optgroup > option):hover {
color: red;
}
center {
text-align: -cha-center;
}
blink {
text-decoration: blink;
}