Repository navigation
Expand file tree
/
Copy pathreset.css
More file actions
185 lines (160 loc) · 4.18 KB
/
Copy pathreset.css
File metadata and controls
185 lines (160 loc) · 4.18 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/**
* @license MIT
*
* Copyright (c) 2023 Consortium for Python Data API Standards.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
.compat-wrapper section {
display: block;
}
/* Remove default margin */
.compat-wrapper h1,
.compat-wrapper h2,
.compat-wrapper h3,
.compat-wrapper h4,
.compat-wrapper p,
.compat-wrapper figure,
.compat-wrapper blockquote,
.compat-wrapper dl,
.compat-wrapper dd {
margin: 0;
}
.compat-wrapper {
font-family: Inter,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;
font-family: var(--font-body);
font-size: 100%;
font-size: var(--base-font-size);
line-height: 1.75;
line-height: var(--font-content-line-height);
text-rendering: optimizeSpeed;
accent-color: var(--accent-primary);
background-color: var(--background-primary);
color: var(--text-primary);
}
.compat-wrapper h2 {
display: block;
font-size: 1.5em;
margin-block-start: 0.83em;
margin-block-end: 0.83em;
margin-inline-start: 0px;
margin-inline-end: 0px;
font-weight: bold;
}
.compat-wrapper h2 {
font: var(--type-heading-h2);
margin: 4rem 0 0.5rem;
}
.compat-wrapper h1,
.compat-wrapper h2,
.compat-wrapper h3 {
letter-spacing: var(--heading-letter-spacing);
}
/* A elements that don't have a class get default styles */
.compat-wrapper a:not([class]) {
text-decoration-skip-ink: auto;
}
.compat-wrapper a {
text-decoration: none;
color: var(--text-link);
}
.compat-wrapper a:not(.button) {
color: var(--text-link);
}
.compat-wrapper a:focus,
.compat-wrapper a:hover {
text-decoration: underline;
}
.compat-wrapper figure {
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 40px;
margin-inline-end: 40px;
}
.compat-wrapper table {
display: table;
border-collapse: separate;
box-sizing: border-box;
text-indent: initial;
border-spacing: 2px;
border-color: grey;
}
.compat-wrapper table {
border: 1px solid var(--border-primary);
border-collapse: collapse;
width: 100%;
}
.compat-wrapper thead {
display: table-header-group;
vertical-align: middle;
border-color: inherit;
}
.compat-wrapper tr {
display: table-row;
vertical-align: inherit;
border-color: inherit;
}
.compat-wrapper td {
display: table-cell;
vertical-align: inherit;
}
.compat-wrapper tbody {
display: table-row-group;
vertical-align: middle;
border-color: inherit;
}
.compat-wrapper table td,
.compat-wrapper table th {
border: 1px solid var(--border-primary);
padding: 0.5rem 0.75rem;
vertical-align: middle;
}
.compat-wrapper table th {
background: var(--background-tertiary);
font-weight: var(--font-body-strong-weight);
line-height: 1.5;
text-align: left;
}
.compat-wrapper th {
display: table-cell;
vertical-align: inherit;
font-weight: bold;
text-align: -internal-center;
}
.compat-wrapper code {
background: var(--code-background-inline);
padding: 0.125rem 0.25rem;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
/* Make images easier to work with */
.compat-wrapper img,
.compat-wrapper picture {
display: block;
max-width: 100%;
}
/* Inherit fonts for inputs and buttons */
.compat-wrapper input,
.compat-wrapper button,
.compat-wrapper textarea,
.compat-wrapper select {
font: inherit;
}