Author
|
zPlus <zplus@peers.community>
2023-11-22 07:34:49
|
Committer
|
zPlus <zplus@peers.community>
2023-11-22 07:34:49
|
Commit
|
239f2a8
(patch)
|
Tree
|
5b426d8
|
Parent(s)
|
|
Disable registrations.
commits diff:
3f4365e..239f2a8
3 files changed,
37 insertions,
0 deletions
—
download
Diffstat
Diff options
+2/-0
M freepost/__init__.py
+30/-0
M freepost/static/css/freepost.css
9
|
9
|
|
}
|
10
|
10
|
|
|
11
|
11
|
|
a, a:hover, a:visited {
|
|
12
|
+ |
/*
|
12
|
13
|
|
background: transparent;
|
13
|
14
|
|
color: #337ab7;
|
|
15
|
+ |
*/
|
14
|
16
|
|
text-decoration: none;
|
15
|
17
|
|
}
|
16
|
18
|
|
|
203
|
205
|
|
width: 100%;
|
204
|
206
|
|
}
|
205
|
207
|
|
|
|
208
|
+ |
@media (prefers-color-scheme: dark) {
|
|
209
|
+ |
html, body {
|
|
210
|
+ |
background-color: #000;
|
|
211
|
+ |
}
|
|
212
|
+ |
}
|
|
213
|
+ |
|
206
|
214
|
|
pre {
|
207
|
215
|
|
background-color: #efefef;
|
208
|
216
|
|
font-family: "Courier 10 Pitch", Courier, monospace;
|
300
|
308
|
|
width: 36px;
|
301
|
309
|
|
}
|
302
|
310
|
|
|
|
311
|
+ |
@media (prefers-color-scheme: dark) {
|
|
312
|
+ |
.burger-icon > .line1,
|
|
313
|
+ |
.burger-icon > .line2,
|
|
314
|
+ |
.burger-icon > .line3 {
|
|
315
|
+ |
background-color: #fff;
|
|
316
|
+ |
}
|
|
317
|
+ |
}
|
|
318
|
+ |
|
303
|
319
|
|
.burger-icon.open > .line1 {
|
304
|
320
|
|
transform: rotate(-45deg) translate(-0px, 11px);
|
305
|
321
|
|
}
|
379
|
395
|
|
text-decoration: none;
|
380
|
396
|
|
}
|
381
|
397
|
|
|
|
398
|
+ |
@media (prefers-color-scheme: dark) {
|
|
399
|
+ |
a.logo,
|
|
400
|
+ |
a.logo:hover,
|
|
401
|
+ |
a.logo:visited {
|
|
402
|
+ |
color: #fff;
|
|
403
|
+ |
}
|
|
404
|
+ |
}
|
|
405
|
+ |
|
382
|
406
|
|
/* List of posts, for example in the homepage */
|
383
|
407
|
|
.posts {}
|
384
|
408
|
|
|
414
|
438
|
|
font-size: 1.6rem;
|
415
|
439
|
|
}
|
416
|
440
|
|
|
|
441
|
+ |
@media (prefers-color-scheme: dark) {
|
|
442
|
+ |
.posts > .post > .info > .title > a {
|
|
443
|
+ |
color: #fff;
|
|
444
|
+ |
}
|
|
445
|
+ |
}
|
|
446
|
+ |
|
417
|
447
|
|
/* Some post info showed below the title */
|
418
|
448
|
|
.posts > .post > .info > .about {
|
419
|
449
|
|
color: #666;
|
+5/-0
M freepost/templates/register.html
15
|
15
|
|
<h3>Create new account</h3>
|
16
|
16
|
|
|
17
|
17
|
|
<form action="" method="post">
|
|
18
|
+ |
<div>
|
|
19
|
+ |
Registrations are closed because of spam. If you need an account, please
|
|
20
|
+ |
ask in #peers (irc.libera.chat)
|
|
21
|
+ |
</div>
|
|
22
|
+ |
|
18
|
23
|
|
<div class="title">
|
19
|
24
|
|
Screen name
|
20
|
25
|
|
</div>
|