2020-01-29 20:37:25 +01:00
|
|
|
@charset "utf-8";
|
|
|
|
|
2023-09-27 04:47:39 +02:00
|
|
|
@font-face {
|
|
|
|
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
|
|
|
font-family: 'Lexend';
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: 400;
|
|
|
|
src: url('/static-assets/fonts/Lexend-VariableFont_wght.ttf') format('opentype');
|
|
|
|
}
|
|
|
|
|
2023-07-27 07:31:52 +02:00
|
|
|
/*
|
2024-02-13 16:59:27 +01:00
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 07:31:52 +02:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-01-29 20:37:25 +01:00
|
|
|
:root {
|
2023-10-31 19:44:34 +01:00
|
|
|
--radius-xs: 5px;
|
|
|
|
--radius-sm: 5px;
|
2023-09-30 21:53:52 +02:00
|
|
|
--radius: 5px;
|
2023-10-31 19:44:34 +01:00
|
|
|
--radius-md: 5px;
|
|
|
|
--radius-lg: 5px;
|
|
|
|
--radius-xl: 5px;
|
|
|
|
--radius-ellipse: 5px;
|
|
|
|
--radius-full: 5px;
|
|
|
|
|
2020-01-29 20:37:25 +01:00
|
|
|
--marginFull: 16px;
|
2020-07-11 03:13:11 +02:00
|
|
|
--marginHalf: 10px;
|
2020-01-29 20:37:25 +01:00
|
|
|
|
|
|
|
--margin: var(--marginFull);
|
2023-07-25 12:49:52 +02:00
|
|
|
|
|
|
|
// switch dynamically
|
|
|
|
--minBottomSpacingMobile: calc(72px + max(12px, env(safe-area-inset-bottom, 0px)));
|
|
|
|
--minBottomSpacing: var(--minBottomSpacingMobile);
|
2023-07-08 00:08:16 +02:00
|
|
|
|
2020-01-29 20:37:25 +01:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
--margin: var(--marginHalf);
|
|
|
|
}
|
2021-05-04 14:15:57 +02:00
|
|
|
|
2024-01-01 17:44:13 +01:00
|
|
|
--avatar: 48px;
|
|
|
|
--thread-width: 2px;
|
|
|
|
|
2021-05-04 14:15:57 +02:00
|
|
|
//--ad: rgb(255 169 0 / 10%);
|
2024-03-06 13:08:42 +01:00
|
|
|
--eventFollow: #36aed2;
|
|
|
|
--eventRenote: #36d298;
|
|
|
|
--eventReply: #007aff;
|
|
|
|
--eventReactionHeart: #dd2e44;
|
|
|
|
--eventReaction: #e99a0b;
|
|
|
|
--eventAchievement: #cb9a11;
|
|
|
|
--eventOther: #88a6b7;
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
|
2023-10-31 19:44:34 +01:00
|
|
|
html.radius-misskey {
|
|
|
|
--radius-xs: 4px;
|
|
|
|
--radius-sm: 8px;
|
|
|
|
--radius: 12px;
|
|
|
|
--radius-md: 16px;
|
|
|
|
--radius-lg: 24px;
|
|
|
|
--radius-xl: 32px;
|
|
|
|
--radius-ellipse: 999px;
|
|
|
|
--radius-full: 100%;
|
|
|
|
}
|
|
|
|
|
2020-10-17 13:12:00 +02:00
|
|
|
::selection {
|
2023-01-15 05:39:06 +01:00
|
|
|
color: var(--fgOnAccent);
|
2020-10-17 13:12:00 +02:00
|
|
|
background-color: var(--accent);
|
2023-07-08 00:08:16 +02:00
|
|
|
}
|
2020-01-29 20:37:25 +01:00
|
|
|
|
|
|
|
html {
|
|
|
|
background-color: var(--bg);
|
|
|
|
color: var(--fg);
|
2022-01-13 17:44:08 +01:00
|
|
|
accent-color: var(--accent);
|
2020-01-29 20:37:25 +01:00
|
|
|
overflow: auto;
|
2021-04-16 05:06:54 +02:00
|
|
|
overflow-wrap: break-word;
|
2023-12-14 14:58:07 +01:00
|
|
|
font-family: 'sharkey-theme-font-face', 'Lexend', 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif;
|
2022-07-15 10:01:13 +02:00
|
|
|
font-size: 14px;
|
2020-11-28 05:08:07 +01:00
|
|
|
line-height: 1.35;
|
2020-11-22 09:58:08 +01:00
|
|
|
text-size-adjust: 100%;
|
2021-01-11 13:01:54 +01:00
|
|
|
tab-size: 2;
|
2023-08-08 06:22:01 +02:00
|
|
|
-webkit-text-size-adjust: 100%;
|
2020-01-29 20:37:25 +01:00
|
|
|
|
|
|
|
&, * {
|
2023-06-01 14:03:07 +02:00
|
|
|
scrollbar-color: var(--scrollbarHandle) transparent;
|
2020-07-05 04:37:45 +02:00
|
|
|
scrollbar-width: thin;
|
2020-01-29 20:37:25 +01:00
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
2020-12-28 12:08:57 +01:00
|
|
|
background: inherit;
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
background: var(--scrollbarHandle);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--scrollbarHandleHover);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: var(--accent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-14 19:44:40 +01:00
|
|
|
|
2022-07-15 10:01:13 +02:00
|
|
|
&.f-1 {
|
|
|
|
font-size: 15px;
|
2020-02-14 19:44:40 +01:00
|
|
|
}
|
|
|
|
|
2022-07-15 10:01:13 +02:00
|
|
|
&.f-2 {
|
|
|
|
font-size: 16px;
|
2020-02-14 19:44:40 +01:00
|
|
|
}
|
|
|
|
|
2022-07-15 10:01:13 +02:00
|
|
|
&.f-3 {
|
|
|
|
font-size: 17px;
|
2020-02-14 19:44:40 +01:00
|
|
|
}
|
2020-11-28 05:05:57 +01:00
|
|
|
|
|
|
|
&.useSystemFont {
|
2023-07-09 14:24:05 +02:00
|
|
|
font-family: system-ui;
|
2020-11-28 05:05:57 +01:00
|
|
|
}
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
|
2021-04-12 06:06:00 +02:00
|
|
|
html._themeChanging_ {
|
2020-01-29 20:37:25 +01:00
|
|
|
&, * {
|
2021-04-12 06:06:00 +02:00
|
|
|
transition: background 1s ease, border 1s ease !important;
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
2023-06-01 02:20:37 +02:00
|
|
|
touch-action: manipulation;
|
2020-01-29 20:37:25 +01:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
color: inherit;
|
2020-10-17 13:12:00 +02:00
|
|
|
tap-highlight-color: transparent;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2023-01-15 19:38:16 +01:00
|
|
|
-webkit-touch-callout: none;
|
2020-01-29 20:37:25 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2023-01-15 19:38:16 +01:00
|
|
|
|
|
|
|
&[target="_blank"] {
|
|
|
|
-webkit-touch-callout: default;
|
|
|
|
}
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
|
2020-10-17 13:12:00 +02:00
|
|
|
textarea, input {
|
|
|
|
tap-highlight-color: transparent;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
|
|
|
|
2020-10-19 06:17:37 +02:00
|
|
|
optgroup, option {
|
|
|
|
background: var(--panel);
|
|
|
|
color: var(--fg);
|
|
|
|
}
|
|
|
|
|
2020-02-16 14:15:49 +01:00
|
|
|
hr {
|
|
|
|
margin: var(--margin) 0 var(--margin) 0;
|
|
|
|
border: none;
|
|
|
|
height: 1px;
|
|
|
|
background: var(--divider);
|
|
|
|
}
|
|
|
|
|
2023-12-03 04:08:40 +01:00
|
|
|
rt {
|
|
|
|
white-space: initial;
|
|
|
|
}
|
|
|
|
|
2023-09-30 21:53:52 +02:00
|
|
|
.ph-bold {
|
2023-04-07 13:34:23 +02:00
|
|
|
width: 1.28em;
|
2023-02-09 05:21:11 +01:00
|
|
|
vertical-align: -12%;
|
2023-01-24 09:25:52 +01:00
|
|
|
line-height: 1em;
|
2022-12-20 02:37:01 +01:00
|
|
|
|
|
|
|
&:before {
|
2023-02-09 05:21:11 +01:00
|
|
|
font-size: 128%;
|
2022-12-20 02:37:01 +01:00
|
|
|
}
|
2022-12-19 11:01:30 +01:00
|
|
|
}
|
|
|
|
|
2023-10-01 00:46:42 +02:00
|
|
|
.ti-fw {
|
2022-12-19 11:01:30 +01:00
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
._indicatorCircle {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2023-10-31 19:44:34 +01:00
|
|
|
border-radius: var(--radius-full);
|
2022-12-19 11:01:30 +01:00
|
|
|
background: currentColor;
|
|
|
|
}
|
|
|
|
|
2023-11-01 05:34:05 +01:00
|
|
|
._indicateCounter {
|
|
|
|
display: inline-flex;
|
|
|
|
color: var(--fgOnAccent);
|
|
|
|
font-weight: 700;
|
|
|
|
background: var(--indicator);
|
|
|
|
height: 1.5em;
|
2023-11-01 23:35:07 +01:00
|
|
|
min-width: 1em;
|
2023-11-01 05:34:05 +01:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-11-01 23:35:07 +01:00
|
|
|
border-radius: var(--radius-ellipse);
|
2023-11-01 05:34:05 +01:00
|
|
|
padding: 0.3em 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-02-13 03:54:12 +01:00
|
|
|
._noSelect {
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
}
|
|
|
|
|
2023-02-08 09:48:02 +01:00
|
|
|
._nowrap {
|
2023-02-08 10:50:34 +01:00
|
|
|
white-space: pre !important;
|
|
|
|
word-wrap: normal !important; // https://codeday.me/jp/qa/20190424/690106.html
|
|
|
|
overflow: hidden;
|
2023-02-08 09:48:02 +01:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2020-02-13 03:54:12 +01:00
|
|
|
._ghost {
|
2023-01-15 05:39:06 +01:00
|
|
|
@extend ._noSelect;
|
|
|
|
pointer-events: none;
|
2020-02-13 03:54:12 +01:00
|
|
|
}
|
|
|
|
|
2020-07-12 11:14:59 +02:00
|
|
|
._modalBg {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: var(--modalBg);
|
2021-05-23 11:55:21 +02:00
|
|
|
-webkit-backdrop-filter: var(--modalBgFilter);
|
2020-07-12 11:14:59 +02:00
|
|
|
backdrop-filter: var(--modalBgFilter);
|
|
|
|
}
|
|
|
|
|
2020-07-12 11:36:14 +02:00
|
|
|
._shadow {
|
|
|
|
box-shadow: 0px 4px 32px var(--shadow) !important;
|
|
|
|
}
|
|
|
|
|
2020-01-29 20:37:25 +01:00
|
|
|
._button {
|
2023-01-14 12:39:47 +01:00
|
|
|
@extend ._noSelect;
|
2020-01-29 20:37:25 +01:00
|
|
|
appearance: none;
|
2021-08-22 06:16:15 +02:00
|
|
|
display: inline-block;
|
2020-01-29 20:37:25 +01:00
|
|
|
padding: 0;
|
2020-02-20 23:11:25 +01:00
|
|
|
margin: 0; // for Safari
|
2020-01-29 20:37:25 +01:00
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2021-07-19 04:36:35 +02:00
|
|
|
color: inherit;
|
2020-01-29 20:37:25 +01:00
|
|
|
touch-action: manipulation;
|
2020-10-17 13:12:00 +02:00
|
|
|
tap-highlight-color: transparent;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2020-01-29 20:37:25 +01:00
|
|
|
font-size: 1em;
|
2020-11-22 09:58:08 +01:00
|
|
|
font-family: inherit;
|
|
|
|
line-height: inherit;
|
2022-12-18 08:43:09 +01:00
|
|
|
max-width: 100%;
|
2020-01-29 20:37:25 +01:00
|
|
|
|
2024-01-24 17:26:28 +01:00
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2021-10-02 19:46:58 +02:00
|
|
|
&:focus-visible {
|
2020-01-29 20:37:25 +01:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
._buttonPrimary {
|
|
|
|
@extend ._button;
|
2021-08-09 11:05:32 +02:00
|
|
|
color: var(--fgOnAccent);
|
2020-01-29 20:37:25 +01:00
|
|
|
background: var(--accent);
|
|
|
|
|
|
|
|
&:not(:disabled):hover {
|
2020-07-04 20:49:58 +02:00
|
|
|
background: var(--X8);
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:disabled):active {
|
2020-07-04 20:49:58 +02:00
|
|
|
background: var(--X9);
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-16 08:00:55 +02:00
|
|
|
._buttonGradate {
|
|
|
|
@extend ._buttonPrimary;
|
|
|
|
color: var(--fgOnAccent);
|
|
|
|
background: linear-gradient(90deg, var(--buttonGradateA), var(--buttonGradateB));
|
|
|
|
|
|
|
|
&:not(:disabled):hover {
|
|
|
|
background: linear-gradient(90deg, var(--X8), var(--X8));
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:disabled):active {
|
|
|
|
background: linear-gradient(90deg, var(--X8), var(--X8));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-22 06:16:15 +02:00
|
|
|
._help {
|
|
|
|
color: var(--accent);
|
|
|
|
cursor: help
|
|
|
|
}
|
|
|
|
|
2020-01-29 20:37:25 +01:00
|
|
|
._textButton {
|
|
|
|
@extend ._button;
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
|
|
&:not(:disabled):hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
._panel {
|
2023-10-15 20:26:05 +02:00
|
|
|
background: color-mix(in srgb, var(--panel) 65%, transparent);
|
2020-07-04 11:28:57 +02:00
|
|
|
border-radius: var(--radius);
|
2022-07-13 14:41:06 +02:00
|
|
|
overflow: clip;
|
2021-04-10 05:40:50 +02:00
|
|
|
}
|
|
|
|
|
2023-01-05 13:04:56 +01:00
|
|
|
._margin {
|
2021-04-10 05:40:50 +02:00
|
|
|
margin: var(--margin) 0;
|
2020-11-29 08:37:33 +01:00
|
|
|
}
|
|
|
|
|
2023-01-06 05:40:17 +01:00
|
|
|
._gaps_m {
|
2023-01-05 13:04:56 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1.5em;
|
|
|
|
}
|
|
|
|
|
2023-01-06 05:40:17 +01:00
|
|
|
._gaps_s {
|
2023-01-05 13:04:56 +01:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.75em;
|
|
|
|
}
|
|
|
|
|
2023-01-06 05:40:17 +01:00
|
|
|
._gaps {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: var(--margin);
|
|
|
|
}
|
|
|
|
|
2023-01-06 01:41:14 +01:00
|
|
|
._buttons {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
flex-wrap: wrap;
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
|
|
|
|
2023-03-04 02:34:54 +01:00
|
|
|
._buttonsCenter {
|
|
|
|
@extend ._buttons;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-10-31 01:39:22 +01:00
|
|
|
._borderButton {
|
|
|
|
@extend ._button;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
2021-04-10 05:40:50 +02:00
|
|
|
border: solid 0.5px var(--divider);
|
2020-10-31 01:39:22 +01:00
|
|
|
border-radius: var(--radius);
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
border-color: var(--accent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-17 13:12:00 +02:00
|
|
|
._popup {
|
2021-08-08 14:59:18 +02:00
|
|
|
background: var(--popup);
|
2020-10-17 13:12:00 +02:00
|
|
|
border-radius: var(--radius);
|
2021-12-17 08:14:43 +01:00
|
|
|
contain: content;
|
2020-10-17 13:12:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
._acrylic {
|
|
|
|
background: var(--acrylicPanel);
|
2021-08-11 15:34:45 +02:00
|
|
|
-webkit-backdrop-filter: var(--blur, blur(15px));
|
|
|
|
backdrop-filter: var(--blur, blur(15px));
|
2020-10-17 13:12:00 +02:00
|
|
|
}
|
|
|
|
|
2021-11-28 12:07:37 +01:00
|
|
|
._formLinksGrid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
|
|
grid-gap: 12px;
|
|
|
|
}
|
|
|
|
|
2022-07-07 14:06:37 +02:00
|
|
|
._beta {
|
|
|
|
margin-left: 0.7em;
|
|
|
|
font-size: 65%;
|
|
|
|
padding: 2px 3px;
|
|
|
|
color: var(--accent);
|
|
|
|
border: solid 1px var(--accent);
|
2023-10-31 19:44:34 +01:00
|
|
|
border-radius: var(--radius-xs);
|
2022-07-07 14:06:37 +02:00
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2020-08-09 08:51:02 +02:00
|
|
|
._table {
|
|
|
|
> ._row {
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
|
|
@media (max-width: 500px) {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
> ._cell {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
> ._label {
|
|
|
|
font-size: 80%;
|
|
|
|
opacity: 0.7;
|
|
|
|
|
|
|
|
> ._icon {
|
|
|
|
margin-right: 4px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-28 11:33:11 +01:00
|
|
|
._fullinfo {
|
2020-07-04 20:11:39 +02:00
|
|
|
padding: 64px 32px;
|
2020-03-28 11:33:11 +01:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
> img {
|
|
|
|
vertical-align: bottom;
|
|
|
|
height: 128px;
|
|
|
|
margin-bottom: 16px;
|
2023-10-31 19:44:34 +01:00
|
|
|
border-radius: var(--radius-md);
|
2020-03-28 11:33:11 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-08 07:47:16 +01:00
|
|
|
._link {
|
|
|
|
color: var(--link);
|
|
|
|
}
|
|
|
|
|
2020-08-09 06:46:19 +02:00
|
|
|
._caption {
|
|
|
|
font-size: 0.8em;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2020-11-25 13:31:34 +01:00
|
|
|
._monospace {
|
2021-04-16 10:34:06 +02:00
|
|
|
font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace !important;
|
2020-11-25 13:31:34 +01:00
|
|
|
}
|
|
|
|
|
2021-02-07 02:31:18 +01:00
|
|
|
._zoom {
|
|
|
|
transition-duration: 0.5s, 0.5s;
|
|
|
|
transition-property: opacity, transform;
|
|
|
|
transition-timing-function: cubic-bezier(0,.5,.5,1);
|
|
|
|
}
|
|
|
|
|
2024-02-23 10:07:41 +01:00
|
|
|
._woodenFrame {
|
|
|
|
padding: 7px;
|
|
|
|
background: #8C4F26;
|
|
|
|
box-shadow: 0 6px 16px #0007, 0 0 1px 1px #693410, inset 0 0 2px 1px #ce8a5c;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
--bg: #F1E8DC;
|
|
|
|
--fg: #693410;
|
2024-03-20 05:10:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
html[data-color-mode=dark] ._woodenFrame {
|
|
|
|
--bg: #1d0c02;
|
|
|
|
--fg: #F1E8DC;
|
|
|
|
--panel: #192320;
|
2024-02-23 10:07:41 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
._woodenFrameH {
|
|
|
|
display: flex;
|
|
|
|
gap: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
._woodenFrameInner {
|
|
|
|
padding: 8px;
|
|
|
|
margin-top: 8px;
|
|
|
|
background: var(--bg);
|
|
|
|
box-shadow: 0 0 2px 1px #ce8a5c, inset 0 0 1px 1px #693410;
|
|
|
|
border-radius: 6px;
|
|
|
|
color: var(--fg);
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-30 05:52:40 +01:00
|
|
|
._transition_zoom-enter-active, ._transition_zoom-leave-active {
|
2020-01-29 20:37:25 +01:00
|
|
|
transition: opacity 0.5s, transform 0.5s !important;
|
|
|
|
}
|
2022-12-30 05:52:40 +01:00
|
|
|
._transition_zoom-enter-from, ._transition_zoom-leave-to {
|
2020-01-29 20:37:25 +01:00
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
2024-01-21 12:26:52 +01:00
|
|
|
@keyframes global-blink {
|
2020-10-17 13:12:00 +02:00
|
|
|
0% { opacity: 1; transform: scale(1); }
|
|
|
|
30% { opacity: 1; transform: scale(1); }
|
|
|
|
90% { opacity: 0; transform: scale(0.5); }
|
2020-01-29 20:37:25 +01:00
|
|
|
}
|
2020-02-06 06:37:29 +01:00
|
|
|
|
2024-01-21 12:26:52 +01:00
|
|
|
@keyframes global-tada {
|
2020-10-17 13:12:00 +02:00
|
|
|
from {
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
|
|
|
|
10%,
|
|
|
|
20% {
|
|
|
|
transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
30%,
|
|
|
|
50%,
|
|
|
|
70%,
|
|
|
|
90% {
|
|
|
|
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
40%,
|
|
|
|
60%,
|
|
|
|
80% {
|
|
|
|
transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
to {
|
|
|
|
transform: scale3d(1, 1, 1);
|
|
|
|
}
|
|
|
|
}
|
2021-04-23 08:33:33 +02:00
|
|
|
|
|
|
|
._anime_bounce {
|
2021-04-24 11:38:38 +02:00
|
|
|
will-change: transform;
|
2024-01-21 12:26:52 +01:00
|
|
|
animation: global-bounce ease 0.7s;
|
2021-04-23 08:33:33 +02:00
|
|
|
animation-iteration-count: 1;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
}
|
|
|
|
._anime_bounce_ready {
|
2021-04-24 11:38:38 +02:00
|
|
|
will-change: transform;
|
2021-04-23 08:33:33 +02:00
|
|
|
transform: scaleX(0.90) scaleY(0.90) ;
|
|
|
|
}
|
2021-04-24 11:38:38 +02:00
|
|
|
._anime_bounce_standBy {
|
|
|
|
transition: transform 0.1s ease;
|
|
|
|
}
|
2021-04-23 08:33:33 +02:00
|
|
|
|
2024-01-21 12:26:52 +01:00
|
|
|
@keyframes global-bounce {
|
2021-04-23 08:33:33 +02:00
|
|
|
0% {
|
|
|
|
transform: scaleX(0.90) scaleY(0.90) ;
|
|
|
|
}
|
2021-04-23 08:53:35 +02:00
|
|
|
19% {
|
2021-04-23 08:33:33 +02:00
|
|
|
transform: scaleX(1.10) scaleY(1.10) ;
|
|
|
|
}
|
2021-04-23 08:53:35 +02:00
|
|
|
48% {
|
2021-04-23 08:33:33 +02:00
|
|
|
transform: scaleX(0.95) scaleY(0.95) ;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scaleX(1.00) scaleY(1.00) ;
|
|
|
|
}
|
|
|
|
}
|
2023-05-17 04:50:37 +02:00
|
|
|
|
|
|
|
// MFM -----------------------------
|
|
|
|
|
|
|
|
._mfm_blur_ {
|
|
|
|
filter: blur(6px);
|
|
|
|
transition: filter 0.3s;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
filter: blur(0px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mfm-x2 {
|
|
|
|
--mfm-zoom-size: 200%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mfm-x3 {
|
|
|
|
--mfm-zoom-size: 400%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mfm-x4 {
|
|
|
|
--mfm-zoom-size: 600%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mfm-x2, .mfm-x3, .mfm-x4 {
|
|
|
|
font-size: var(--mfm-zoom-size);
|
|
|
|
|
|
|
|
.mfm-x2, .mfm-x3, .mfm-x4 {
|
|
|
|
/* only half effective */
|
|
|
|
font-size: calc(var(--mfm-zoom-size) / 2 + 50%);
|
|
|
|
|
|
|
|
.mfm-x2, .mfm-x3, .mfm-x4 {
|
|
|
|
/* disabled */
|
|
|
|
font-size: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-21 13:24:18 +02:00
|
|
|
._mfm_rainbow_fallback_ {
|
|
|
|
background-image: linear-gradient(to right, rgb(255, 0, 0) 0%, rgb(255, 165, 0) 17%, rgb(255, 255, 0) 33%, rgb(0, 255, 0) 50%, rgb(0, 255, 255) 67%, rgb(0, 0, 255) 83%, rgb(255, 0, 255) 100%);
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
background-clip: text;
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
|
2023-05-17 04:50:37 +02:00
|
|
|
@keyframes mfm-spin {
|
|
|
|
0% { transform: rotate(0deg); }
|
|
|
|
100% { transform: rotate(360deg); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mfm-spinX {
|
|
|
|
0% { transform: perspective(128px) rotateX(0deg); }
|
|
|
|
100% { transform: perspective(128px) rotateX(360deg); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mfm-spinY {
|
|
|
|
0% { transform: perspective(128px) rotateY(0deg); }
|
|
|
|
100% { transform: perspective(128px) rotateY(360deg); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mfm-jump {
|
|
|
|
0% { transform: translateY(0); }
|
|
|
|
25% { transform: translateY(-16px); }
|
|
|
|
50% { transform: translateY(0); }
|
|
|
|
75% { transform: translateY(-8px); }
|
|
|
|
100% { transform: translateY(0); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mfm-bounce {
|
|
|
|
0% { transform: translateY(0) scale(1, 1); }
|
|
|
|
25% { transform: translateY(-16px) scale(1, 1); }
|
|
|
|
50% { transform: translateY(0) scale(1, 1); }
|
|
|
|
75% { transform: translateY(0) scale(1.5, 0.75); }
|
|
|
|
100% { transform: translateY(0) scale(1, 1); }
|
|
|
|
}
|
|
|
|
|
|
|
|
// const val = () => `translate(${Math.floor(Math.random() * 20) - 10}px, ${Math.floor(Math.random() * 20) - 10}px)`;
|
|
|
|
// let css = '';
|
|
|
|
// for (let i = 0; i <= 100; i += 5) { css += `${i}% { transform: ${val()} }\n`; }
|
|
|
|
@keyframes mfm-twitch {
|
|
|
|
0% { transform: translate(7px, -2px) }
|
|
|
|
5% { transform: translate(-3px, 1px) }
|
|
|
|
10% { transform: translate(-7px, -1px) }
|
|
|
|
15% { transform: translate(0px, -1px) }
|
|
|
|
20% { transform: translate(-8px, 6px) }
|
|
|
|
25% { transform: translate(-4px, -3px) }
|
|
|
|
30% { transform: translate(-4px, -6px) }
|
|
|
|
35% { transform: translate(-8px, -8px) }
|
|
|
|
40% { transform: translate(4px, 6px) }
|
|
|
|
45% { transform: translate(-3px, 1px) }
|
|
|
|
50% { transform: translate(2px, -10px) }
|
|
|
|
55% { transform: translate(-7px, 0px) }
|
|
|
|
60% { transform: translate(-2px, 4px) }
|
|
|
|
65% { transform: translate(3px, -8px) }
|
|
|
|
70% { transform: translate(6px, 7px) }
|
|
|
|
75% { transform: translate(-7px, -2px) }
|
|
|
|
80% { transform: translate(-7px, -8px) }
|
|
|
|
85% { transform: translate(9px, 3px) }
|
|
|
|
90% { transform: translate(-3px, -2px) }
|
|
|
|
95% { transform: translate(-10px, 2px) }
|
|
|
|
100% { transform: translate(-2px, -6px) }
|
|
|
|
}
|
|
|
|
|
|
|
|
// const val = () => `translate(${Math.floor(Math.random() * 6) - 3}px, ${Math.floor(Math.random() * 6) - 3}px) rotate(${Math.floor(Math.random() * 24) - 12}deg)`;
|
|
|
|
// let css = '';
|
|
|
|
// for (let i = 0; i <= 100; i += 5) { css += `${i}% { transform: ${val()} }\n`; }
|
|
|
|
@keyframes mfm-shake {
|
|
|
|
0% { transform: translate(-3px, -1px) rotate(-8deg) }
|
|
|
|
5% { transform: translate(0px, -1px) rotate(-10deg) }
|
|
|
|
10% { transform: translate(1px, -3px) rotate(0deg) }
|
|
|
|
15% { transform: translate(1px, 1px) rotate(11deg) }
|
|
|
|
20% { transform: translate(-2px, 1px) rotate(1deg) }
|
|
|
|
25% { transform: translate(-1px, -2px) rotate(-2deg) }
|
|
|
|
30% { transform: translate(-1px, 2px) rotate(-3deg) }
|
|
|
|
35% { transform: translate(2px, 1px) rotate(6deg) }
|
|
|
|
40% { transform: translate(-2px, -3px) rotate(-9deg) }
|
|
|
|
45% { transform: translate(0px, -1px) rotate(-12deg) }
|
|
|
|
50% { transform: translate(1px, 2px) rotate(10deg) }
|
|
|
|
55% { transform: translate(0px, -3px) rotate(8deg) }
|
|
|
|
60% { transform: translate(1px, -1px) rotate(8deg) }
|
|
|
|
65% { transform: translate(0px, -1px) rotate(-7deg) }
|
|
|
|
70% { transform: translate(-1px, -3px) rotate(6deg) }
|
|
|
|
75% { transform: translate(0px, -2px) rotate(4deg) }
|
|
|
|
80% { transform: translate(-2px, -1px) rotate(3deg) }
|
|
|
|
85% { transform: translate(1px, -3px) rotate(-10deg) }
|
|
|
|
90% { transform: translate(1px, 0px) rotate(3deg) }
|
|
|
|
95% { transform: translate(-2px, 0px) rotate(-3deg) }
|
|
|
|
100% { transform: translate(2px, 1px) rotate(2deg) }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mfm-rubberBand {
|
|
|
|
from { transform: scale3d(1, 1, 1); }
|
|
|
|
30% { transform: scale3d(1.25, 0.75, 1); }
|
|
|
|
40% { transform: scale3d(0.75, 1.25, 1); }
|
|
|
|
50% { transform: scale3d(1.15, 0.85, 1); }
|
|
|
|
65% { transform: scale3d(0.95, 1.05, 1); }
|
|
|
|
75% { transform: scale3d(1.05, 0.95, 1); }
|
|
|
|
to { transform: scale3d(1, 1, 1); }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes mfm-rainbow {
|
|
|
|
0% { filter: hue-rotate(0deg) contrast(150%) saturate(150%); }
|
|
|
|
100% { filter: hue-rotate(360deg) contrast(150%) saturate(150%); }
|
|
|
|
}
|