Slopmuks
Commit info
Committed 2026-11-22 at 01:32:55 UTC by @hexa:lossy.network
Description
Inspired by https://slopstrap.mikelacher.com/
Previews
Code
To use this theme, paste the following import at the top of your custom CSS.
Optionally, you can replace https://css.gomuks.app with _gomuks to proxy the request
through the gomuks backend with caching. When using a specific commit, the backend caches the CSS forever and
will never re-request from upstream.
@import url("https://css.gomuks.app/theme/slopmuks/commit/1.css");
Full CSS
/*
SLOPMUKS
Slopstrap-inspired gomuks CSS
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
:root {
color-scheme: dark;
--s-purple: #a855f7;
--s-violet: #7c3aed;
--s-pink: #ec4899;
--s-magenta: #d946ef;
--s-blue: #6366f1;
--s-cyan: #22d3ee;
--s-white: #faf5ff;
--s-rainbow: linear-gradient(
110deg,
#a855f7,
#ec4899,
#f97316,
#eab308,
#22c55e,
#22d3ee,
#6366f1,
#a855f7
);
--s-neon: linear-gradient(
135deg,
#c084fc,
#e879f9 35%,
#818cf8 70%,
#22d3ee
);
--background-color: #090612;
--text-color: #f7edff;
--secondary-text-color: #aa96bb;
--semisecondary-text-color: #d1c0df;
--border-color: #63368a;
--primary-color: #c084fc;
--primary-color-dark: #9333ea;
--link-text-color: #67e8f9;
--visited-link-text-color: #d8b4fe;
--room-list-background: #10091b;
--room-list-background-overlay: #170d24;
--room-list-search-background-overlay: #21122f;
--space-list-background-overlay: #11091c;
--room-list-entry-hover-color: #a855f722;
--room-list-entry-selected-color: #9333ea44;
--room-list-scrollbar-color: #c084fc transparent;
--composer-background-color: #1d102a;
--message-bubble-background-color: #21132f;
--message-mention-background-color: #572879;
--message-mention-background-color-hover: #743a9c;
--timeline-hover-bg-color: #a855f718;
--timeline-highlight-bg-color: #d946ef22;
--timeline-highlight-hover-bg-color: #d946ef44;
--timeline-jump-bg-color: #22d3ee22;
--timeline-jump-hover-bg-color: #22d3ee44;
--timeline-avatar-size: 2.25rem;
--timeline-message-gap: .5rem;
--timeline-vertical-padding: .2rem;
--sender-color-0: #fb7185;
--sender-color-1: #c084fc;
--sender-color-2: #22d3ee;
--sender-color-3: #f472b6;
--sender-color-4: #a78bfa;
--sender-color-5: #34d399;
--sender-color-6: #60a5fa;
--sender-color-7: #e879f9;
--sender-color-8: #fbbf24;
--sender-color-9: #2dd4bf;
--font-stack: "Inter", sans-serif;
--message-font: "Inter", sans-serif;
--monospace-font-stack: "JetBrains Mono", monospace;
}
/* ==========================================
ANIMATION ENGINE
========================================== */
@keyframes slop-gradient {
to { background-position: 300% center; }
}
@keyframes slop-glow {
0%, 100% {
filter: brightness(1);
box-shadow: 0 0 10px #a855f755, 0 0 25px #9333ea22;
}
50% {
filter: brightness(1.3);
box-shadow: 0 0 18px #ec489977, 0 0 40px #9333ea44;
}
}
@keyframes slop-shimmer {
from { background-position: -200% center; }
to { background-position: 200% center; }
}
@keyframes slop-float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-5px); }
}
@keyframes slop-pulse {
0%, 100% { opacity: .65; }
50% { opacity: 1; }
}
@keyframes slop-orbit {
to { transform: rotate(360deg); }
}
/* ==========================================
GLOBAL BACKGROUND
========================================== */
html {
background: #090612;
scrollbar-color: #a855f7 #11091c;
scrollbar-width: thin;
}
body {
background:
radial-gradient(ellipse at 15% 5%,
#9333ea30, transparent 38%),
radial-gradient(ellipse at 85% 15%,
#ec489925, transparent 38%),
radial-gradient(ellipse at 80% 90%,
#0891b225, transparent 40%),
radial-gradient(ellipse at 40% 50%,
#6366f110, transparent 55%),
#090612 !important;
color: var(--text-color);
}
main.matrix-main {
background: transparent !important;
}
* {
font-family: var(--font-stack) !important;
}
/* ==========================================
SIDEBAR - THE SLOP RAIL
========================================== */
div.room-list-wrapper {
background:
radial-gradient(ellipse at 0% 0%,
#a855f728, transparent 50%),
linear-gradient(180deg,
#180d27,
#0e0919 65%,
#170d26) !important;
border-right: 1px solid #a855f766 !important;
box-shadow:
5px 0 25px #0008,
1px 0 20px #a855f722;
}
div.space-bar {
background:
linear-gradient(180deg,
#1c1030,
#10091c,
#1c102b) !important;
border-right: 1px solid #8b5cf655 !important;
}
/* Sidebar decorative frame */
div.room-list-wrapper::before {
content: "";
position: absolute;
inset: 5px 5px 5px auto;
width: calc(100% - 4rem);
pointer-events: none;
z-index: 0;
border: 1px solid #a855f722;
border-radius: 15px;
box-shadow:
inset 0 0 30px #9333ea12,
0 0 20px #a855f711;
}
/* ==========================================
SPACE ICONS
========================================== */
div.space-entry {
border: 1px solid #a855f766 !important;
border-radius: 14px !important;
background: linear-gradient(
145deg,
#39204f,
#171027
) !important;
box-shadow:
0 3px 12px #0009,
0 0 10px #9333ea22;
transition: all .22s ease !important;
}
div.space-entry:hover {
transform: translateY(-3px) scale(1.06);
border-color: #f0abfc !important;
box-shadow:
0 0 12px #d946efaa,
0 0 28px #a855f766;
}
div.space-bar > div.space-entry.active {
background: linear-gradient(
135deg,
#9333ea,
#ec4899
) !important;
border-color: #f0abfc !important;
box-shadow:
0 0 0 2px #10091b,
0 0 0 3px #e879f9,
0 0 18px #d946efaa;
}
/* ==========================================
ROOM SEARCH
========================================== */
div.room-search-wrapper {
background: linear-gradient(
120deg,
#251331,
#191027,
#152033
) !important;
border: 1px solid #a855f799 !important;
border-radius: 13px !important;
box-shadow:
0 0 12px #9333ea33,
inset 0 1px #ffffff18;
}
div.room-search-wrapper > input {
background: transparent !important;
color: #fff !important;
border: none !important;
}
div.room-search-wrapper:focus-within {
border-color: #f0abfc !important;
box-shadow:
0 0 12px #d946ef88,
0 0 35px #a855f744;
}
/* ==========================================
ROOM LIST
========================================== */
div.room-list {
background: transparent !important;
}
div.room-entry {
border: 1px solid transparent;
border-radius: 12px !important;
margin: 3px 5px;
transition: all .2s ease !important;
}
div.room-entry:hover {
background: linear-gradient(
110deg,
#9333ea44,
#ec489922,
#22d3ee18
) !important;
border-color: #a855f755;
transform: translateX(3px);
box-shadow:
0 0 12px #a855f722,
inset 0 0 15px #d946ef0d;
}
div.room-entry.active {
background: linear-gradient(
105deg,
#9333ea66,
#d946ef3d 55%,
#0891b233
) !important;
border: 1px solid #d8a2ff99 !important;
border-left: 3px solid #e879f9 !important;
box-shadow:
0 0 12px #a855f744,
0 0 25px #9333ea22,
inset 0 0 20px #a855f711;
}
div.room-entry.active > div.room-name {
color: #f0abfc;
font-weight: 800;
}
img.room-avatar {
border: 1px solid #b56cf7aa;
border-radius: 9px !important;
box-shadow: 0 0 9px #a855f755;
transition: .2s ease;
}
div.room-entry:hover img.room-avatar {
box-shadow: 0 0 15px #ec4899aa;
transform: scale(1.05);
}
/* ==========================================
MAIN CHAT WINDOW
========================================== */
div.room-view,
div.right-panel {
margin: 5px 5px 5px 0;
background:
radial-gradient(ellipse at 50% 0%,
#9333ea22, transparent 52%),
radial-gradient(ellipse at 95% 80%,
#0891b21a, transparent 48%),
radial-gradient(ellipse at 10% 100%,
#ec48991a, transparent 42%),
linear-gradient(145deg,
#100919,
#0a0711 55%,
#10091b) !important;
border: 1px solid #a855f755;
border-radius: 13px;
box-shadow:
inset 0 0 35px #9333ea0b,
0 0 25px #0008;
}
/* Animated rainbow frame */
div.room-view::before {
content: "";
position: absolute;
inset: -1px;
border-radius: 13px;
padding: 1px;
background: linear-gradient(
120deg,
#a855f7,
#ec4899,
#6366f1,
#22d3ee,
#a855f7
);
background-size: 300% 300%;
animation: slop-gradient 9s linear infinite;
pointer-events: none;
opacity: .55;
-webkit-mask:
linear-gradient(#fff 0 0) content-box,
linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
}
/* ==========================================
TOP HEADER
========================================== */
div.room-header {
position: relative;
background: linear-gradient(
105deg,
#241231f2,
#191027f2 50%,
#111a2df2
) !important;
backdrop-filter: blur(24px) saturate(170%);
border-bottom: 1px solid #b56cf777 !important;
box-shadow:
0 5px 25px #0008,
0 1px 20px #9333ea22;
}
/* Rainbow header underline */
div.room-header::after {
content: "";
position: absolute;
bottom: -1px;
left: 0;
right: 0;
height: 2px;
background: var(--s-rainbow);
background-size: 300% auto;
animation: slop-gradient 5s linear infinite;
}
/* Room title */
div.room-header > div.room-name-and-topic > div.room-name {
font-weight: 900 !important;
letter-spacing: -.035em;
color: #f0abfc !important;
text-shadow:
0 0 8px #d946ef99,
0 0 20px #a855f766;
}
/* ==========================================
CHAT TIMELINE
========================================== */
div.room-view div.timeline-view {
background:
linear-gradient(#ffffff06 1px, transparent 1px),
linear-gradient(90deg, #ffffff06 1px, transparent 1px);
background-size: 42px 42px;
background-position: center center;
}
.timeline-event {
transition: background .18s ease;
}
.timeline-event:hover {
background: #a855f710 !important;
}
/* Bubble styling */
.timeline-event:not(.small-event) .event-content {
border-radius: 13px !important;
background: linear-gradient(
130deg,
#251735,
#171226
);
border: 1px solid #a855f72a;
box-shadow:
0 3px 12px #0005,
inset 0 1px #ffffff0b;
transition: all .2s ease;
}
.timeline-event:not(.small-event):hover .event-content {
border-color: #b56cf766;
box-shadow:
0 0 12px #9333ea22,
0 0 25px #ec489911;
}
/* Sender names */
.event-sender-and-time > span.event-sender {
font-weight: 900;
text-shadow: 0 0 12px currentColor;
}
/* Avatars */
img.avatar {
border-radius: 25% !important;
border: 2px solid #b56cf7 !important;
box-shadow:
0 0 8px #a855f799,
0 0 20px #9333ea55;
transition: all .2s ease;
}
img.avatar:hover {
transform: scale(1.1) rotate(-4deg);
box-shadow:
0 0 12px #ec4899,
0 0 30px #a855f7;
}
/* ==========================================
MESSAGE COMPOSER
========================================== */
div.message-composer {
background: linear-gradient(
115deg,
#291438,
#1b112a 45%,
#142035
) !important;
border: 1px solid #bd76fa !important;
border-radius: 17px !important;
box-shadow:
0 0 12px #a855f766,
0 0 30px #9333ea33,
0 0 55px #ec489911,
inset 0 1px #ffffff22;
transition: all .25s ease;
}
div.message-composer:focus-within {
border-color: #f0abfc !important;
animation: slop-glow 3s ease-in-out infinite;
box-shadow:
0 0 15px #d946efaa,
0 0 35px #a855f777,
0 0 60px #22d3ee22;
}
.message-composer textarea {
color: #fff !important;
}
.message-composer textarea::placeholder {
color: #b39abd !important;
}
/* Composer toolbar */
.message-composer button:hover {
color: #f0abfc !important;
filter: drop-shadow(0 0 7px #d946ef);
}
/* ==========================================
BUTTONS
========================================== */
button {
transition: all .2s ease !important;
border-radius: 10px;
}
button:hover {
border-color: #d946ef !important;
box-shadow:
0 0 10px #a855f766,
0 0 25px #9333ea33;
filter: brightness(1.2);
}
button:active {
transform: scale(.96);
}
/* ==========================================
REACTIONS
========================================== */
.event-reactions > * {
background: linear-gradient(
110deg,
#321644,
#241638
) !important;
border: 1px solid #a855f777 !important;
border-radius: 999px !important;
box-shadow: 0 0 10px #9333ea33;
transition: all .2s ease;
}
.event-reactions > *:hover {
border-color: #22d3ee !important;
box-shadow:
0 0 12px #22d3eeaa,
0 0 25px #22d3ee44;
transform: translateY(-2px);
}
/* ==========================================
LINKS & MENTIONS
========================================== */
a {
color: #67e8f9;
text-decoration-color: #22d3ee88;
transition: all .2s ease;
}
a:hover {
color: #f0abfc;
text-shadow: 0 0 12px #d946ef99;
}
.hicli-matrix-uri-user,
.hicli-matrix-uri-user-id,
.hicli-matrix-uri-room-alias,
.hicli-matrix-uri-room-id {
background: linear-gradient(
100deg,
#9333ea55,
#ec489933
) !important;
color: #f0abfc !important;
border: 1px solid #a855f777;
border-radius: 8px !important;
padding: 2px 7px !important;
box-shadow: 0 0 8px #9333ea33;
}
/* ==========================================
CODE BLOCKS
========================================== */
.html-body pre,
pre {
background: linear-gradient(
145deg,
#100a1b,
#10182a
) !important;
border: 1px solid #8b5cf799 !important;
border-left: 3px solid #ec4899 !important;
border-radius: 12px !important;
box-shadow:
0 0 18px #9333ea22,
inset 0 0 20px #22d3ee08;
}
code {
font-family: var(--monospace-font-stack) !important;
}
/* ==========================================
PROFILE PANEL
========================================== */
div.profile-switcher {
background: linear-gradient(
110deg,
#251332,
#11182b
) !important;
border-top: 1px solid #a855f766 !important;
box-shadow:
0 -5px 20px #0007,
0 0 15px #9333ea22;
}
/* ==========================================
SCROLLBARS
========================================== */
* {
scrollbar-color: #a855f7 #10091b;
scrollbar-width: thin;
}
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #10091b;
}
::-webkit-scrollbar-thumb {
background: linear-gradient(
180deg,
#a855f7,
#ec4899,
#22d3ee
);
border-radius: 99px;
}
/* ==========================================
SELECTION
========================================== */
::selection {
background: #c026d3bb;
color: white;
}
/* ==========================================
ACCESSIBILITY
========================================== */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation: none !important;
transition: none !important;
}
}
Comments
No comments yet.