This repository has been archived by the owner on Jan 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
211 lines (178 loc) · 4.32 KB
/
index.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
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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
/* Beakermentions Endpoint (index.css) - An endpoint implementation of the W3C Webmention *
* recommendation for Beaker Browser users. *
* *
* Written in 2020 by Don Geronimo <email@sentamal.in> *
* *
* To the extent possible under law, the author(s) have dedicated all copyright *
* and related and neighboring rights to this software to the public domain *
* worldwide. This software is distributed without any warranty. *
* *
* You should have received a copy of the CC0 Public Domain Dedication along *
* with this software. If not, see <http://creativecommons.org/publicdomain/zero/1.0/>. */
body {
font-family: sans-serif;
background-color: #fafafa;
}
main {
max-width: 40rem;
padding-left: 0.5rem;
padding-right: 0.5rem;
margin-left: auto;
margin-right: auto;
}
main > h1 {
font-size: 2rem;
font-weight: normal;
font-family: monospace;
text-transform: uppercase;
letter-spacing: 0.5rem;
}
main > h1::before {
background-image: url('thumb.svg');
background-size: 1.25rem 1.25rem;
display: inline-block;
width: 1.25rem;
height: 1.25rem;
margin-right: 0.75rem;
content: "";
}
a, abbr {
text-decoration: none;
}
#readme > p:last-child {
font-size: x-small;
color: #999;
}
.send form p {
display: flex;
}
.send form p:first-child {
margin-bottom: 0;
}
.send form p:nth-child(2) {
margin: 0.5rem 0;
}
.send form p:last-child {
flex-direction: row-reverse;
margin-top: 0;
}
.send form label {
display: none;
}
.send form input {
width: 100%;
border: 1px solid #999;
border-radius: 2rem;
padding: 0.25rem 0.75rem;
}
.send form button {
font-weight: bold;
padding: 0.25rem 0.5rem;
border-radius: 5px;
background-color: #66f;
background-image: linear-gradient(to bottom, #99f, #66f);
border: 1px solid #33f;
color: #fff;
}
.send form button::before {
content: "📡 ";
}
.response-output {
padding: 1rem;
background-color: #eee;
border-radius: 5px;
font-size: smaller;
}
.response-type {
font-size: larger;
font-weight: bold;
margin-top: 0;
text-transform: capitalize;
}
.responsePass::before {
content: "✔️ ";
color: #0c0;
}
.responseFail::before {
content: "❌ ";
color: #f00;
}
.response-output ul {
list-style-type: none;
margin: 0;
padding: 0;
}
.response-output li:first-child, .response-output li:nth-child(2) {
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.configure {
margin-top: -2.75rem;
}
.configure summary {
font-weight: bold;
padding: 0.42rem 0.45rem;
border-radius: 5px;
background-color: #dedede;
background-image: linear-gradient(to bottom, #fff, #dedede);
border: 1px solid #ababab;
width: auto;
display: inline-block;
font-size: smaller;
list-style-type: none;
}
.configure summary::before {
content: "⚙️ ";
}
.configure summary::-webkit-details-marker {
display: none;
}
#configure-endpoint textarea, #configure-endpoint label, #configure-endpoint input {
display: block;
box-sizing: border-box;
width: 100%;
}
#configure-endpoint input {
border-radius: 5px;
border: 1px solid #999;
padding: 0.25rem 0.25rem;
}
#configure-endpoint label {
font-weight: bold;
font-size: smaller;
margin-bottom: 0.25rem;
}
#configure-endpoint textarea {
height: 20em;
border: 1px solid #999;
border-radius: 5px;
padding: 0.25rem 0.25rem;
}
#configure-endpoint p:nth-child(4) {
margin-bottom: 0.5rem;
}
#configure-endpoint p:last-child {
display: flex;
flex-direction: row-reverse;
margin-top: 0;
}
#configure-endpoint button {
font-weight: bold;
padding: 0.25rem 0.5rem;
border-radius: 5px;
background-color: #66f;
background-image: linear-gradient(to bottom, #99f, #66f);
border: 1px solid #33f;
color: #fff;
}
#configure-endpoint button[disabled] {
background-color: #666;
background-image: linear-gradient(to bottom, #999, #666);
border: 1px solid #333;
}
#configure-endpoint button::before {
content: "💾 ";
}