about summary refs log blame commit diff stats
path: root/res/ua.css
blob: 82ba0aee65842af826df44a6a9dbec2a8662faa2 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                          

 



                                  

                                                                                
                                                                     
                                                           
                       

 





                             
                                     


                              
                   
                          




                                               

                             

 



                    







                             

                       


                                

 

                                 
                               

 











                                    

                           
                                

















                                




                               







                             
       
                          

                         

 
                        
                      


               
                     
                              
                       

 
              
                     
                              
                       

 
                               

                              
                       

 
                              

                              
                       

 

                                                                                  


                                   
                                                                          


                   
                                                                         
                   

 



                   




                         
             
                           
 
 











                                   
                        

                           


                          
          

                           


                         



                         
   

                           

 
         
                                 
 
 
               

                                   







                     


                                 
                                   



                              
                                   








                                                  





                               
                             












                          
 



                              



                           

                     
                       
                              



                     
                       
                              

 
                                         


                      


                                                 

 

                                                               

 

                                                                                    

 

                                                                                     

 
        
                                
 



                               
 
                


                                      






                       
area, base, basefont, datalist, head, link, meta, noembed,
noframes, param, rp, script, style, template, title {
	display: none;
}

:root {
	display: block !important;
}

address, article, aside, blockquote, body, center, dd, details, dialog, dir,
div, dl, dt, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6,
header, hgroup, hr, html, legend, listing, main, menu, nav, noframes,
noscript, ol, p, plaintext, pre, search, section, ul, xmp {
	display: block;
}

@media (scripting: enabled) {
noscript {
	display: none;
}
}

textarea, iframe, frame, input, img {
	display: inline-block;
}

ol, ul, menu, dir {
	padding-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;
}

input {
	margin-right: 1ch;
	white-space: pre;
	color: red;
}

input[type="hidden" i] {
	display: none;
}

input::before {
	content: '[';
	text-decoration: none;
	color: initial;
}

input::after {
	content: ']';
	text-decoration: none;
	color: initial;
}

input[type="radio" i]::before {
	content: '(';
	text-decoration: none;
	color: initial;
}

input[type="radio" i]::after {
	content: ')';
	text-decoration: none;
	color: initial;
}

input:is([type="text" i], [type="password" i], [type="search" i], [type="file" i],
		[type="url" i], [type="email" i], [type="tel" i]) {
	text-decoration: underline;
}

input:is([type="submit" i], [type="button" i], [type="reset" i])::before {
	color: red;
}

input:is([type="submit" i], [type="button" i], [type="reset" i])::after {
	color: red;
}

button {
	color: red;
}

textarea {
	color: red;
	white-space: pre;
}

li, summary {
	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, xmp {
	margin-top: 1em;
	margin-bottom: 1em;
	white-space: pre;
}

plaintext {
	white-space: pre;
}

p {
	margin-top: 1em;
	margin-bottom: 1em;
}

a[href] {
	color: -cha-ansi(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:focus {
	visibility: hidden;
}

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[multiple] > :is(option, optgroup > option):first-child {
	display: inline-block;
}

select[multiple] > :is(option, optgroup > option):not(:checked):first-child::after {
	content: '(...)';
}

select[multiple] > :is(option, optgroup > option):not(:first-child):checked::before {
	content: ',';
}

center {
	text-align: -cha-center;
}

blink {
	text-decoration: blink;
}

del, s, strike {
	text-decoration: line-through;
}

rt::before {
	content: '(';
}

rt::after {
	content: ')';
}