elk/styles/global.css

56 lines
866 B
CSS
Raw Normal View History

2022-11-15 17:39:25 +01:00
* {
2022-11-15 18:14:10 +01:00
scrollbar-color: #5555 var(--color-border);
2022-11-15 17:39:25 +01:00
}
::-webkit-scrollbar {
2022-11-15 18:14:10 +01:00
width: 10px;
2022-11-15 17:39:25 +01:00
}
::-webkit-scrollbar:horizontal {
2022-11-15 18:14:10 +01:00
height: 10px;
2022-11-15 17:39:25 +01:00
}
::-webkit-scrollbar-track {
2022-11-15 18:14:10 +01:00
background: var(--color-border);
border-radius: 1px;
2022-11-15 17:39:25 +01:00
}
::-webkit-scrollbar-thumb {
2022-11-15 18:14:10 +01:00
background: #555;
border-radius: 1px;
2022-11-15 17:39:25 +01:00
}
::-webkit-scrollbar-thumb:hover {
2022-11-15 18:14:10 +01: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 08:14:07 +01: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;
}
}