summaryrefslogtreecommitdiff
path: root/web/assets/themes/ecks-pee.css
blob: bd479c67b49e7383036d2c03726d46949e92eb13 (plain)
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
/*
  theme-title: Ecks Pee
  theme-description: Looks suspiciously like a certain operating system
*/

:root {
  /* Define our color palette */
  --ecks-pee-blurple: #3833ac;
  --ecks-pee-blue: #00309c;
  --ecks-pee-dark-blue: #0336b3;
  --ecks-pee-darkest-blue: #032680;
  --ecks-pee-light-blue: #5a7edc;
  --ecks-pee-lighter-blue: #91b1ee;
  --ecks-pee-lightest-blue: #c5dafc;
  --ecks-pee-orange: #f69438;
  --ecks-pee-white: #ffffff;
  --ecks-pee-beige: #ece9d8;
  --ecks-pee-darker-beige: #a8a79b;
  --ecks-pee-green: #369836;
  --ecks-pee-light-green: #96c496;
  --ecks-pee-dark-green: #1f611f;
  --ecks-pee-darkest-green: #184918;

  /* Blurple gradient from ecks pee install screen */
  --ecks-pee-blurple-gradient: linear-gradient(
      45deg,
      var(--ecks-pee-blurple),
      var(--ecks-pee-blue),
      var(--ecks-pee-blurple)
    );

  /*
    Start menu / title bar gradient, borrowed from
    https://github.com/botoxparty/XP.css/blob/main/themes/XP/_window.scss
  */
  --ecks-pee-start-menu: linear-gradient(
      180deg,
      #0997ff 0%,
      #0053ee 8%,
      #0050ee 40%,
      #0066ff 88%,
      #0066ff 93%,
      #005bff 95%,
      #003dd7 96%,
      #003dd7 100%
  );

  /* Start button gradient */
  --ecks-pee-start-button: linear-gradient(
    180deg,
    var(--ecks-pee-light-green) 0%,
    var(--ecks-pee-green) 8%,
    var(--ecks-pee-green) 93%,
    var(--ecks-pee-dark-green) 100%
);

  /* Trim for between dark elements. */
  --ecks-pee-dotted-trim: 0.2rem dotted var(--ecks-pee-orange);

  /* Override orange trim */
  --orange2: var(--ecks-pee-orange);

  /* Restyle basic colors to use blurple */
  --blue1: var(--ecks-pee-lighter-blue);
  --blue2: var(--ecks-pee-lightest-blue);
  --blue3: var(--ecks-pee-white);

  /* Basic page styling (background + foreground) */
  --bg: var(--ecks-pee-light-blue);
  --bg-accent: var(--ecks-pee-blue);
  --fg: var(--ecks-pee-white);
  --fg-reduced: var(--ecks-pee-lightest-blue);

  /* Profile page styling */
  --profile-bg: var(--ecks-pee-blurple-gradient);

  /* Start buttons */
  --button-bg: var(--ecks-pee-start-button);
  --button-fg: var(--ecks-pee-white);

  /* ecks-pee-ize statuses */
  --status-bg: var(--ecks-pee-blurple-gradient);
  --status-focus-bg: var(--ecks-pee-blurple-gradient);
  --status-info-bg: var(--ecks-pee-start-menu);
  --status-focus-info-bg: var(--ecks-pee-start-menu);

  /* Used around statuses + other items */
  --boxshadow-border: 1px solid var(--ecks-pee-darkest-blue);
}

/* Set fonts with woff fallbacks */
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: normal;
  font-style: normal;
  src: url(/assets/fonts/Atkinson-Hyperlegible-Regular-102a.woff2) format('woff2'),
       url(/assets/fonts/Atkinson-Hyperlegible-Regular-102.woff) format('woff');
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: bold;
  font-style: normal;
  src: url(/assets/fonts/Atkinson-Hyperlegible-Bold-102a.woff2) format('woff2'),
      url(/assets/fonts/Atkinson-Hyperlegible-Bold-102.woff) format('woff');
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: normal;
  font-style: italic;
  src: url(/assets/fonts/Atkinson-Hyperlegible-Italic-102a.woff2) format('woff2'),
       url(/assets/fonts/Atkinson-Hyperlegible-Italic-102.woff) format('woff');
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  font-weight: bold;
  font-style: italic;
  src: url(/assets/fonts/Atkinson-Hyperlegible-BoldItalic-102a.woff2) format('woff2'),
       url(/assets/fonts/Atkinson-Hyperlegible-BoldItalic-102.woff) format('woff');
}

