2025-08-29 15:04:52 +05:30
|
|
|
@font-face {
|
|
|
|
|
font-family: Twemoji;
|
2026-05-21 23:30:50 -04:00
|
|
|
src:
|
|
|
|
|
url('../public/font/Twemoji.Mozilla.v15.1.0.woff2'),
|
2025-08-29 15:04:52 +05:30
|
|
|
url('../public/font/Twemoji.Mozilla.v15.1.0.ttf');
|
|
|
|
|
font-display: swap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:root {
|
|
|
|
|
--tc-link: hsl(213deg 100% 45%);
|
|
|
|
|
|
2026-05-23 22:51:56 -04:00
|
|
|
/* semantic surface vars used by poll, location, upload card, gif picker */
|
|
|
|
|
--bg-surface: #ffffff;
|
|
|
|
|
--bg-surface-low: rgba(0, 0, 0, 0.04);
|
2026-06-09 22:56:06 -04:00
|
|
|
--bg-surface-variant: rgba(0, 0, 0, 0.07);
|
2026-05-23 23:02:34 -04:00
|
|
|
--bg-surface-active: rgba(0, 0, 0, 0.1);
|
2026-05-23 22:51:56 -04:00
|
|
|
--bg-surface-border: rgba(0, 0, 0, 0.14);
|
|
|
|
|
--text-primary: #1a1a1a;
|
|
|
|
|
|
2025-08-29 15:04:52 +05:30
|
|
|
/* user mxid colors */
|
|
|
|
|
--mx-uc-1: hsl(208, 100%, 45%);
|
|
|
|
|
--mx-uc-2: hsl(302, 100%, 30%);
|
|
|
|
|
--mx-uc-3: hsl(163, 100%, 30%);
|
|
|
|
|
--mx-uc-4: hsl(343, 100%, 45%);
|
|
|
|
|
--mx-uc-5: hsl(24, 100%, 45%);
|
|
|
|
|
--mx-uc-6: hsl(181, 100%, 30%);
|
|
|
|
|
--mx-uc-7: hsl(242, 100%, 45%);
|
|
|
|
|
--mx-uc-8: hsl(94, 100%, 35%);
|
|
|
|
|
|
|
|
|
|
--font-emoji: 'Twemoji_DISABLED';
|
|
|
|
|
--font-secondary: 'InterVariable', var(--font-emoji), sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dark-theme,
|
|
|
|
|
.butter-theme {
|
|
|
|
|
--tc-link: hsl(213deg 100% 80%);
|
|
|
|
|
|
2026-05-23 22:51:56 -04:00
|
|
|
/* semantic surface vars — dark overrides */
|
|
|
|
|
--bg-surface: #25272e;
|
|
|
|
|
--bg-surface-low: rgba(255, 255, 255, 0.05);
|
2026-06-09 22:56:06 -04:00
|
|
|
--bg-surface-variant: rgba(255, 255, 255, 0.08);
|
2026-05-23 23:02:34 -04:00
|
|
|
--bg-surface-active: rgba(255, 255, 255, 0.1);
|
2026-05-23 22:51:56 -04:00
|
|
|
--bg-surface-border: rgba(255, 255, 255, 0.12);
|
|
|
|
|
--text-primary: #e0e5ed;
|
|
|
|
|
|
2025-08-29 15:04:52 +05:30
|
|
|
--mx-uc-1: hsl(208, 100%, 75%);
|
|
|
|
|
--mx-uc-2: hsl(301, 100%, 80%);
|
|
|
|
|
--mx-uc-3: hsl(163, 100%, 70%);
|
|
|
|
|
--mx-uc-4: hsl(343, 100%, 75%);
|
|
|
|
|
--mx-uc-5: hsl(24, 100%, 70%);
|
|
|
|
|
--mx-uc-6: hsl(181, 100%, 60%);
|
|
|
|
|
--mx-uc-7: hsl(243, 100%, 80%);
|
|
|
|
|
--mx-uc-8: hsl(94, 100%, 80%);
|
|
|
|
|
|
|
|
|
|
--font-secondary: 'InterVariable', var(--font-emoji), sans-serif;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html {
|
|
|
|
|
height: 100%;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
font-family: var(--font-secondary);
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
|
|
/*Why font-variant-ligatures => https://github.com/rsms/inter/issues/222 */
|
|
|
|
|
font-variant-ligatures: no-contextual;
|
|
|
|
|
}
|
|
|
|
|
#root {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
*,
|
|
|
|
|
*::before,
|
|
|
|
|
*::after {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
a {
|
|
|
|
|
color: var(--tc-link);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
a:hover {
|
|
|
|
|
text-decoration: underline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-mx-spoiler][aria-pressed='true'] a {
|
|
|
|
|
color: transparent;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
b {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
}
|
|
|
|
|
label {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
button,
|
|
|
|
|
textarea {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
color: inherit;
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
font-size: inherit;
|
|
|
|
|
font-weight: inherit;
|
|
|
|
|
line-height: inherit;
|
|
|
|
|
letter-spacing: inherit;
|
|
|
|
|
border: none;
|
|
|
|
|
}
|
|
|
|
|
button {
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
text-transform: none;
|
|
|
|
|
text-align: inherit;
|
|
|
|
|
overflow: visible;
|
|
|
|
|
-webkit-appearance: button;
|
|
|
|
|
}
|
|
|
|
|
textarea,
|
|
|
|
|
input,
|
|
|
|
|
input[type],
|
|
|
|
|
input[type='text'],
|
|
|
|
|
input[type='username'],
|
|
|
|
|
input[type='password'],
|
|
|
|
|
input[type='email'],
|
|
|
|
|
input[type='checkbox'] {
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
-moz-appearance: none;
|
|
|
|
|
appearance: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
|
color: inherit;
|
|
|
|
|
word-spacing: inherit;
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-23 23:01:13 -04:00
|
|
|
/* Caption input focus ring — replaces stripped outline */
|
|
|
|
|
[data-caption-input]:focus-visible {
|
|
|
|
|
border-color: rgba(0, 100, 200, 0.55);
|
|
|
|
|
box-shadow: 0 0 0 2px rgba(0, 100, 200, 0.18);
|
|
|
|
|
}
|
|
|
|
|
.dark-theme [data-caption-input]:focus-visible,
|
|
|
|
|
.butter-theme [data-caption-input]:focus-visible {
|
2026-05-23 23:02:34 -04:00
|
|
|
border-color: rgba(100, 160, 255, 0.6);
|
2026-05-23 23:01:13 -04:00
|
|
|
box-shadow: 0 0 0 2px rgba(100, 160, 255, 0.18);
|
|
|
|
|
}
|
|
|
|
|
|
2025-08-29 15:04:52 +05:30
|
|
|
audio:not([controls]) {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
2026-05-03 15:15:08 +03:00
|
|
|
|
2026-05-23 23:52:58 -04:00
|
|
|
@keyframes pttLivePulse {
|
|
|
|
|
0%,
|
|
|
|
|
100% {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
50% {
|
|
|
|
|
opacity: 0.25;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2026-05-03 15:15:08 +03:00
|
|
|
/* Fix Firefox rendering lists that have empty items with those items collapsed in on eachother */
|
|
|
|
|
li p::before {
|
|
|
|
|
content: '';
|
|
|
|
|
display: inline-block;
|
|
|
|
|
}
|