Adjust Following and Followers for better visibility
Cara KABA Style by KABA
Details
AuthorKABA
LicenseNo License
Categorycara
Created
Updated
Size1.7 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name Cara KABA Style
@version 0.0.1
@namespace cara.app
==/UserStyle== */
@-moz-document regexp("https://cara.app/.*/follow(ing|ers)") {
/* Following / Followers */
:root {
--primary: #eab308;
}
/* Container */
.flex.h-full.w-full.flex-col.border-zinc-800.bg-black.xs\:border-x.sm\:max-w-xl {
max-width: none;
}
/* Tabs */
.flex.w-full.justify-between.justify-items-stretch.border-t.border-solid.border-zinc-800.px-24.text-center.text-white {
gap: 2rem;
a:last-child {
margin-right: auto;
}
}
/* User list item */
.flex.h-max.w-full.max-w-xl.content-center.items-center.justify-between.bg-black {
--col: 8;
width: calc(100% / var(--col));
aspect-ratio: 1;
position: relative;
z-index: 0;
div:has(> &) {
flex-wrap: wrap;
flex-direction: row;
}
a {
width: 100%;
height: 100%;
li {
justify-content: center;
padding: 0;
width: 100%;
text-align: center;
div:has(img) {
position: absolute;
z-index: -1;
margin: 0;
width: 100%;
min-width: 0;
height: 100%;
}
}
img {
border-radius: 6px;
width: 100%;
height: 100%;
transition: .2s;
}
&:hover {
img { opacity: .5 }
}
}
button {
position: absolute;
inset: auto 50% 1rem;
translate: -50%;
background: var(--primary);
color: #000;
}
}
}