/* Main page background */
body {
  background: radial-gradient(
    circle closest-corner at 20% 20%,
    var(--ecks-pee-lighter-blue),
    var(--ecks-pee-light-blue)
  );
}

/* Scroll bar */
html, body {
  /* Try Atkinson, fall back to default GtS fonts */
  font-family: "Atkinson Hyperlegible", "Noto Sans", sans-serif;
  font-size: large;
  text-shadow: 1px 1px 1px black;
  scrollbar-color: var(--ecks-pee-lighter-blue) var(--ecks-pee-white);
}

/* Make this more like an ecks pee top bar */
.col-header {
  background: var(--ecks-pee-start-menu);
  border-top: 1px solid #0831d9;
  border-left: 1px solid #0831d9;
  border-right: 1px solid #001ea0;
}

/* Role and bot badge backgrounds */
.profile .profile-header .basic-info .namerole .role,
.profile .profile-header .basic-info .namerole .bot-username-wrapper .bot-legend-wrapper {
  background: black;
}

/* Profile fields */
.profile .about-user .fields {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}
.profile .about-user .fields dt,
.profile .about-user .fields dd {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.profile .about-user .fields .field {
  background: var(--ecks-pee-dark-blue);
  border-bottom: var(--ecks-pee-dotted-trim);
}
.profile .about-user .fields .field:first-child {
  border-top: none;
}

/* Profile bio */
.profile .about-user .bio {
  background: var(--ecks-pee-dark-blue);
}

/* Profile stats */
.accountstats {
  border-top: var(--ecks-pee-dotted-trim);
}

/* Status text */
.status .text {
  padding: 0.5rem;
  background: var(--ecks-pee-beige);
  border: 0.2rem inset var(--ecks-pee-darker-beige);

  color: black;
  text-shadow: none;
  --link-fg: var(--ecks-pee-darkest-blue);
}

/* Status media */
.status .media .media-wrapper {
  border: 0.1rem solid black;
}
.status .media .media-wrapper details .unknown-attachment .placeholder {
  color: var(--blue2);
}
.status .media .media-wrapper details video.plyr-video {
  background: black;
}

/* Status polls */
.status .text .poll {
  background-color: var(--ecks-pee-beige);
  border: 0.1rem solid var(--ecks-pee-darker-beige);
  border-radius: 0;
}
.status .text .poll .poll-info {
  background: var(--ecks-pee-beige);
  border: 0.1rem solid var(--ecks-pee-darker-beige);
  border-radius: 0;
}

/* Code snippets */
pre, pre[class*="language-"],
code, code[class*="language-"] {
	background: black;
  color: var(--ecks-pee-white);
  border-radius: 0;
}

/* Block quotes */
blockquote {
  padding: 0.5rem;
  background: var(--ecks-pee-beige);
  border-top: 0.1rem solid var(--ecks-pee-darker-beige);
  border-right: 0.1rem solid var(--ecks-pee-darker-beige);
  border-bottom: 0.1rem solid var(--ecks-pee-darker-beige);
  border-radius: 0;
}

/* Cheeky little border */
.status-info {
  border-top: 1px solid #0831d9;
  border-left: 1px solid #0831d9;
  border-right: 1px solid #001ea0;
}

/* Status info dropdown button */
.status .status-info .status-stats details.stats-more-info > summary {
  color: var(--button-fg);
  background: var(--ecks-pee-start-button);
  border-left: 1px solid var(--ecks-pee-darkest-green);
  border-right: 1px solid var(--ecks-pee-darkest-green);
}
.status .status-info .status-stats details.stats-more-info > summary:hover {
  outline: 0;
  background: var(--ecks-pee-light-green);
}

/* Status info dropdown content */
.status .status-info .status-stats .stats-more-info-content,
.status.expanded .status-info .status-stats .stats-more-info-content {
  color: black;
  text-shadow: none;
  background: var(--ecks-pee-beige);
  border: 0.2rem outset var(--ecks-pee-darker-beige);
  border-radius: 0;
}
.status .status-info .status-stats .stats-item.edit-timeline {
  border-top: var(--ecks-pee-dotted-trim);
}

/* Button stuff */
button, .button {
  border-left: 1px solid var(--ecks-pee-darkest-green);
  border-right: 1px solid var(--ecks-pee-darkest-green);
}
/* Differentiate start button on hover */
button:hover, .button:hover {
  background: var(--ecks-pee-light-green);
}

/* Make these bold or they don't contrast enough */
.backnextlinks {
  font-weight: bold;
}