| 
									
										
										
										
											2022-10-06 14:50:17 +02:00
										 |  |  | /* Default user-agent stylesheet for LibWeb | 
					
						
							|  |  |  |  * Note: This stylesheet starts with a bunch of ad-hoc custom rules. | 
					
						
							|  |  |  |  *       After that, rules from the HTML spec follow. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-15 15:56:40 +02:00
										 |  |  | html { | 
					
						
							| 
									
										
										
										
											2023-08-26 12:10:31 +02:00
										 |  |  |     font-family: serif; | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     color: CanvasText; | 
					
						
							| 
									
										
										
										
											2019-06-21 20:27:11 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | body { | 
					
						
							|  |  |  |     margin: 8px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | center { | 
					
						
							|  |  |  |     text-align: -libweb-center; | 
					
						
							| 
									
										
										
										
											2019-06-21 20:27:11 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | blink { | 
					
						
							|  |  |  |     display: inline; | 
					
						
							| 
									
										
										
										
											2022-09-08 12:41:42 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-06 14:55:41 +02:00
										 |  |  | /* FIXME: This doesn't seem right. */ | 
					
						
							|  |  |  | label { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* FIXME: This is a temporary hack until we can render a native-looking frame for these. */ | 
					
						
							| 
									
										
										
										
											2024-02-25 10:54:37 -05:00
										 |  |  | input:not([type=submit], input[type=button], input[type=image], input[type=reset], input[type=color], input[type=checkbox], input[type=file], input[type=radio], input[type=range]), textarea { | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     border: 1px solid ButtonBorder; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     min-height: 16px; | 
					
						
							|  |  |  |     cursor: text; | 
					
						
							|  |  |  |     overflow: hidden; | 
					
						
							| 
									
										
										
										
											2022-09-08 12:41:42 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | textarea { | 
					
						
							|  |  |  |     padding: 2px; | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							| 
									
										
										
										
											2023-08-30 17:10:38 +01:00
										 |  |  |     overflow: auto; | 
					
						
							|  |  |  |     font-family: monospace; | 
					
						
							| 
									
										
										
										
											2019-09-25 12:43:26 +03:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-21 18:13:16 +01:00
										 |  |  | input::placeholder, textarea::placeholder { | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     color: GrayText; | 
					
						
							| 
									
										
										
										
											2022-11-30 22:15:12 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-10 19:59:25 +01:00
										 |  |  | button, input[type=submit], input[type=button], input[type=reset], select { | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     padding: 1px 4px; | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     background-color: ButtonFace; | 
					
						
							|  |  |  |     border: 1px solid ButtonBorder; | 
					
						
							|  |  |  |     color: ButtonText; | 
					
						
							| 
									
										
										
										
											2024-02-18 16:02:50 +00:00
										 |  |  |     cursor: default; | 
					
						
							| 
									
										
										
										
											2022-09-08 12:41:42 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-02-18 21:12:14 -05:00
										 |  |  | input[type=image] { | 
					
						
							|  |  |  |     cursor: pointer; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-10 19:59:25 +01:00
										 |  |  | button:hover, input[type=submit]:hover, input[type=button]:hover, input[type=reset]:hover, select:hover { | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     /* FIXME: There isn't a <system-color> keyword for this, so this is a slightly lightened | 
					
						
							|  |  |  |      *        version of our light ButtonFace color. Once we support `color-scheme: dark` | 
					
						
							|  |  |  |      *        we'll need to use a different color for that. | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     background-color: #e5e0d7; | 
					
						
							| 
									
										
										
										
											2019-06-21 20:27:11 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | option { | 
					
						
							|  |  |  |     display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-11 18:00:06 +01:00
										 |  |  | /* Custom <input type="range"> styles */ | 
					
						
							|  |  |  | input[type=range] { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							|  |  |  |     width: 20ch; | 
					
						
							|  |  |  |     height: 16px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | input[type=range]::-webkit-slider-runnable-track, input[type=range]::-webkit-slider-thumb { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | input[type=range]::-webkit-slider-runnable-track { | 
					
						
							|  |  |  |     height: 4px; | 
					
						
							| 
									
										
										
										
											2024-07-08 19:36:25 -03:00
										 |  |  |     width: 100%; | 
					
						
							| 
									
										
										
										
											2023-12-11 18:00:06 +01:00
										 |  |  |     margin-top: 6px; | 
					
						
							| 
									
										
										
										
											2024-07-07 07:37:42 -03:00
										 |  |  |     background-color: AccentColor; | 
					
						
							| 
									
										
										
										
											2023-12-11 18:00:06 +01:00
										 |  |  |     border: 1px solid rgba(0, 0, 0, 0.5); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | input[type=range]::-webkit-slider-thumb { | 
					
						
							|  |  |  |     margin-top: -6px; | 
					
						
							|  |  |  |     width: 16px; | 
					
						
							|  |  |  |     height: 16px; | 
					
						
							| 
									
										
										
										
											2024-01-18 20:14:39 +01:00
										 |  |  |     transform: translateX(-50%); | 
					
						
							| 
									
										
										
										
											2023-12-11 18:00:06 +01:00
										 |  |  |     border-radius: 50%; | 
					
						
							| 
									
										
										
										
											2024-07-07 07:37:42 -03:00
										 |  |  |     background-color: Background; | 
					
						
							| 
									
										
										
										
											2023-12-11 18:00:06 +01:00
										 |  |  |     outline: 1px solid rgba(0, 0, 0, 0.5); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-25 14:32:40 +01:00
										 |  |  | /* Custom <meter> styles */ | 
					
						
							|  |  |  | meter { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							|  |  |  |     width: 300px; | 
					
						
							|  |  |  |     height: 12px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | meter::-webkit-meter-bar, meter::-webkit-meter-optimum-value, meter::-webkit-meter-suboptimum-value, meter::-webkit-meter-even-less-good-value { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     height: 100%; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | meter::-webkit-meter-bar { | 
					
						
							|  |  |  |     background-color: hsl(0, 0%, 96%); | 
					
						
							|  |  |  |     border: 1px solid rgba(0, 0, 0, 0.5); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | meter::-webkit-meter-optimum-value { | 
					
						
							|  |  |  |     background-color: hsl(141, 53%, 53%); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | meter::-webkit-meter-suboptimum-value { | 
					
						
							|  |  |  |     background-color: hsl(48, 100%, 67%); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | meter::-webkit-meter-even-less-good-value { | 
					
						
							|  |  |  |     background-color: hsl(348, 100%, 61%); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-12-05 21:18:15 +01:00
										 |  |  | /* Custom <progress> styles */ | 
					
						
							|  |  |  | progress { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							|  |  |  |     width: 300px; | 
					
						
							|  |  |  |     height: 12px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | progress::-webkit-progress-bar, progress::-webkit-progress-value { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  |     height: 100%; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | progress::-webkit-progress-bar { | 
					
						
							| 
									
										
										
										
											2024-07-07 07:37:42 -03:00
										 |  |  |     background-color: Background; | 
					
						
							| 
									
										
										
										
											2023-12-05 21:18:15 +01:00
										 |  |  |     border: 1px solid rgba(0, 0, 0, 0.5); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | progress::-webkit-progress-value { | 
					
						
							| 
									
										
										
										
											2024-07-07 07:37:42 -03:00
										 |  |  |     background-color: AccentColor; | 
					
						
							| 
									
										
										
										
											2023-12-05 21:18:15 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.3.1 Hidden elements | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#hidden-elements | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | area, base, basefont, datalist, head, link, meta, noembed, | 
					
						
							|  |  |  | noframes, param, rp, script, style, template, title { | 
					
						
							|  |  |  |     display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [hidden]:not([hidden=until-found i]) { | 
					
						
							|  |  |  |     display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [hidden=until-found i]:not(embed) { | 
					
						
							|  |  |  |     content-visibility: hidden; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[hidden] { | 
					
						
							|  |  |  |     display: inline; | 
					
						
							|  |  |  |     height: 0; | 
					
						
							|  |  |  |     width: 0; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | input[type=hidden i] { | 
					
						
							|  |  |  |     display: none !important; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @media (scripting) { | 
					
						
							|  |  |  |     noscript { | 
					
						
							|  |  |  |         display: none !important; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.3.2 The page | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#the-page | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | html, body { | 
					
						
							|  |  |  |     display: block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.3.3 Flow content | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#flow-content-3 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | address, blockquote, center, dialog, div, figure, figcaption, footer, form, | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  | header, hr, legend, listing, main, p, plaintext, pre, search, xmp { | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     display: block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | blockquote, figure, listing, p, plaintext, pre, xmp { | 
					
						
							|  |  |  |     margin-top: 1em; | 
					
						
							|  |  |  |     margin-bottom: 1em; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | blockquote, figure { | 
					
						
							|  |  |  |     margin-left: 40px; | 
					
						
							|  |  |  |     margin-right: 40px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | address { | 
					
						
							|  |  |  |     font-style: italic; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | listing, plaintext, pre, xmp { | 
					
						
							| 
									
										
										
										
											2020-12-14 15:56:01 +01:00
										 |  |  |     font-family: monospace; | 
					
						
							| 
									
										
										
										
											2019-09-25 12:43:26 +03:00
										 |  |  |     white-space: pre; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | dialog:not([open]) { | 
					
						
							|  |  |  |     display: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dialog { | 
					
						
							|  |  |  |     position: absolute; | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     inset-inline-start: 0; | 
					
						
							|  |  |  |     inset-inline-end: 0; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     width: fit-content; | 
					
						
							|  |  |  |     height: fit-content; | 
					
						
							|  |  |  |     margin: auto; | 
					
						
							|  |  |  |     border: solid; | 
					
						
							|  |  |  |     padding: 1em; | 
					
						
							|  |  |  |     background-color: Canvas; | 
					
						
							|  |  |  |     color: CanvasText; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  | dialog:modal { | 
					
						
							|  |  |  |     position: fixed; | 
					
						
							|  |  |  |     overflow: auto; | 
					
						
							|  |  |  |     inset-block: 0; | 
					
						
							|  |  |  |     max-width: calc(100% - 6px - 2em); | 
					
						
							|  |  |  |     max-height: calc(100% - 6px - 2em); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | dialog::backdrop { | 
					
						
							|  |  |  |     background: rgba(0, 0, 0, 0.1); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  | [popover]:not(:popover-open):not(dialog[open]) { | 
					
						
							|  |  |  |     display:none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dialog:popover-open { | 
					
						
							|  |  |  |     display:block; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [popover] { | 
					
						
							|  |  |  |     position: fixed; | 
					
						
							|  |  |  |     inset: 0; | 
					
						
							|  |  |  |     width: fit-content; | 
					
						
							|  |  |  |     height: fit-content; | 
					
						
							|  |  |  |     margin: auto; | 
					
						
							|  |  |  |     border: solid; | 
					
						
							|  |  |  |     padding: 0.25em; | 
					
						
							|  |  |  |     overflow: auto; | 
					
						
							|  |  |  |     color: CanvasText; | 
					
						
							|  |  |  |     background-color: Canvas; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :popover-open::backdrop { | 
					
						
							|  |  |  |     position: fixed; | 
					
						
							|  |  |  |     inset: 0; | 
					
						
							|  |  |  |     pointer-events: none !important; | 
					
						
							|  |  |  |     background-color: transparent; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | slot { | 
					
						
							|  |  |  |     display: contents; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.3.4 Phrasing content | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | cite, dfn, em, i, var { | 
					
						
							|  |  |  |     font-style: italic; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | b, strong { | 
					
						
							|  |  |  |     font-weight: bolder; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | code, kbd, samp, tt { | 
					
						
							| 
									
										
										
										
											2020-12-14 15:56:01 +01:00
										 |  |  |     font-family: monospace; | 
					
						
							| 
									
										
										
										
											2019-06-21 20:27:11 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | big { | 
					
						
							|  |  |  |     font-size: larger; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | small { | 
					
						
							|  |  |  |     font-size: smaller; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | sub { | 
					
						
							|  |  |  |     vertical-align: sub; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | sup { | 
					
						
							|  |  |  |     vertical-align: super; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | sub, sup { | 
					
						
							|  |  |  |     line-height: normal; | 
					
						
							|  |  |  |     font-size: smaller; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ruby { | 
					
						
							|  |  |  |     display: ruby; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | rt { | 
					
						
							|  |  |  |     display: ruby-text; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :link { | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     color: LinkText; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :visited { | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     color: VisitedText; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :link:active, :visited:active { | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     color: ActiveText; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :link, :visited { | 
					
						
							|  |  |  |     text-decoration: underline; | 
					
						
							|  |  |  |     cursor: pointer; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :focus-visible { | 
					
						
							|  |  |  |     outline: auto; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | mark { | 
					
						
							| 
									
										
										
										
											2023-08-23 15:59:45 +01:00
										 |  |  |     background: Mark; | 
					
						
							|  |  |  |     color: MarkText; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | abbr[title], acronym[title] { | 
					
						
							|  |  |  |     text-decoration: dotted underline; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ins, u { | 
					
						
							| 
									
										
										
										
											2019-06-21 20:27:11 +02:00
										 |  |  |     text-decoration: underline; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | del, s, strike { | 
					
						
							| 
									
										
										
										
											2022-02-20 10:56:27 +01:00
										 |  |  |     text-decoration: line-through; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | q::before { | 
					
						
							|  |  |  |     content: open-quote; | 
					
						
							| 
									
										
										
										
											2019-06-21 20:27:11 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | q::after { | 
					
						
							|  |  |  |     content: close-quote; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-24 21:43:48 +01:00
										 |  |  | /* | 
					
						
							|  |  |  | NOTE: This isn't a real property and value. See https://github.com/whatwg/html/issues/2291 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | br { | 
					
						
							|  |  |  |     display-outside: newline; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2023-08-24 21:43:48 +01:00
										 |  |  | */ | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* this also has bidi implications */ | 
					
						
							|  |  |  | nobr { | 
					
						
							|  |  |  |     white-space: nowrap; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-08-24 21:43:48 +01:00
										 |  |  | /* | 
					
						
							|  |  |  | NOTE: This isn't a real property and value. See https://github.com/whatwg/html/issues/2291 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | wbr { | 
					
						
							|  |  |  |     display-outside: break-opportunity; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2023-08-24 21:43:48 +01:00
										 |  |  | */ | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* this also has bidi implications */ | 
					
						
							|  |  |  | nobr wbr { | 
					
						
							|  |  |  |     white-space: normal; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.3.5 Bidirectional text | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#bidi-rendering | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [dir]:dir(ltr), bdi:dir(ltr), input[type=tel i]:dir(ltr) { | 
					
						
							|  |  |  |     direction: ltr; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [dir]:dir(rtl), bdi:dir(rtl) { | 
					
						
							|  |  |  |     direction: rtl; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | address, blockquote, center, div, figure, figcaption, footer, form, header, hr, | 
					
						
							|  |  |  | legend, listing, main, p, plaintext, pre, summary, xmp, article, aside, h1, h2, | 
					
						
							|  |  |  | h3, h4, h5, h6, hgroup, nav, section, table, caption, colgroup, col, thead, | 
					
						
							|  |  |  | tbody, tfoot, tr, td, th, dir, dd, dl, dt, menu, ol, ul, li, bdi, output, | 
					
						
							|  |  |  | [dir=ltr i], [dir=rtl i], [dir=auto i] { | 
					
						
							|  |  |  |     unicode-bidi: isolate; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bdo, bdo[dir] { | 
					
						
							|  |  |  |     unicode-bidi: isolate-override; | 
					
						
							| 
									
										
										
										
											2022-02-19 21:21:54 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | input[dir=auto i]:is([type=search i], [type=tel i], [type=url i], | 
					
						
							|  |  |  | [type=email i]), textarea[dir=auto i], pre[dir=auto i] { | 
					
						
							|  |  |  |     unicode-bidi: plaintext; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.3.6 Sections and headings | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#sections-and-headings | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | article, aside, h1, h2, h3, h4, h5, h6, hgroup, nav, section { | 
					
						
							| 
									
										
										
										
											2019-06-21 20:27:11 +02:00
										 |  |  |     display: block; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2019-09-25 12:43:26 +03:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | h1 { | 
					
						
							|  |  |  |     margin-top: 0.67em; | 
					
						
							|  |  |  |     margin-bottom: 0.67em; | 
					
						
							|  |  |  |     font-size: 2.00em; | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | h2 { | 
					
						
							|  |  |  |     margin-top: 0.83em; | 
					
						
							|  |  |  |     margin-bottom: 0.83em; | 
					
						
							|  |  |  |     font-size: 1.50em; | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							| 
									
										
										
										
											2019-10-16 20:33:00 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-07 16:55:12 +02:00
										 |  |  | h3 { | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     margin-top: 1.00em; | 
					
						
							|  |  |  |     margin-bottom: 1.00em; | 
					
						
							|  |  |  |     font-size: 1.17em; | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | h4 { | 
					
						
							|  |  |  |     margin-top: 1.33em; | 
					
						
							|  |  |  |     margin-bottom: 1.33em; | 
					
						
							|  |  |  |     font-size: 1.00em; | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							| 
									
										
										
										
											2019-10-01 20:16:42 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | h5 { | 
					
						
							|  |  |  |     margin-top: 1.67em; | 
					
						
							|  |  |  |     margin-bottom: 1.67em; | 
					
						
							|  |  |  |     font-size: 0.83em; | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							| 
									
										
										
										
											2019-10-01 20:16:42 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-10-07 16:55:12 +02:00
										 |  |  | h6 { | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     margin-top: 2.33em; | 
					
						
							|  |  |  |     margin-bottom: 2.33em; | 
					
						
							|  |  |  |     font-size: 0.67em; | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :is(article, aside, nav, section) h1 { | 
					
						
							|  |  |  |     margin-top: 0.83em; | 
					
						
							|  |  |  |     margin-bottom: 0.83em; | 
					
						
							|  |  |  |     font-size: 1.50em; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :is(article, aside, nav, section) :is(article, aside, nav, section) h1 { | 
					
						
							|  |  |  |     margin-top: 1.00em; | 
					
						
							|  |  |  |     margin-bottom: 1.00em; | 
					
						
							|  |  |  |     font-size: 1.17em; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 { | 
					
						
							|  |  |  |     margin-top: 1.33em; | 
					
						
							|  |  |  |     margin-bottom: 1.33em; | 
					
						
							|  |  |  |     font-size: 1.00em; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 { | 
					
						
							|  |  |  |     margin-top: 1.67em; | 
					
						
							|  |  |  |     margin-bottom: 1.67em; | 
					
						
							|  |  |  |     font-size: 0.83em; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) :is(article, aside, nav, section) h1 { | 
					
						
							|  |  |  |     margin-top: 2.33em; | 
					
						
							|  |  |  |     margin-bottom: 2.33em; | 
					
						
							|  |  |  |     font-size: 0.67em; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.3.7 Lists | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#lists | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | dir, dd, dl, dt, menu, ol, ul { | 
					
						
							|  |  |  |     display: block; | 
					
						
							| 
									
										
										
										
											2019-09-25 12:43:26 +03:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | li { | 
					
						
							|  |  |  |     display: list-item; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     text-align: match-parent; | 
					
						
							| 
									
										
										
										
											2019-09-25 12:43:26 +03:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-09-28 22:32:04 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | dir, dl, menu, ol, ul { | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     margin-block-start: 1em; | 
					
						
							|  |  |  |     margin-block-end: 1em; | 
					
						
							| 
									
										
										
										
											2019-09-28 22:32:04 +02:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-10-01 20:50:11 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | :is(dir, dl, menu, ol, ul) :is(dir, dl, menu, ol, ul) { | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     margin-block-start: 0; | 
					
						
							|  |  |  |     margin-block-end: 0; | 
					
						
							| 
									
										
										
										
											2019-10-14 17:54:17 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | dd { | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     margin-inline-start: 40px; | 
					
						
							| 
									
										
										
										
											2019-10-01 20:50:11 +02:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-10-09 21:25:29 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | dir, menu, ol, ul { | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     padding-inline-start: 40px; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ol, ul, menu { | 
					
						
							|  |  |  |     counter-reset: list-item; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | ol { | 
					
						
							|  |  |  |     list-style-type: decimal; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | dir, menu, ul { | 
					
						
							|  |  |  |     list-style-type: disc; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :is(dir, menu, ol, ul) :is(dir, menu, ul) { | 
					
						
							|  |  |  |     list-style-type: circle; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | :is(dir, menu, ol, ul) :is(dir, menu, ol, ul) :is(dir, menu, ul) { | 
					
						
							|  |  |  |     list-style-type: square; | 
					
						
							| 
									
										
										
										
											2019-10-09 21:25:29 +02:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.3.8 Tables | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#tables-2 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  | table { | 
					
						
							|  |  |  |     display: table; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | caption { | 
					
						
							|  |  |  |     display: table-caption; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | colgroup, colgroup[hidden] { | 
					
						
							|  |  |  |     display: table-column-group; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | col, col[hidden] { | 
					
						
							|  |  |  |     display: table-column; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | thead, thead[hidden] { | 
					
						
							| 
									
										
										
										
											2020-05-28 12:43:29 +02:00
										 |  |  |     display: table-header-group; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | tbody, tbody[hidden] { | 
					
						
							| 
									
										
										
										
											2020-05-28 12:43:29 +02:00
										 |  |  |     display: table-row-group; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | tfoot, tfoot[hidden] { | 
					
						
							| 
									
										
										
										
											2020-05-28 12:43:29 +02:00
										 |  |  |     display: table-footer-group; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | tr, tr[hidden] { | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  |     display: table-row; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | td, th { | 
					
						
							| 
									
										
										
										
											2019-10-17 23:09:41 +02:00
										 |  |  |     display: table-cell; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2019-12-18 12:44:06 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | colgroup[hidden], col[hidden], thead[hidden], tbody[hidden], | 
					
						
							|  |  |  | tfoot[hidden], tr[hidden] { | 
					
						
							|  |  |  |     visibility: collapse; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | table { | 
					
						
							|  |  |  |     box-sizing: border-box; | 
					
						
							|  |  |  |     border-spacing: 2px; | 
					
						
							|  |  |  |     border-collapse: separate; | 
					
						
							|  |  |  |     text-indent: initial; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | td, th { | 
					
						
							|  |  |  |     padding: 1px; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-07-30 22:01:33 +02:00
										 |  |  | th { | 
					
						
							|  |  |  |     font-weight: bold; | 
					
						
							| 
									
										
										
										
											2023-07-23 21:09:48 +02:00
										 |  |  |     /* | 
					
						
							|  |  |  |     The text-align property for table headings is non-standard, but all | 
					
						
							|  |  |  |     existing user-agents seem to render them centered by default. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     See: | 
					
						
							|  |  |  |     - https://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css?rev=295625#L272 | 
					
						
							|  |  |  |     - https://searchfox.org/mozilla-central/rev/0b55b868c17835942d40ca3fedfca8057481207b/layout/style/res/html.css#473 | 
					
						
							|  |  |  |     */ | 
					
						
							|  |  |  |     text-align: center; | 
					
						
							| 
									
										
										
										
											2022-07-30 22:01:33 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | caption { | 
					
						
							|  |  |  |     text-align: center; | 
					
						
							| 
									
										
										
										
											2020-05-28 12:43:29 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | thead, tbody, tfoot, table > tr { | 
					
						
							|  |  |  |     vertical-align: middle; | 
					
						
							| 
									
										
										
										
											2020-05-28 12:43:29 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | tr, td, th { | 
					
						
							|  |  |  |     vertical-align: inherit; | 
					
						
							| 
									
										
										
										
											2020-06-28 15:26:05 +02:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2020-12-07 21:17:59 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | thead, tbody, tfoot, tr { | 
					
						
							|  |  |  |     border-color: inherit; | 
					
						
							| 
									
										
										
										
											2020-12-07 21:17:59 +01:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2021-02-10 18:26:07 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | table[rules=none i], table[rules=groups i], table[rules=rows i], | 
					
						
							|  |  |  | table[rules=cols i], table[rules=all i], table[frame=void i], | 
					
						
							|  |  |  | table[frame=above i], table[frame=below i], table[frame=hsides i], | 
					
						
							|  |  |  | table[frame=lhs i], table[frame=rhs i], table[frame=vsides i], | 
					
						
							|  |  |  | table[frame=box i], table[frame=border i], | 
					
						
							|  |  |  | table[rules=none i] > tr > td, table[rules=none i] > tr > th, | 
					
						
							|  |  |  | table[rules=groups i] > tr > td, table[rules=groups i] > tr > th, | 
					
						
							|  |  |  | table[rules=rows i] > tr > td, table[rules=rows i] > tr > th, | 
					
						
							|  |  |  | table[rules=cols i] > tr > td, table[rules=cols i] > tr > th, | 
					
						
							|  |  |  | table[rules=all i] > tr > td, table[rules=all i] > tr > th, | 
					
						
							|  |  |  | table[rules=none i] > thead > tr > td, table[rules=none i] > thead > tr > th, | 
					
						
							|  |  |  | table[rules=groups i] > thead > tr > td, table[rules=groups i] > thead > tr > th, | 
					
						
							|  |  |  | table[rules=rows i] > thead > tr > td, table[rules=rows i] > thead > tr > th, | 
					
						
							|  |  |  | table[rules=cols i] > thead > tr > td, table[rules=cols i] > thead > tr > th, | 
					
						
							|  |  |  | table[rules=all i] > thead > tr > td, table[rules=all i] > thead > tr > th, | 
					
						
							|  |  |  | table[rules=none i] > tbody > tr > td, table[rules=none i] > tbody > tr > th, | 
					
						
							|  |  |  | table[rules=groups i] > tbody > tr > td, table[rules=groups i] > tbody > tr > th, | 
					
						
							|  |  |  | table[rules=rows i] > tbody > tr > td, table[rules=rows i] > tbody > tr > th, | 
					
						
							|  |  |  | table[rules=cols i] > tbody > tr > td, table[rules=cols i] > tbody > tr > th, | 
					
						
							|  |  |  | table[rules=all i] > tbody > tr > td, table[rules=all i] > tbody > tr > th, | 
					
						
							|  |  |  | table[rules=none i] > tfoot > tr > td, table[rules=none i] > tfoot > tr > th, | 
					
						
							|  |  |  | table[rules=groups i] > tfoot > tr > td, table[rules=groups i] > tfoot > tr > th, | 
					
						
							|  |  |  | table[rules=rows i] > tfoot > tr > td, table[rules=rows i] > tfoot > tr > th, | 
					
						
							|  |  |  | table[rules=cols i] > tfoot > tr > td, table[rules=cols i] > tfoot > tr > th, | 
					
						
							|  |  |  | table[rules=all i] > tfoot > tr > td, table[rules=all i] > tfoot > tr > th { | 
					
						
							|  |  |  |     border-color: black; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.3.10 Form controls | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#form-controls | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | input, select, button, textarea { | 
					
						
							|  |  |  |     letter-spacing: initial; | 
					
						
							|  |  |  |     word-spacing: initial; | 
					
						
							|  |  |  |     line-height: initial; | 
					
						
							|  |  |  |     text-transform: initial; | 
					
						
							|  |  |  |     text-indent: initial; | 
					
						
							|  |  |  |     text-shadow: initial; | 
					
						
							|  |  |  |     appearance: auto; | 
					
						
							| 
									
										
										
										
											2021-04-17 23:11:49 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | input, select, textarea { | 
					
						
							|  |  |  |     text-align: initial; | 
					
						
							| 
									
										
										
										
											2021-04-17 23:11:49 +02:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | input:is([type=reset i], [type=button i], [type=submit i]), button { | 
					
						
							|  |  |  |     text-align: center; | 
					
						
							| 
									
										
										
										
											2021-05-08 10:47:10 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | input, button { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							| 
									
										
										
										
											2021-05-08 10:47:10 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | input[type=hidden i], input[type=file i], input[type=image i] { | 
					
						
							|  |  |  |     appearance: none; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | input:is([type=radio i], [type=checkbox i], [type=reset i], [type=button i], | 
					
						
							|  |  |  | [type=submit i], [type=color i], [type=search i]), select, button { | 
					
						
							|  |  |  |     box-sizing: border-box; | 
					
						
							| 
									
										
										
										
											2022-02-17 21:44:50 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-03-09 10:00:05 -03:00
										 |  |  | textarea { | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     white-space: pre-wrap; | 
					
						
							| 
									
										
										
										
											2022-03-09 10:00:05 -03:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.3.11 The hr element | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#the-hr-element-2 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | hr { | 
					
						
							|  |  |  |     color: gray; | 
					
						
							|  |  |  |     border-style: inset; | 
					
						
							|  |  |  |     border-width: 1px; | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     margin-block-start: 0.5em; | 
					
						
							|  |  |  |     margin-inline-end: auto; | 
					
						
							|  |  |  |     margin-block-end: 0.5em; | 
					
						
							|  |  |  |     margin-inline-start: auto; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     overflow: hidden; | 
					
						
							| 
									
										
										
										
											2021-02-10 18:26:07 +01:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2021-03-14 17:02:55 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.3.12 The fieldset and legend elements | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#the-fieldset-and-legend-elements | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | fieldset { | 
					
						
							|  |  |  |     display: block; | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     margin-inline-start: 2px; | 
					
						
							|  |  |  |     margin-inline-end: 2px; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     border: groove 2px ThreeDFace; | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  |     padding-block-start: 0.35em; | 
					
						
							|  |  |  |     padding-inline-end: 0.75em; | 
					
						
							|  |  |  |     padding-block-end: 0.625em; | 
					
						
							|  |  |  |     padding-inline-start: 0.75em; | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     min-inline-size: min-content; | 
					
						
							| 
									
										
										
										
											2022-02-21 02:16:21 +01:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-02-28 23:12:37 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | legend { | 
					
						
							|  |  |  |     padding-left: 2px; | 
					
						
							|  |  |  |     padding-right: 2px; | 
					
						
							| 
									
										
										
										
											2022-02-21 02:16:21 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | legend[align=left i] { | 
					
						
							|  |  |  |     justify-self: left; | 
					
						
							| 
									
										
										
										
											2021-03-14 17:02:55 +01:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2021-12-22 12:35:54 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | legend[align=center i] { | 
					
						
							|  |  |  |     justify-self: center; | 
					
						
							| 
									
										
										
										
											2021-12-22 12:35:54 +00:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | legend[align=right i] { | 
					
						
							|  |  |  |     justify-self: right; | 
					
						
							| 
									
										
										
										
											2021-12-22 12:35:54 +00:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-01-21 18:56:01 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.4.1 Embedded content | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#embedded-content-rendering-rules | 
					
						
							| 
									
										
										
										
											2022-01-21 18:56:01 -05:00
										 |  |  |  */ | 
					
						
							| 
									
										
										
										
											2022-12-20 21:19:39 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | iframe { | 
					
						
							|  |  |  |     border: 2px inset; | 
					
						
							| 
									
										
										
										
											2022-01-21 18:56:01 -05:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | video { | 
					
						
							|  |  |  |     object-fit: contain; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2022-01-21 18:56:01 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-10 17:25:06 +01:00
										 |  |  | /* 15.4.3 Attributes for embedded content and images | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#attributes-for-embedded-content-and-images | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | iframe[frameborder='0'], iframe[frameborder=no i] { border: none; } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[align=left i], iframe[align=left i], img[align=left i], | 
					
						
							|  |  |  | input[type=image i][align=left i], object[align=left i] { | 
					
						
							|  |  |  |     float: left; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[align=right i], iframe[align=right i], img[align=right i], | 
					
						
							|  |  |  | input[type=image i][align=right i], object[align=right i] { | 
					
						
							|  |  |  |     float: right; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[align=top i], iframe[align=top i], img[align=top i], | 
					
						
							|  |  |  | input[type=image i][align=top i], object[align=top i] { | 
					
						
							|  |  |  |     vertical-align: top; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[align=baseline i], iframe[align=baseline i], img[align=baseline i], | 
					
						
							|  |  |  | input[type=image i][align=baseline i], object[align=baseline i] { | 
					
						
							|  |  |  |     vertical-align: baseline; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[align=texttop i], iframe[align=texttop i], img[align=texttop i], | 
					
						
							|  |  |  | input[type=image i][align=texttop i], object[align=texttop i] { | 
					
						
							|  |  |  |     vertical-align: text-top; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[align=absmiddle i], iframe[align=absmiddle i], img[align=absmiddle i], | 
					
						
							|  |  |  | input[type=image i][align=absmiddle i], object[align=absmiddle i], | 
					
						
							|  |  |  | embed[align=abscenter i], iframe[align=abscenter i], img[align=abscenter i], | 
					
						
							|  |  |  | input[type=image i][align=abscenter i], object[align=abscenter i] { | 
					
						
							|  |  |  |     vertical-align: middle; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | embed[align=bottom i], iframe[align=bottom i], img[align=bottom i], | 
					
						
							|  |  |  | input[type=image i][align=bottom i], object[align=bottom i] { | 
					
						
							|  |  |  |     vertical-align: bottom; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.5.4 The details and summary elements | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#the-details-and-summary-elements | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2022-01-21 18:56:01 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  | details > summary:first-of-type { | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     display: list-item; | 
					
						
							|  |  |  |     counter-increment: list-item 0; | 
					
						
							|  |  |  |     list-style: disclosure-closed inside; | 
					
						
							| 
									
										
										
										
											2022-01-21 18:56:01 -05:00
										 |  |  | } | 
					
						
							| 
									
										
										
										
											2022-03-06 22:20:48 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-17 01:12:13 +02:00
										 |  |  | details[open] > summary:first-of-type { | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  |     list-style-type: disclosure-open; | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* 15.5.12 The marquee element | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#the-marquee-element-2 | 
					
						
							| 
									
										
										
										
											2022-03-08 18:39:48 +01:00
										 |  |  |  */ | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | marquee { | 
					
						
							|  |  |  |     display: inline-block; | 
					
						
							|  |  |  |     text-align: initial; | 
					
						
							| 
									
										
										
										
											2022-03-08 18:39:48 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.5.13 The meter element | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#the-meter-element-2 | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | meter { | 
					
						
							|  |  |  |     appearance: auto; | 
					
						
							| 
									
										
										
										
											2022-03-08 18:39:48 +01:00
										 |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | /* 15.5.14 The progress element | 
					
						
							|  |  |  |  * https://html.spec.whatwg.org/multipage/rendering.html#the-progress-element-2 | 
					
						
							| 
									
										
										
										
											2022-03-06 22:20:48 +01:00
										 |  |  |  */ | 
					
						
							| 
									
										
										
										
											2022-09-14 12:10:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | progress { | 
					
						
							|  |  |  |     appearance: auto; | 
					
						
							|  |  |  | } | 
					
						
							| 
									
										
										
										
											2022-03-16 17:14:20 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* https://www.w3.org/TR/mediaqueries-5/#descdef-media-inverted-colors | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | @media (inverted-colors) { | 
					
						
							|  |  |  |     img:not(picture>img), | 
					
						
							|  |  |  |     picture, | 
					
						
							|  |  |  |     video { | 
					
						
							|  |  |  |         filter: invert(100%); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | } |