elk/styles/global.css

56 lines
866 B
CSS
Raw Normal View History

2022-11-15 16:39:25 +00:00
* {
2022-11-15 17:14:10 +00:00
scrollbar-color: #5555 var(--color-border);
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar {
2022-11-15 17:14:10 +00:00
width: 10px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar:horizontal {
2022-11-15 17:14:10 +00:00
height: 10px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar-track {
2022-11-15 17:14:10 +00:00
background: var(--color-border);
border-radius: 1px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar-thumb {
2022-11-15 17:14:10 +00:00
background: #555;
border-radius: 1px;
2022-11-15 16:39:25 +00:00
}
::-webkit-scrollbar-thumb:hover {
2022-11-15 17:14:10 +00:00
background: #666;
}
/* Force vertical scrollbar to be always visible to avoid layout shift while loading the content */
html {
overflow-y: scroll;
2022-11-21 07:14:07 +00:00
}
.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;
}
}