-
Notifications
You must be signed in to change notification settings - Fork 1
/
import.css
1977 lines (1648 loc) · 51.3 KB
/
import.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
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* Import Varela Round Font */
@import url("https://fonts.googleapis.com/css2?family=Varela+Round&display=swap");
/* Closest to ransom note font I could find. It doesn't support special characters though, ffs */
@font-face {
font-family: 'shoplifter';
src: url('https://alanmun.github.io/p5r-discord-theme/shoplifter.ttf');
}
/* Almost as good as shoplifter in terms of nailing the look, but it has way better support for characters */
@font-face {
font-family: 'fanransom';
src: url('https://alanmun.github.io/p5r-discord-theme/Persona5FanRansom.ttf');
}
/* Softer, informal persona font */
@font-face {
font-family: "personified";
src: url("https://alanmun.github.io/p5r-discord-theme/PersonifiedUXRegular.ttf");
font-weight: 500;
}
/* Idk its like personified but bolder? I use it for date dividers... */
@font-face {
font-family: "New P5";
src: url("https://alanmun.github.io/p5r-discord-theme/P5Alt.ttf");
font-weight: 500;
}
/* Someone on HarryType-C server sent me this, its great at replicating the system menu and popup fonts in game */
@font-face {
font-family: "system-and-popups";
src: url("https://alanmun.github.io/p5r-discord-theme/optimanova.ttf");
font-weight: 100;
}
:root {
--theme: var(--p5-primary-fix);
/* New Main Color */
--p5-primary: radial-gradient(circle, #c31e1e, #af0000);
--p5-primary-fix: #af0000; /* I came back to find p5-primary broken? radial-gradient specifically just seems to not function anymore. */
--p5-primary-accent: rgba(220, 20, 60, 0.9);
/* its crimson with alpha */
--hp-green: rgba(0, 221, 178, 0.90);
--mp-pink: rgba(255, 102, 237, 0.867);
--p5-blue: rgba(64, 193, 251, 0.90);
--p5-blue-hovered: rgba(34, 163, 221, 0.90);
--p5-system: rgba(43, 43, 43, 0.866);
/* Standard Variables */
--primary-dark: #131313;
--primary-alt: #111;
/* Backgrounds */
--background-primary: #101010;
--background-secondary: var(--primary-alt);
--background-secondary-alt: var(--primary-alt);
--background-accent: var(--theme);
--background-tertiary: var(--theme);
--background-folder: rgba(96, 125, 139, 0.4);
/* Channel Text Area */
--channeltextarea-background: #fff;
/* Input backgrounds, similar to above channel text area */
--input-background: #fff;
/* Scrollbar */
--scrollbar-thin-thumb: var(--theme);
--scrollbar-auto-thumb: var(--theme);
--scrollbar-auto-track: #222;
/* Header */
--header-primary: #fff !important;
--header-font-family: 'New P5';
/* Text */
--text-link: var(--p5-blue);
--text-muted: #fff;
--text-on-white-background: #000;
/* Below was a cool idea but it leads to too many misfires and additional CSS I need to write to correct a lot of things */
/* Its just not worth it to rename existing vars, it breaks too many things even if it appears to fix a lot */
/* --text-normal: var(--text-on-dark-background); */
--text-on-dark-background: #fff;
/* Focus */
-focus-primary: #fff;
}
/* Below is experimenting with making everything Varela with 2 default fonts as backup.
Unfortunately though it visually makes no difference basically, besides altering
size of smaller subtexts, which is undesired.
*/
body {
font-family: "Varela Round", "gg sans", "Noto Sans";
}
h2, h1 {
font-family: 'system-and-popups' !important;
}
/* Applies a background to the chat window. I use ::before to control opacity separately (only on background image) */
main[class*="chatContent"]::before {
content: "";
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background: rgba(28, 28, 28, 0.866) !important;
background-size: 100% 100% !important;
opacity: 0.9;
/* Adjust transparency */
z-index: 0;
}
/* the top bar containing min/max/X out */
[class^="typeWindows_"] {
height: 28px;
margin: 0px;
}
/* Hack: set entire mount background to match the color of top bar instead of fighting with height bs */
div#app-mount {
background-color: var(--p5-primary-fix);
}
/* minimize button */
div[aria-label="Minimize"] {
top: 0px;
height: inherit;
}
/* maximize button */
div[aria-label="Maximize"] {
top: 0px;
height: inherit;
}
/* X out button to quit app */
div[aria-label="Close"] {
top: 0px;
height: inherit;
}
/* Discord logo */
[class^="wordmarkWindows"][class^="wordmark"] {
background: url("https://alanmun.github.io/p5r-discord-theme/discord-inverted-high-quality-transparent.png");
background-size: 100% 90%;
background-repeat: no-repeat;
left: 5px;
top: 4px;
padding-right: 30px;
filter: brightness(0) invert(1);
}
/* Old discord logo hidden */
[class^="wordmarkWindows"][class^="wordmark"]>svg {
visibility: hidden;
}
/* div[aria-roledescription="Message"] div div span{
line-height: 400% !important;
padding-left: 2%;
}
div[aria-roledescription="Message"] div div{
background-image: url("https://alanmun.github.io/p5r-discord-theme/Chat.svg");
background-repeat: no-repeat;
background-size: 200px 100px;
background-position-x: 5%;
background-position-y: center;
padding-left: -10% !important;
} */
/* ^^^^^^^^^^ where I left off ^^^^^^^^^ */
/* div[aria-roledescription="Message"].groupStart-3Mlgv1 div div span{
background-image: url("https://alanmun.github.io/p5r-discord-theme/Chat.svg");
background-repeat: no-repeat;
background-size: 500% 500%;
background-position-x: 0;
background-position-y: -50000;
padding-top: 2%;
} */
/* div[aria-roledescription="Message"]::before,
div[aria-roledescription="Message"]::after {
content: "";
position: absolute;
transform-origin: 0% 0%;
}
div[aria-roledescription="Message"]::before {
top: 0px;
left: 8%;
width: 20%;
height: 50px;
background-color: white;
transform: skew(-19deg);
z-index: -1;
}
div[aria-roledescription="Message"]::after {
top: 4%;
left: 8.25%;
width: 19%;
height: 45px;
background-color: black;
transform: skew(-12deg);
z-index: -1;
} */
/* Generic popups */
[class*="popout"] {
border-radius: 1px;
background-color: #222;
}
[class*="popout"] button {
border-radius: 1px;
background-color: var(--p5-blue) !important;
}
[class*="popout"] button:hover {
background-color: var(--p5-blue-hovered) !important;
}
/* Used in the NEW badge icon */
[class*="textBadge"]{
border-radius: 1px;
background-color: var(--p5-blue-hovered) !important;
}
/* Active Now right column section in Friends tab */
[class*="itemCard"] {
border-radius: 0;
border: 0;
background: var(--p5-system);
}
[class*="itemCard"]:hover {
background: rgba(33, 33, 33, 0.866) !important; /* This is just p5-system but toned down, can't modify off existing rgbas in css unfortunately */
}
[class*="itemCard"][class*="active-"] {
background: rgba(28, 28, 28, 0.75) !important;
}
[class*="itemCard"] span {
/* Affects the text saying what they're doing (Dota 2 - 52 mins) */
color: var(--text-on-dark-background);
}
/* Top Area */
[class*="chat"] [class*="toolbar"] [class*="clickable"] {
background: #000;
border-radius: 2px;
border: 2px solid #fff;
margin: 0 2px;
transform: rotate(4deg);
}
[class*="chat"] [class*="toolbar"] [class*="clickable"]:nth-child(even) {
transform: rotate(-4deg);
}
[class*="chat"] [class*="toolbar"] [class*="clickable"] [class*="icon"] {
padding: 1px;
box-sizing: border-box;
width: 20px;
height: auto;
color: #fff;
}
/* Hide this svg that creates an ugly red line near bottom of Inbox toolbar button */
[class*="chat"] [class*="toolbar"] div[aria-label="Inbox"] span[class*="iconBadge"] {
visibility: hidden;
}
[class*="chat"] [class*="toolbar"] [class*="clickable"][class*="selected"] {
background: var(--background-accent);
}
[class*="chat"] [class*="toolbar"] [class*="clickable"]:hover {
background: #fff;
}
[class*="chat"] [class*="toolbar"] [class*="clickable"]:hover [class*="icon"] {
color: var(--p5-system);
}
.theme-dark [class*="lookFilled"][class*="colorPrimary"] {
border-radius: 1px;
background-color: var(--theme);
color: #fff;
}
.theme-dark [class*="lookFilled"][class*="colorPrimary"]:hover {
background: #fff;
color: var(--theme);
}
/* BEGIN Can't tell what these guys are doing... their name seems completely diff now*/
[class*="queryContainer"] {
background: #000;
color: #fff;
}
.queryContainer-ZunrLZ.focused-2FU0YH {
background: rgb(12, 12, 12);
}
.queryContainer-ZunrLZ .queryText-j8z984 strong {
background: #fff;
color: var(--mp-pink);
padding: 5px;
}
.queryContainer-ZunrLZ .keybindShortcut-3zF1P9 span {
background: var(--theme);
color: #fff;
}
.queryContainer-ZunrLZ .keybindShortcut-3zF1P9:active span {
background: #fff;
color: var(--theme);
}
/* END */
.resultsGroup-1BPR25 {
border-radius: 2px;
border: 2px solid #fff;
background: #000;
}
.resultsGroup-1BPR25 .option-2KkUJO::after {
background: linear-gradient(to left, #000 80%, transparent);
}
.resultsGroup-1BPR25 .option-2KkUJO .plusIcon-2V7coV {
color: var(--mp-pink);
}
/* Mini-user dock under channels */
div[class*="flex"][class*="horizontal"][class*="justifyStart"][class*="alignStretch"][class*="noWrap"] > button {
border-radius: 2px;
border: 2px solid #fff;
}
div[class*="flex"][class*="horizontal"][class*="justifyStart"][class*="alignStretch"][class*="noWrap"] path:nth-child(even) {
fill: white;
transform: scale(1) skewX(-2deg);
}
div[class*="flex"][class*="horizontal"][class*="justifyStart"][class*="alignStretch"][class*="noWrap"] path:nth-child(odd) {
fill: white;
transform: scale(1) skewX(2deg);
}
section[aria-label="User area"] div[class*="flex"][class*="horizontal"][class*="justifyStart"][class*="alignStretch"][class*="noWrap"]>:nth-child(even) {
transform: scale(0.9) skewX(2deg);
}
section[aria-label="User area"] div[class*="flex"][class*="horizontal"][class*="justifyStart"][class*="alignStretch"][class*="noWrap"]>:nth-child(odd) {
transform: scale(0.9) skewX(-2deg);
}
/* Mute button in dock */
button[aria-label="Mute"] {
background: var(--mp-pink);
/* p5 pink var, conv'd to rgba */
}
/* Deafen button in dock */
button[aria-label="Deafen"] {
background: var(--hp-green);
}
/* Settings cog button in dock */
button[aria-label="User Settings"] {
background: var(--p5-blue);
}
/* Date */
/* Experimenting with New P5 for hovered over timestamps, idk if it improves anything rly */
/* .timestampVisibleOnHover-9PEuZS {
font-family: 'New P5';
font-size: 0.65em !important;
font-weight: lighter !important;
} */
/* Everything below this for date is from og author and probably broken code */
.datePicker-70cO23 {
background: #000 !important;
}
.datePicker-70cO23 .calendarPicker-sDhzdi {
background: #000 !important;
}
.datePicker-70cO23 .react-datepicker {
/* background: #000 !important; */
background: #000 url("https://alanmun.github.io/p5r-discord-theme/calendar.png") center / cover !important;
}
.datePicker-70cO23 .react-datepicker .react-datepicker__header {
border: none;
background: none;
}
.datePicker-70cO23 .react-datepicker .react-datepicker__header .react-datepicker__day-name {
background: #000;
padding: 5px 0;
color: #fff;
font-weight: 600;
}
.datePicker-70cO23 .react-datepicker .react-datepicker__month .react-datepicker__day {
background: #000;
}
.datePicker-70cO23 .react-datepicker .react-datepicker__month .react-datepicker__day:hover {
background: var(--theme);
color: #fff;
}
.datePicker-70cO23 .react-datepicker .react-datepicker__month .react-datepicker__day.react-datepicker__day--selected {
color: #fff;
}
.datePicker-70cO23 .react-datepicker .react-datepicker__month .react-datepicker__day.react-datepicker__day--selected:hover {
background: var(--p5-blue);
}
.datePicker-70cO23 .react-datepicker .react-datepicker__month .react-datepicker__day.react-datepicker__day--selected::after {
background: var(--p5-blue);
}
.datePicker-70cO23 .react-datepicker .react-datepicker__month .react-datepicker__day .react-datepicker__day--selected+.datePicker-70cO23 .react-datepicker .react-datepicker__month .react-datepicker__day {
color: green;
}
.searchFilter-2UfsDk span {
color: #fff;
background: var(--mp-pink);
padding: 0 2px;
font-weight: 700;
}
.searchAnswer-23w-CH span {
color: #fff;
background: var(--hp-green);
padding: 0 2px;
font-weight: 700;
}
.datePickerHint-17MnA8 .hintValue-1x-flY {
background: var(--hp-green) !important;
color: #fff;
font-weight: 700 !important;
}
/* BetterDiscord blue notifications */
#bd-notices > * {
border-radius: 0;
background: white;
/* border: solid black 3px; */
color: black;
/* width: 95%; */
/* margin-left: 1vw; */
/* transform: skewX(1deg); */
}
#bd-notices {
transform: rotate(0deg) skewY(0deg)
}
.bd-notice-close {
background-color: var(--p5-primary-fix);
scale: 0.8;
opacity: 1;
border: solid white 1px;
transition: background-color .2s ease,color .2s ease,border-color .2s ease;
}
.bd-notice-close:hover {
background-color: black;
}
/* More Info button for betterdiscord notices */
.bd-notice-button {
border: solid black 1px;
color: black;
}
.bd-notice-button:hover {
background: black;
color: white;
}
/* Remove corner radius for corner just under Discord logo at top left */
div[class*="base"] div[class*="sidebar"] {
border-radius: 0px;
}
/* Search bar at top right, near min/max/Xout */
[class*="toolbar"] div[class*="searchBar"] {
border-radius: 0px;
height: 27px;
transform: skew(3deg);
color: var(--text-on-dark-background);
}
[class*="toolbar"] div[class*="searchBar"]:hover {
--scale-factor: 1.03;
animation: erraticStretch 0.9s infinite;
}
/* "Search" placeholder text in search bar at top right */
.public-DraftEditorPlaceholder-root {
font-family: 'fanransom';
letter-spacing: 1px;
font-size: 1.6em;
padding-top: 3px;
}
/* Search bar above friends list in DMs */
button[class*="searchBarComponent"] {
border-radius: 0 !important;
transform: rotate(0deg) skewX(-6deg);
font-family: 'shoplifter';
font-size: 1.25em !important;
letter-spacing: 0px;
}
button[class*="searchBarComponent"]:hover {
--scale-factor: 1;
animation: erraticStretch 0.9s infinite;
}
/* The popup when you click on the above search bar */
[class*="quickswitcher"] {
border-radius: 0px;
--rot-factor: 35;
--scale-factor: 1;
animation: jiggleNormalWithRotation 0.6s infinite;
}
input[aria-label="Quick switcher"] {
color: var(--text-on-white-background);
}
/* Targets the real search bar that appears when in friends tab, above the currently online users, probably targets others too */
[class*="container"][class*="searchBar"] {
border-radius: 1px;
transform: skew(3deg);
}
[class*="container"][class*="searchBar"]:hover {
--scale-factor: 1.006;
animation: pulsate 0.6s infinite;
}
[class*="container"][class*="searchBar"] input[aria-label="Search"] {
background: unset; /* Prevent my other rules from affecting this guy's bg */
color: var(--text-on-dark-background);
}
/* add notification icon when someone dms you */
[class*="lowerBadge"] {
background: url(https://alanmun.github.io/p5r-discord-theme/notification.gif);
filter: drop-shadow(0 0 0.5px black);
background-size: contain;
background-repeat: no-repeat;
background-color: transparent;
transform: scaleX(-1) !important;
margin-bottom: -5px;
border-radius: 0;
height: 25px;
width: 9px;
}
/* Restyling the number of dms notification number */
[class*="lowerBadge"]>div {
padding-top: 14px;
padding-right: 6px;
background: transparent !important;
transform: skewX(0deg) scaleX(-1.3) scaleY(1.3);
color: var(--text-on-dark-background);
font-family: 'shoplifter';
text-shadow:
-1px -1px 0 #000,
1px -1px 0 #000,
-1px 1px 0 #000,
1px 1px 0 #000;
}
/* Targeting the Friends tab that appears to the right of "find or start a conversation" */
section:not([aria-label="Channel header"]):not([aria-label="Expression Picker"]) {
background: var(--primary-alt) !important;
}
section:not([aria-label="Channel header"]) [class*="children"]{
font-family: 'system-and-popups';
}
/* Friends online All pending Suggestions Blocked Add Friend */
section:not([aria-label="Channel header"]) [class*="children"] h1{
font-family: 'system-and-popups';
}
section:not([aria-label="Channel header"]) [class*="children"] [aria-label="Friends"] div{
border-radius: 1px;
transform: skewY(0.25deg) skewX(6deg);
}
section:not([aria-label="Channel header"]) div[aria-label="Add Friend"] {
background-color: var(--hp-green) !important;
border-radius: 2px;
border: 2px white solid;
transform: skewY(-0.75deg) skewX(-6deg);
}
section:not([aria-label="Channel header"]) div[aria-label="Add Friend"]:hover {
--scale-factor: 1;
animation: erraticStretch 0.8s infinite;
}
/* Restyle only the badges under blobContainers (non-folders), makes their notif sizes equal */
/* Currently not helpful */
/* div[class*="blobContainer"] [class*="lowerBadge"] {
transform: scaleX(-0.75) scaleY(0.75) !important;
} */
/* DM popup notification profile pics (when someone dms you) */
.scroller-3X7KbA.none-1rXy4P.scrollerBase-1Pkza4 svg.svg-2ifYOU mask+mask+foreignObject {
mask: none;
}
/* Testing: remove ugly bg from notification popup ticker */
div[class*="wrapper"] > svg > defs > rect {
visibility: hidden;
}
/* Dunno what this things deal is, its some strange box shadow looking edge near the chatbox. This rule blocks it from appearing, its ugly and looks like a glitch */
.theme-dark [class*="form"]:before {
background: none !important;
}
/* Server list etc */
div[aria-label="Servers"]>div{
padding: 5px 0 5px 0;
transform: scale(1.1);
}
div[aria-label="Servers"]> :nth-child(odd) div[class*="blobContainer"] > div > svg:hover {
animation: jiggleInverted 0.6s infinite;
}
div[aria-label="Servers"]> :nth-child(odd) div[class*="blobContainer"] > div > svg {
background: url('https://alanmun.github.io/p5r-discord-theme/spikyCircleMenuButton.svg');
background-size: 98%;
background-repeat: no-repeat;
background-position: 50% 100%;
width: 50px;
transform: rotate(6deg) scale(-1.2);
}
div[aria-label="Servers"]> :nth-child(odd) div[class*="blobContainer"] img {
transform: scale(-0.65) translateX(1px) translateY(-0.5px); /* Controls the size of the server icon inside spiky bubble */
border-radius: 100%;
}
div[aria-label="Servers"]> :nth-child(even) div[class*="blobContainer"] > div > svg:hover {
--scale-factor: 1;
animation: jiggleNormal 0.6s infinite;
}
div[aria-label="Servers"]> :nth-child(even) div[class*="blobContainer"] > div > svg {
margin-top: 3px;
width: 50px;
background: url('https://alanmun.github.io/p5r-discord-theme/spikyCircleMenuButton.svg');
background-size: 98%;
background-repeat: no-repeat;
background-position: 50% 100%;
transform: rotate(6deg) scale(1.2);
}
div[aria-label="Servers"]> :nth-child(even) div[class*="blobContainer"] img {
transform: scale(0.65) translateX(-1px); /* Controls the size of the server icon inside spiky bubble */
border-radius: 100%;
}
/* Affects folders */
div[aria-label="Servers"]>[class*="wrapper"] div[class*="wrapper"] {
margin-top: 15px;
transform: skewX(3deg) rotate(-3deg);
}
div[aria-label="Servers"]>[class*="wrapper"] div[class*="wrapper"]:hover {
animation: jiggleFolder 0.6s infinite;
}
/* Same as above but need to be more specific to put a border */
div[aria-label="Servers"]>[class*="wrapper"] div[class*="wrapper"] div[class*="closedFolderIconWrapper"] {
border: 2px solid #fff;
}
/* ul that contains each server in a folder */
div[aria-label="Servers"]>[class*="wrapper"] ul {
height: auto !important;
}
/* Matches servers INSIDE folders */
div[aria-label="Servers"]>[class*="wrapper"] ul div[class*="wrapper"] {
margin-top: 0px;
transform: rotate(6deg);
}
div[aria-label="Servers"]>[class*="wrapper"] svg foreignObject {
mask: none !important;
background: none;
}
/* Nuke radius on any server folder */
div[aria-label="Servers"]>[class*="wrapper"] [class*="folderIconWrapper"] {
border-radius: 0;
background-color: transparent !important;
}
div[aria-label="Servers"]>[class*="wrapper"] div[aria-expanded="true"] {
background: transparent;
}
/* Direct Messages icon */
div[aria-label="Direct Messages"] > div[class*="childWrapper"] {
background: rgba(0, 0, 0, 0) url("https://alanmun.github.io/p5r-discord-theme/im.png") no-repeat center / 120%;
background-color: transparent !important;
}
div[aria-label="Direct Messages"] > div[class*="childWrapper"]:hover {
animation: jiggleNormalWithRotation 1s infinite;
}
/* Direct Messages icon requires disable masking to remove rounded corners effect */
/* TODO: Just this one is firing on the two icons at bottom of server browser side bar */
div[class*="listItemWrapper"] > div[class*="wrapper"] > svg > foreignObject {
mask: none;
}
/* Hide the wumpus thing so it doesn't occlude IM icon */
div[class*="listItemWrapper"] > div[class*="wrapper"] > svg > foreignObject svg {
visibility: hidden;
}
/* DM people list */
[class*="interactive"] {
border-radius: 0px;
}
div[class*="members"] > div {
color: var(--text-on-dark-background);
}
div[aria-label="Members"]>h2[class*="membersGroup"]:nth-child(even)>span {
font-family: var(--header-font-family);
font-size: 0.80em;
color: #000;
background: #fff;
letter-spacing: 2px;
border-radius: 2px;
transform: skewX(9deg);
padding-left: 3px;
padding-right: 3px;
display: inline-block;
}
div[aria-label="Members"]>h3.membersGroup-2eiWxl:nth-child(odd)>span {
font-family: var(--header-font-family);
font-size: 0.80em;
color: #000;
background: #fff;
letter-spacing: 2px;
border-radius: 2px;
transform: skewX(-9deg);
padding-left: 3px;
padding-right: 3px;
display: inline-block;
}
/* Left Column */
/* This enforces primary coloring back onto server bar */
.scroller-3X7KbA {
background: var(--p5-primary) !important;
}
.guilds-2JjMmN .tutorialContainer-1pL9QS .wrapper-3kah-n .childWrapper-1j_1ub svg {
display: none;
}
.guilds-2JjMmN .tutorialContainer-1pL9QS .wrapper-3kah-n.selected-bZ3Lue .childWrapper-1j_1ub {
color: #fff;
}
.guilds-2JjMmN .lowerBadge-3WTshO {
background: var(--theme);
}
.guilds-2JjMmN .lowerBadge-3WTshO .numberBadge-37OJ3S {
background: var(--theme) !important;
color: #fff;
}
.guilds-2JjMmN .folderIconWrapper-226oVY {
background: rgba(10, 10, 10, 0.5) !important;
}
.guilds-2JjMmN .circleIconButton-jET_ig {
background: #fff;
}
.guilds-2JjMmN .circleIconButton-jET_ig svg {
color: var(--hp-green);
}
.guilds-2JjMmN .circleIconButton-jET_ig:hover {
background: var(--mp-pink);
}
.guilds-2JjMmN .circleIconButton-jET_ig:hover svg {
color: #fff;
}
.bar-30k2ka {
background: #000;
border-radius: 2px;
box-shadow: 0 0 0 2px #fff, -2px -1px 0 2px #fff;
}
/* Popout Above Guilds */
.menu-3sdvDG .scroller-3BxosC {
background: #000;
border-radius: 2px;
border: 2px solid #fff;
}
.menu-3sdvDG .scroller-3BxosC .item-1tOPte {
color: #fff;
}
.menu-3sdvDG .scroller-3BxosC .item-1tOPte.focused-3afm-j {
background: var(--theme);
}
.menu-3sdvDG .scroller-3BxosC .item-1tOPte:nth-child(2n + 2) .iconContainer-2-XQPY svg {
color: var(--theme) !important;
}
/* Friends Page Main Area */
[class*="peopleList"] [class*="peopleListItem"] [class*="avatar"] :not([class*="userInfo"]) svg foreignObject {
mask: url("https://alanmun.github.io/p5r-discord-theme/im.png");
}
[class*="peopleList"] [class*="peopleListItem"] [class*="actions"] [aria-label="Message"] {
border-radius: 50%;
background: var(--p5-blue);
color: #fff;
}
[class*="peopleList"] [class*="peopleListItem"] [class*="actions"] [aria-label="Message"]:hover {
--scale-factor: 0.1;
animation: erraticStretch 0.8s infinite;
}
[class*="peopleList"] [class*="peopleListItem"] [class*="actions"] [aria-label="More"] {
border-radius: 50%;
background: var(--mp-pink);
color: #fff;
}
[class*="peopleList"] [class*="peopleListItem"] [class*="actions"] [aria-label="More"]:hover {
--scale-factor: 0.1;
animation: erraticStretch 0.8s infinite;
}
/* Now Playing */
.nowPlayingColumn-2sl4cE {
background: #000;
}
.nowPlayingColumn-2sl4cE .itemCard-v9viV7 {
background: var(--primary-alt);
border: 2px solid #fff;
border-radius: 2px;
transform: skew(-3deg);
}
.nowPlayingColumn-2sl4cE .itemCard-v9viV7:nth-child(even) {
transform: skew(3deg);
}
.nowPlayingColumn-2sl4cE .itemCard-v9viV7 .section-2gLsgF {
background: #101010;
}
/* Main Message Area */
/* .chat-2ZfjoI {
background: var(--primary-dark);
} */
.chat-2ZfjoI .title-3qD0b- {
background: var(--primary-alt);
}
.emptyChannelIcon-1YdEz2 {
border-radius: 0;
background-color: #000;
border-radius: 2px;
border: 2px solid #fff;
transform: rotate(-4deg);
}
.emptyChannelIcon-1YdEz2 svg {
color: #000 !important;
}
/* Messages */
/* Profile picture box inside of any chat (dm or server) */
/* li .header-2jRmjb {
background-image: url('https://alanmun.github.io/p5r-discord-theme/PFP.svg');
background-repeat: no-repeat;
background-position: -150px 0px;
z-index: 5;
overflow: visible;
} */
li:nth-child(odd) .message-2CShn3 {
margin-left: 2%;
}
li:nth-child(odd) .message-2CShn3 .avatar-2e8lTP {
/* left: -2%; */
border-radius: 0;
border: 2px solid #fff;
z-index: 1;
overflow: visible;
/* This was set by original author, but seemingly no effect */
transform: rotate(-2deg) skew(3deg);
}
/* ^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_ */
li:nth-child(even) .message-2CShn3 {
margin-left: 2%;
}
li:nth-child(even) .message-2CShn3 .avatar-2e8lTP {
/* left: -2%; */
border-radius: 0;
border: 2px solid #fff;
transform: rotate(2deg) skew(-3deg);
overflow: visible;
/* This was set by original author, but seemingly no effect */
}
.message-2CShn3 .markup-eYLPri {
font-family: "Varela Round", sans-serif;
font-size: 0.85em;
}
.message-2CShn3 .markup-eYLPri span:hover {
background: #fff;
color: #000;
}
.contents-2MsGLg .markup-eYLPri>span {
color: #fff;
}
.contents-2MsGLg .markup-eYLPri>span>span.highlight {
background: var(--p5-primary);
color: #fff;
}
/* Message Hover Buttons */
/* Idea: color these buttons? */
/* aria-label="Add Reaction" */
.message-2CShn3 .buttons-3dF5Kd .wrapper-2vIMkT {
border-radius: 0;
overflow: none;
}
.message-2CShn3 .buttons-3dF5Kd .wrapper-2vIMkT .button-3bklZh {
border-radius: 2px;
background: #000;
color: #fff;
border: 2px solid #fff;
transform: rotate(4deg);
padding: 1px;
}
.message-2CShn3 .buttons-3dF5Kd .wrapper-2vIMkT .button-3bklZh:nth-child(even) {