forked from Mirrors/elk
56 lines
866 B
CSS
56 lines
866 B
CSS
* {
|
|
scrollbar-color: #5555 var(--color-border);
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar:horizontal {
|
|
height: 10px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--color-border);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: #555;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: #666;
|
|
}
|
|
|
|
/* Force vertical scrollbar to be always visible to avoid layout shift while loading the content */
|
|
html {
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.custom-emoji {
|
|
display: inline-block;
|
|
height: 1.2em;
|
|
width: 1.2em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.rich-content {
|
|
a {
|
|
--at-apply: text-primary hover:underline;
|
|
.invisible {
|
|
--at-apply: hidden;
|
|
}
|
|
.ellipsis {
|
|
--at-apply: truncate overflow-hidden ws-nowrap;
|
|
}
|
|
}
|
|
b {
|
|
--at-apply: font-bold;
|
|
}
|
|
p {
|
|
--at-apply: my-2;
|
|
}
|
|
}
|