2022-12-24 01:47:13 +03:00
|
|
|
html {
|
2022-12-24 02:19:17 +03:00
|
|
|
font-size: var(--font-size, 15px);
|
2023-01-04 11:15:24 +03:00
|
|
|
width: 100%;
|
|
|
|
width: 100vw;
|
2023-08-09 14:46:26 +03:00
|
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
2022-12-24 01:47:13 +03:00
|
|
|
}
|
|
|
|
|
2022-12-09 19:32:09 +03:00
|
|
|
@font-face {
|
|
|
|
font-display: swap;
|
2022-12-27 21:37:22 +03:00
|
|
|
font-family: 'Homemade Apple';
|
2022-12-09 19:32:09 +03:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2022-12-27 21:37:22 +03:00
|
|
|
src: url(/fonts/homemade-apple-v18.ttf) format('truetype');
|
|
|
|
}
|
2022-12-09 19:32:09 +03:00
|
|
|
|
2022-12-04 22:06:02 +03:00
|
|
|
::-moz-selection {
|
2022-11-25 16:21:02 +03:00
|
|
|
background: var(--c-bg-selection);
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background: var(--c-bg-selection);
|
|
|
|
}
|
|
|
|
|
2022-11-21 00:30:21 +03:00
|
|
|
/* Force vertical scrollbar to be always visible to avoid layout shift while loading the content */
|
2022-11-30 02:04:37 +03:00
|
|
|
body {
|
2022-11-21 00:30:21 +03:00
|
|
|
overflow-y: scroll;
|
2022-12-11 13:52:36 +03:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
2022-11-21 10:14:07 +03:00
|
|
|
}
|
|
|
|
|
2022-11-25 16:21:02 +03:00
|
|
|
.zen .zen-hide {
|
2022-12-04 22:06:02 +03:00
|
|
|
--at-apply: 'op0 hover:op100 transition duration-600';
|
2022-11-25 16:21:02 +03:00
|
|
|
}
|
|
|
|
|
2023-01-13 03:08:56 +03:00
|
|
|
.zen .zen-none {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-02-25 14:10:03 +03:00
|
|
|
.content-editor img.custom-emoji,
|
2023-04-24 08:19:29 +03:00
|
|
|
.custom-emoji img,
|
2023-01-02 07:53:53 +03:00
|
|
|
.iconify-emoji {
|
|
|
|
display: inline-block;
|
2023-04-24 08:19:29 +03:00
|
|
|
height: 1.2em;
|
2024-10-28 21:26:41 +03:00
|
|
|
max-width: 100%;
|
2023-04-24 08:19:29 +03:00
|
|
|
margin-right: 0.075em;
|
|
|
|
margin-left: 0.075em;
|
|
|
|
object-fit: contain;
|
2023-01-02 07:53:53 +03:00
|
|
|
overflow: hidden;
|
2023-04-24 08:19:29 +03:00
|
|
|
vertical-align: -20%;
|
2023-01-02 07:53:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.iconify-emoji-padded {
|
|
|
|
transform: scale(1.2);
|
|
|
|
}
|
|
|
|
|
2023-01-03 16:27:55 +03:00
|
|
|
em-emoji-picker {
|
|
|
|
--border-radius: 0;
|
|
|
|
width: 352px;
|
|
|
|
}
|
|
|
|
|
2022-11-25 16:21:02 +03:00
|
|
|
.content-rich {
|
2022-12-08 08:56:22 +03:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
|
2022-11-21 10:14:07 +03:00
|
|
|
a {
|
2022-12-04 22:06:02 +03:00
|
|
|
--at-apply: 'text-primary hover:underline hover:text-primary-active';
|
2022-11-21 10:14:07 +03:00
|
|
|
.invisible {
|
2022-12-04 22:06:02 +03:00
|
|
|
--at-apply: 'hidden';
|
2022-11-21 10:14:07 +03:00
|
|
|
}
|
|
|
|
.ellipsis {
|
2022-12-23 13:32:00 +03:00
|
|
|
--at-apply: 'line-clamp-1 ws-pre-wrap break-all inline';
|
2022-11-25 20:33:40 +03:00
|
|
|
&::after {
|
|
|
|
content: '…';
|
|
|
|
}
|
2022-11-21 10:14:07 +03:00
|
|
|
}
|
|
|
|
}
|
2022-12-27 21:37:22 +03:00
|
|
|
b,
|
|
|
|
strong {
|
2022-11-21 10:14:07 +03:00
|
|
|
--at-apply: font-bold;
|
|
|
|
}
|
|
|
|
p {
|
2023-01-03 14:58:53 +03:00
|
|
|
--at-apply: my-2;
|
|
|
|
}
|
|
|
|
p:first-child {
|
|
|
|
--at-apply: mt-1;
|
|
|
|
}
|
|
|
|
p:last-child {
|
|
|
|
--at-apply: mb-1;
|
2022-11-21 10:14:07 +03:00
|
|
|
}
|
2024-03-18 14:34:03 +03:00
|
|
|
pre {
|
|
|
|
--at-apply: whitespace-pre-wrap;
|
|
|
|
}
|
2022-11-30 07:50:29 +03:00
|
|
|
code {
|
2023-01-06 12:40:11 +03:00
|
|
|
--at-apply: bg-code text-code px1 py0.5 rounded text-0.875em leading-0.8em;
|
2022-11-30 07:50:29 +03:00
|
|
|
}
|
|
|
|
pre code {
|
2022-12-13 16:02:43 +03:00
|
|
|
--at-apply: bg-transparent px0 py0 rounded-none leading-1.6em;
|
2022-11-30 07:50:29 +03:00
|
|
|
}
|
2023-01-14 13:40:53 +03:00
|
|
|
ol {
|
|
|
|
--at-apply: list-decimal my-3 pl-6 ml-2;
|
|
|
|
}
|
|
|
|
ul {
|
|
|
|
--at-apply: list-disc my-3 pl-6 ml-2;
|
|
|
|
}
|
|
|
|
li {
|
|
|
|
--at-apply: mt-1 mb-1;
|
|
|
|
&:empty {
|
|
|
|
--at-apply: hidden;
|
|
|
|
}
|
|
|
|
}
|
2023-01-16 15:50:39 +03:00
|
|
|
ol > li {
|
2023-01-14 13:40:53 +03:00
|
|
|
--at-apply: pl-2;
|
|
|
|
}
|
2023-01-16 15:50:39 +03:00
|
|
|
ul > li {
|
2023-01-14 13:40:53 +03:00
|
|
|
--at-apply: pl-2;
|
|
|
|
}
|
2024-04-03 07:17:52 +03:00
|
|
|
blockquote {
|
|
|
|
--at-apply: border-primary border-l-4 border-solid pl-3 my-3 text-secondary;
|
|
|
|
}
|
2022-11-24 06:42:03 +03:00
|
|
|
.code-block {
|
2023-01-18 17:39:23 +03:00
|
|
|
--at-apply: bg-code text-0.875em p3 mt-2 rounded overflow-auto
|
2022-12-27 21:37:22 +03:00
|
|
|
leading-1.6em;
|
2022-11-24 06:42:03 +03:00
|
|
|
|
|
|
|
.shiki {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
2022-11-21 10:14:07 +03:00
|
|
|
}
|
2022-11-24 07:21:30 +03:00
|
|
|
|
2023-01-03 14:35:31 +03:00
|
|
|
.line-compact {
|
|
|
|
line-height: calc(4 / 3 * 1em);
|
|
|
|
}
|
|
|
|
|
2022-11-25 16:21:02 +03:00
|
|
|
.content-editor {
|
2022-11-30 07:50:29 +03:00
|
|
|
--at-apply: outline-none flex-1;
|
2022-12-06 19:37:58 +03:00
|
|
|
max-width: 100%;
|
2022-12-28 00:08:40 +03:00
|
|
|
|
|
|
|
.custom-emoji {
|
|
|
|
margin: 0 0.2em;
|
|
|
|
}
|
2023-01-08 00:51:22 +03:00
|
|
|
|
|
|
|
p {
|
|
|
|
--at-apply: my-0;
|
|
|
|
line-height: calc(4 / 3 * 1em);
|
|
|
|
}
|
|
|
|
p:first-child {
|
|
|
|
--at-apply: mt-1;
|
|
|
|
}
|
|
|
|
p:last-child {
|
|
|
|
--at-apply: mb-1;
|
|
|
|
}
|
2022-11-24 07:21:30 +03:00
|
|
|
}
|
2022-11-27 08:02:19 +03:00
|
|
|
|
|
|
|
.skeleton-loading-bg {
|
2022-12-04 22:06:02 +03:00
|
|
|
background: linear-gradient(
|
|
|
|
90deg,
|
|
|
|
rgba(190, 190, 190, 0.2) 25%,
|
|
|
|
rgba(129, 129, 129, 0.24) 37%,
|
|
|
|
rgba(190, 190, 190, 0.2) 63%
|
|
|
|
);
|
2022-11-27 08:02:19 +03:00
|
|
|
background-size: 400% 100%;
|
|
|
|
animation: skeleton-loading 1.4s ease infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes skeleton-loading {
|
|
|
|
0% {
|
2022-12-04 22:06:02 +03:00
|
|
|
background-position: 100% 50%;
|
2022-11-27 08:02:19 +03:00
|
|
|
}
|
|
|
|
to {
|
2022-12-04 22:06:02 +03:00
|
|
|
background-position: 0 50%;
|
2022-11-27 08:02:19 +03:00
|
|
|
}
|
|
|
|
}
|
2022-11-28 12:01:14 +03:00
|
|
|
|
2022-12-27 21:37:22 +03:00
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#__nuxt {
|
2023-07-29 21:45:30 +03:00
|
|
|
min-height: 100vh;
|
2022-11-28 12:01:14 +03:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html.dark {
|
|
|
|
color-scheme: dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
--at-apply: bg-base text-base;
|
|
|
|
}
|
2022-11-29 19:27:35 +03:00
|
|
|
|
2023-02-01 17:43:27 +03:00
|
|
|
html:not(.enable-pinch-to-zoom) body {
|
|
|
|
/* Prevent arbitrary zooming on mobile devices */
|
|
|
|
touch-action: pan-x pan-y;
|
|
|
|
}
|
|
|
|
|
2022-12-11 13:52:36 +03:00
|
|
|
.sparkline--fill {
|
|
|
|
fill: var(--c-primary-active);
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline--line {
|
|
|
|
stroke: var(--c-primary);
|
|
|
|
stroke-width: 2;
|
|
|
|
}
|
2022-12-23 22:15:19 +03:00
|
|
|
|
2023-01-01 17:29:11 +03:00
|
|
|
html[dir="rtl"] .rtl-flip {
|
|
|
|
transform: scale(-1, 1)
|
|
|
|
}
|
|
|
|
|
2022-12-26 22:33:19 +03:00
|
|
|
footer {
|
|
|
|
a {
|
|
|
|
--at-apply: 'hover:underline';
|
|
|
|
}
|
|
|
|
}
|
2023-01-11 11:39:49 +03:00
|
|
|
|
|
|
|
.squircle {
|
|
|
|
clip-path: url(#avatar-mask);
|
|
|
|
}
|
2023-01-17 15:55:36 +03:00
|
|
|
|
2023-01-30 16:32:27 +03:00
|
|
|
/*
|
|
|
|
Grayscale mode
|
2023-01-17 15:55:36 +03:00
|
|
|
Setting each element filter to a different var
|
|
|
|
allows controlling them individually
|
|
|
|
*/
|
|
|
|
[data-mode="grayscale"] img,
|
|
|
|
[data-mode="grayscale"] video {
|
|
|
|
filter: grayscale(var(--media-grayscale, 1));
|
|
|
|
transition: filter .23s ease-in-out .2s;
|
|
|
|
}
|
|
|
|
[data-mode="grayscale"] pre {
|
|
|
|
filter: grayscale(var(--code-grayscale, 1));
|
|
|
|
}
|
|
|
|
[data-mode="grayscale"] .poll-wrapper {
|
|
|
|
filter: grayscale(var(--poll-grayscale, 1));
|
|
|
|
}
|
2023-01-30 16:32:27 +03:00
|
|
|
[data-mode="grayscale"] .status-actions,
|
2023-01-17 15:55:36 +03:00
|
|
|
[data-mode="grayscale"] .status-boosted {
|
|
|
|
filter: grayscale(var(--status-grayscale, 1));
|
|
|
|
}
|
|
|
|
|
|
|
|
[data-mode="grayscale"] img:hover,
|
|
|
|
[data-mode="grayscale"] video:hover {
|
|
|
|
filter: grayscale(0);
|
2023-01-18 17:39:23 +03:00
|
|
|
}
|
2024-09-07 12:37:01 +03:00
|
|
|
|
|
|
|
.nuxt-loading-indicator {
|
|
|
|
opacity: unset !important;
|
|
|
|
}
|