/
base.css
93 lines (72 loc) · 1.38 KB
/
base.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
body
{ margin: 0; }
a
{ color: inherit; }
h1
{ font-size: 1.6em; }
h2
{ font-size: 1.39em; }
h3
{ font-size: 1.21em; }
h4
{ font-size: 1.05em; }
h5
{ font-size: 0.91em; }
h6
{ font-size: 0.79em; }
h7
{ display: block; font-size: 0.69em; }
h8
{ display: block; font-size: 0.6em; }
:-webkit-any(article,aside,nav,section)>:-webkit-any(h1,h2,h3,h4,h5,h6,h7,h8)
{
width: fit-content;
margin-top: 1em;
line-height: 1.2em;
}
:matches(article,aside,nav,section)>:matches(h1,h2,h3,h4,h5,h6,h7,h8)
{
width: fit-content;
margin-top: 1em;
line-height: 1.2em;
}
h1>small
,
h2>small
,
h3>small
,
h4>small
,
h5>small
,
h6>small
,
h7>small
{ display:block;width: max-content; font-size: 0.5em; text-indent: 50%; }
article>p
{ text-indent: 2em; line-height: 1.5; }
fieldset
{ --fieldset-side-padding: calc( 1em + 1px ); }
fieldset
{ margin:0; padding:0; padding:1em; border-width:1px; border-style:solid; border-color:grey; }
fieldset>legend
{ padding:0; }
input, textarea, select, button
{ font:inherit; border-style:solid; border-width:1px; border-color:grey; padding:0.25em; }
button
{ cursor:pointer; }
code
{ font-family:monospace; }
figure
{ width:fit-content; }
figcaption
{ text-align:center; }
table
{ border-spacing:0; border-collapse:collapse; width:-webkit-fill-available; width:fill-available; }
th
{ text-align:initial; }
:focus
{ outline: none; }
::-webkit-scrollbar
{ display: none; }