2022-12-23 22:47:13 +00:00
|
|
|
html {
|
2022-12-23 23:19:17 +00:00
|
|
|
font-size: var(--font-size, 15px);
|
2022-12-23 22:47:13 +00:00
|
|
|
}
|
|
|
|
|
2022-12-09 16:32:09 +00:00
|
|
|
@font-face {
|
|
|
|
font-display: swap;
|
2022-12-27 18:37:22 +00:00
|
|
|
font-family: 'DM Mono';
|
2022-12-09 16:32:09 +00:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2022-12-27 18:37:22 +00:00
|
|
|
src: url(/fonts/DM-mono-v10.ttf) format('truetype');
|
2022-12-09 16:32:09 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-display: swap;
|
2022-12-27 18:37:22 +00:00
|
|
|
font-family: 'DM Sans';
|
2022-12-09 16:32:09 +00:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2022-12-27 18:37:22 +00:00
|
|
|
src: url(/fonts/DM-sans-v11.ttf) format('truetype');
|
2022-12-09 16:32:09 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-display: swap;
|
2022-12-27 18:37:22 +00:00
|
|
|
font-family: 'DM Serif Display';
|
2022-12-09 16:32:09 +00:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2022-12-27 18:37:22 +00:00
|
|
|
src: url(/fonts/DM-serif-display-v10.ttf) format('truetype');
|
2022-12-09 16:32:09 +00:00
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-display: swap;
|
2022-12-27 18:37:22 +00:00
|
|
|
font-family: 'Homemade Apple';
|
2022-12-09 16:32:09 +00:00
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
2022-12-27 18:37:22 +00:00
|
|
|
src: url(/fonts/homemade-apple-v18.ttf) format('truetype');
|
|
|
|
}
|
|
|
|
@font-face {
|
|
|
|
font-display: swap;
|
|
|
|
font-family: 'EmojiMart';
|
|
|
|
src: url('/fonts/seguiemj.ttf') format('truetype');
|
2022-12-09 16:32:09 +00:00
|
|
|
}
|
|
|
|
|
2022-11-15 16:39:25 +00:00
|
|
|
* {
|
2022-11-24 03:42:03 +00:00
|
|
|
scrollbar-color: #8885 var(--c-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-23 02:16:31 +00:00
|
|
|
background: var(--c-border);
|
2022-11-15 17:14:10 +00:00
|
|
|
border-radius: 1px;
|
2022-11-15 16:39:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb {
|
2022-11-24 03:42:03 +00:00
|
|
|
background: #8885;
|
2022-11-15 17:14:10 +00:00
|
|
|
border-radius: 1px;
|
2022-11-15 16:39:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
2022-11-24 03:42:03 +00:00
|
|
|
background: #8886;
|
2022-11-15 17:14:10 +00:00
|
|
|
}
|
2022-11-20 21:30:21 +00:00
|
|
|
|
2022-12-04 19:06:02 +00:00
|
|
|
::-moz-selection {
|
2022-11-25 13:21:02 +00:00
|
|
|
background: var(--c-bg-selection);
|
|
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
|
|
background: var(--c-bg-selection);
|
|
|
|
}
|
|
|
|
|
2022-11-20 21:30:21 +00:00
|
|
|
/* Force vertical scrollbar to be always visible to avoid layout shift while loading the content */
|
2022-11-29 23:04:37 +00:00
|
|
|
body {
|
2022-11-20 21:30:21 +00:00
|
|
|
overflow-y: scroll;
|
2022-12-11 10:52:36 +00:00
|
|
|
-webkit-tap-highlight-color: transparent;
|
2022-11-21 07:14:07 +00:00
|
|
|
}
|
|
|
|
|
2022-11-25 13:21:02 +00:00
|
|
|
.zen .zen-hide {
|
2022-12-04 19:06:02 +00:00
|
|
|
--at-apply: 'op0 hover:op100 transition duration-600';
|
2022-11-25 13:21:02 +00:00
|
|
|
}
|
|
|
|
|
2022-11-21 07:14:07 +00:00
|
|
|
.custom-emoji {
|
|
|
|
display: inline-block;
|
2022-12-04 14:14:12 +00:00
|
|
|
overflow: hidden;
|
2022-11-30 05:58:38 +00:00
|
|
|
max-height: 1.3em;
|
|
|
|
max-width: 1.3em;
|
|
|
|
vertical-align: text-bottom;
|
2022-11-21 07:14:07 +00:00
|
|
|
}
|
|
|
|
|
2022-11-25 13:21:02 +00:00
|
|
|
.content-rich {
|
2022-12-25 15:26:43 +00:00
|
|
|
line-height: calc(4 / 3 * 1em);
|
2022-12-08 05:56:22 +00:00
|
|
|
overflow-wrap: break-word;
|
|
|
|
|
2022-11-21 07:14:07 +00:00
|
|
|
a {
|
2022-12-04 19:06:02 +00:00
|
|
|
--at-apply: 'text-primary hover:underline hover:text-primary-active';
|
2022-11-21 07:14:07 +00:00
|
|
|
.invisible {
|
2022-12-04 19:06:02 +00:00
|
|
|
--at-apply: 'hidden';
|
2022-11-21 07:14:07 +00:00
|
|
|
}
|
|
|
|
.ellipsis {
|
2022-12-23 10:32:00 +00:00
|
|
|
--at-apply: 'line-clamp-1 ws-pre-wrap break-all inline';
|
2022-11-25 17:33:40 +00:00
|
|
|
&::after {
|
|
|
|
content: '…';
|
|
|
|
}
|
2022-11-21 07:14:07 +00:00
|
|
|
}
|
|
|
|
}
|
2022-12-27 18:37:22 +00:00
|
|
|
b,
|
|
|
|
strong {
|
2022-11-21 07:14:07 +00:00
|
|
|
--at-apply: font-bold;
|
|
|
|
}
|
|
|
|
p {
|
2022-12-23 21:53:21 +00:00
|
|
|
--at-apply: my-1;
|
2022-11-21 07:14:07 +00:00
|
|
|
}
|
2022-11-30 04:50:29 +00:00
|
|
|
code {
|
2022-11-30 07:38:25 +00:00
|
|
|
--at-apply: bg-code text-code px1 py0.5 rounded text-0.9em leading-0.8em;
|
2022-11-30 04:50:29 +00:00
|
|
|
}
|
|
|
|
pre code {
|
2022-12-13 13:02:43 +00:00
|
|
|
--at-apply: bg-transparent px0 py0 rounded-none leading-1.6em;
|
2022-11-30 04:50:29 +00:00
|
|
|
}
|
2022-11-24 03:42:03 +00:00
|
|
|
|
|
|
|
.code-block {
|
2022-12-27 18:37:22 +00:00
|
|
|
--at-apply: font-mono bg-code text-base p3 mt-2 rounded overflow-auto
|
|
|
|
leading-1.6em;
|
2022-11-24 03:42:03 +00:00
|
|
|
|
|
|
|
.shiki {
|
|
|
|
background: transparent !important;
|
|
|
|
}
|
|
|
|
}
|
2022-11-21 07:14:07 +00:00
|
|
|
}
|
2022-11-24 04:21:30 +00:00
|
|
|
|
2022-11-25 13:21:02 +00:00
|
|
|
.content-editor {
|
2022-11-30 04:50:29 +00:00
|
|
|
--at-apply: outline-none flex-1;
|
2022-12-06 16:37:58 +00:00
|
|
|
max-width: 100%;
|
2022-12-27 21:08:40 +00:00
|
|
|
|
|
|
|
.custom-emoji {
|
|
|
|
margin: 0 0.2em;
|
|
|
|
}
|
2022-11-24 04:21:30 +00:00
|
|
|
}
|
2022-11-27 05:02:19 +00:00
|
|
|
|
|
|
|
.skeleton-loading-bg {
|
2022-12-04 19:06:02 +00: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 05:02:19 +00:00
|
|
|
background-size: 400% 100%;
|
|
|
|
animation: skeleton-loading 1.4s ease infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes skeleton-loading {
|
|
|
|
0% {
|
2022-12-04 19:06:02 +00:00
|
|
|
background-position: 100% 50%;
|
2022-11-27 05:02:19 +00:00
|
|
|
}
|
|
|
|
to {
|
2022-12-04 19:06:02 +00:00
|
|
|
background-position: 0 50%;
|
2022-11-27 05:02:19 +00:00
|
|
|
}
|
|
|
|
}
|
2022-11-28 09:01:14 +00:00
|
|
|
|
2022-12-27 18:37:22 +00:00
|
|
|
html,
|
|
|
|
body,
|
|
|
|
#__nuxt {
|
2022-11-28 09:01:14 +00:00
|
|
|
height: 100vh;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
html.dark {
|
|
|
|
color-scheme: dark;
|
|
|
|
}
|
|
|
|
|
|
|
|
html {
|
|
|
|
--at-apply: bg-base text-base;
|
|
|
|
}
|
2022-11-29 16:27:35 +00:00
|
|
|
|
|
|
|
body {
|
|
|
|
/* Prevent arbitrary zooming on mobile devices */
|
|
|
|
touch-action: pan-x pan-y;
|
|
|
|
}
|
2022-12-11 10:52:36 +00:00
|
|
|
|
|
|
|
.sparkline--fill {
|
|
|
|
fill: var(--c-primary-active);
|
|
|
|
opacity: 0.2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sparkline--line {
|
|
|
|
stroke: var(--c-primary);
|
|
|
|
stroke-width: 2;
|
|
|
|
}
|
2022-12-23 19:15:19 +00:00
|
|
|
|
2023-01-01 14:29:11 +00:00
|
|
|
html[dir="rtl"] .rtl-flip {
|
|
|
|
transform: scale(-1, 1)
|
|
|
|
}
|
|
|
|
|
2022-12-23 19:15:19 +00:00
|
|
|
em-emoji-picker {
|
|
|
|
--border-radius: 0;
|
|
|
|
}
|
2022-12-27 18:37:22 +00:00
|
|
|
em-emoji {
|
|
|
|
font-size: 1.2em;
|
|
|
|
line-height: 1em;
|
|
|
|
}
|
2022-12-26 19:33:19 +00:00
|
|
|
|
|
|
|
footer {
|
|
|
|
a {
|
|
|
|
--at-apply: 'hover:underline';
|
|
|
|
}
|
|
|
|
}
|