-
-
Notifications
You must be signed in to change notification settings - Fork 115
/
Copy pathadditional-styles.css
155 lines (130 loc) · 3.12 KB
/
additional-styles.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
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
@font-face {
/* ubuntu-mono-regular - latin */
font-family: 'Ubuntu Mono';
src: local(''), url('/static/fonts/ubuntu-mono-v10-latin-regular.woff2') format('woff2'), url('/static/fonts/ubuntu-mono-v10-latin-regular.woff') format('woff'), url('/static/fonts/ubuntu-mono-v10-latin-regular.ttf') format('truetype');
font-style: normal;
font-weight: 400;
font-display: swap;
}
@font-face {
/* ubuntu-500 - latin */
font-family: 'Ubuntu';
src: local(''), url('/static/fonts/ubuntu-v15-latin-500.woff2') format('woff2'), url('/static/fonts/ubuntu-v15-latin-500.woff') format('woff'), url('/static/fonts/ubuntu-v15-latin-500.ttf') format('truetype');
font-style: normal;
font-weight: 500;
font-display: swap;
}
@font-face {
/* ubuntu-italic - latin */
font-family: 'Ubuntu';
src: local(''), url('/static/fonts/ubuntu-v15-latin-italic.woff2') format('woff2'), url('/static/fonts/ubuntu-v15-latin-italic.woff') format('woff'), url('/static/fonts/ubuntu-v15-latin-italic.ttf') format('truetype');
font-style: italic;
font-weight: 400;
font-display: swap;
}
code, pre, kbd, code *, pre *, kbd * {
font-family: 'Ubuntu Mono', monospace !important;
background-color: var(--c-bg-secondary);
overflow-x: auto;
border-radius: .3rem;
}
code, kbd {
padding: .1rem .3rem;
border: 1px solid var(--c-border);
}
pre code {
padding: 0;
border: none;
background-color: transparent;
}
pre {
padding: .3rem 1rem;
border: 1px solid var(--c-border);
}
div.table {
overflow-x: auto;
max-width: 100%;
}
div.table p:first-child, div.table p:last-child {
margin: 0;
}
table {
border-collapse: collapse;
}
table thead {
border-block-end: 3px solid var(--c-border);
}
table tbody tr:nth-child(even) {
background-color: var(--c-bg-secondary);
}
table tbody tr:nth-child(even) kbd, table tbody tr:nth-child(even) code {
background-color: var(--c-bg);
}
table th {
font-weight: 500;
background-color: var(--c-bg-secondary);
}
table th, table td {
padding: .3rem;
vertical-align: top;
text-align: start;
border: 1px solid var(--c-border);
}
table td p:last-child {
margin-block-end: 0;
}
table td p:first-child {
margin-block-start: 0;
}
blockquote {
border-inline-start: .25rem solid var(--c-border);
margin: 0;
padding-inline-start: var(--content-inline-padding);
font-style: italic;
}
hr {
border: none;
border-block-end: 1px solid var(--c-border);
margin: 2rem 10%;
}
hr+* {
margin-block-start: 0;
}
main img {
display: block;
margin: 1.5rem auto;
max-width: var(--content-max-width);
max-height: 40vh;
}
main .sponsors {
display: grid;
grid-template-columns: 1fr;
}
main .sponsors a {
width: 100%;
min-height: 5rem;
font-size: 1.25rem;
text-decoration: none;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: .5rem;
}
main .sponsors a:hover {
background-color: var(--c-bg-secondary);
}
main .sponsors a img {
height: unset;
max-height: 4rem;
max-width: 100%;
margin: 0;
}
@media screen and (min-width: 800px) {
main .sponsors {
grid-template-columns: 1fr 1fr;
}
main .sponsors a {
height: 5rem;
}
}