-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHackerBin.css
172 lines (132 loc) · 3.99 KB
/
HackerBin.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
/* ==UserStyle==
@name HackerBin
@namespace github.com/openstyles/stylus
@version 1.0.0
@description very hackery
@author arsg0etia
==/UserStyle== */
@-moz-document domain("kbin.social"), domain("karab.in"), domain("nadajnik.org"), domain("kopnij.in"), domain("fedia.io") {
:root {
--kbin-color: #bf5ded;
--kbin-color-dark: #7f4a97;
--kbin-color-darker: #493353;
--pin-color: #4f9172;
--type-color: #e6cb83;
--subscribe-border: 1px dashed var(--kbin-color);
--font-family: 'Courier New', monospace;
}
/* Wired Background */
body {
background-color: #000;
color: #00ff00;
font-family: var(--font-family);
}
/* Hacker Fonts */
code, pre, #sidebar, #content {
font-family: var(--font-family);
}
/* Green Text */
a, a:visited {
color: #00ff00 !important;
}
/* Matrix-like Links */
a:hover {
text-decoration: underline;
color: #00ff00 !important;
}
/* Code Blocks */
pre {
background-color: #000;
color: #00ff00;
border: 1px solid #00ff00;
padding: 10px;
overflow: auto;
margin: 10px 0;
}
/* Scrollbar for the Wired */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #000;
}
::-webkit-scrollbar-thumb {
background: #4f9172;
}
/* IMAGE PREVIEW STYLING */
div.preview {
border: var(--kbin-section-border);
border-top: none;
background-color: var(--kbin-bg-nth);
max-width: 95%;
margin: -.5rem auto;
margin-bottom: initial;
padding: 0;
}
div.preview img {
max-height: 75vh;
margin: 0 auto;
display: block;
}
/* SIDEBAR COMPACTIFICATION / GENERAL STYLING */
#sidebar .info {
overflow: auto;
}
/* --- Thread creator info --- */
@media only screen and (min-width: 1360px), (max-width: 991.98px) {
#sidebar .entry-info figure {
display: inline-block;
float: left;
padding-left: 1em;
}
#sidebar .entry-info li {
clear: none;
float: left;
width: 50%;
}
#sidebar .entry-info li {
border-top: var(--kbin-meta-border) !important;
border-bottom: none;
}
#sidebar .entry-info li:nth-child(n+3) {
border-bottom: var(--kbin-meta-border) !important;
}
}
#sidebar .info time, #sidebar .info span {
opacity: .75;
}
/* --- Magazine info --- */
#sidebar .magazine img:nth-child(1) {
max-height: 6em;
width: auto;
}
#sidebar .magazine__subscribe button:hover, #sidebar .user__follow button:hover {
cursor: pointer;
}
#sidebar .magazine__subscribe form[name="magazine_subscribe"] button:not(.active)/*,
#sidebar .user__follow form[name="user_follow"] button:not(.active)*/ {
background-color: var(--kbin-color-darker);
border: var(--subscribe-border);
}
#sidebar .magazine__subscribe form[name="magazine_subscribe"] button:not(.active):hover/*,
#sidebar .user__follow form[name="user_follow"] button:not(.active):hover*/ {
background-color: var(--kbin-color-dark);
}
/* COLORATIONS / MISC STYLING */
article .fa-thumbtack {
color: var(--pin-color);
}
#content article:has(footer menu li i.fa-thumbtack) {
border: 1px solid var(--pin-color) !important;
}
article .fa-newspaper, article .fa-photo-film {
color: var(--type-color);
}
.subject .show-preview {
padding: 8px;
border: var(--kbin-meta-border);
}
.subject .show-preview:hover {
background-color: rgba(127,127,127,0.25);
}
}