2020-01-29 19:37:25 +00:00
|
|
|
@charset "utf-8";
|
|
|
|
|
2023-07-27 05:31:52 +00:00
|
|
|
/*
|
2024-02-13 15:59:27 +00:00
|
|
|
* SPDX-FileCopyrightText: syuilo and misskey-project
|
2023-07-27 05:31:52 +00:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
:root {
|
2024-10-10 07:12:16 +00:00
|
|
|
--MI-radius: 12px;
|
|
|
|
--MI-marginFull: 16px;
|
|
|
|
--MI-marginHalf: 10px;
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2024-10-10 07:12:16 +00:00
|
|
|
--MI-margin: var(--MI-marginFull);
|
2023-07-25 10:49:52 +00:00
|
|
|
|
|
|
|
// switch dynamically
|
2024-10-10 07:12:16 +00:00
|
|
|
--MI-minBottomSpacingMobile: calc(72px + max(12px, env(safe-area-inset-bottom, 0px)));
|
|
|
|
--MI-minBottomSpacing: var(--MI-minBottomSpacingMobile);
|
2023-07-07 22:08:16 +00:00
|
|
|
|
2024-09-06 07:12:14 +00:00
|
|
|
@media (max-width: 500px) {
|
2024-10-10 07:12:16 +00:00
|
|
|
--MI-margin: var(--MI-marginHalf);
|
2024-09-06 07:12:14 +00:00
|
|
|
}
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
2020-10-17 11:12:00 +00:00
|
|
|
::selection {
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-fgOnAccent);
|
|
|
|
background-color: var(--MI_THEME-accent);
|
2023-07-07 22:08:16 +00:00
|
|
|
}
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
html {
|
2024-10-09 09:08:14 +00:00
|
|
|
background-color: var(--MI_THEME-bg);
|
|
|
|
color: var(--MI_THEME-fg);
|
|
|
|
accent-color: var(--MI_THEME-accent);
|
2020-01-29 19:37:25 +00:00
|
|
|
overflow: auto;
|
2021-04-16 03:06:54 +00:00
|
|
|
overflow-wrap: break-word;
|
2022-09-20 17:10:59 +00:00
|
|
|
font-family: 'Hiragino Maru Gothic Pro', "BIZ UDGothic", Roboto, HelveticaNeue, Arial, sans-serif;
|
2022-07-15 08:01:13 +00:00
|
|
|
font-size: 14px;
|
2020-11-28 04:08:07 +00:00
|
|
|
line-height: 1.35;
|
2020-11-22 08:58:08 +00:00
|
|
|
text-size-adjust: 100%;
|
2021-01-11 12:01:54 +00:00
|
|
|
tab-size: 2;
|
2023-08-08 04:22:01 +00:00
|
|
|
-webkit-text-size-adjust: 100%;
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
&, * {
|
2024-10-09 09:08:14 +00:00
|
|
|
scrollbar-color: var(--MI_THEME-scrollbarHandle) transparent;
|
2020-07-05 02:37:45 +00:00
|
|
|
scrollbar-width: thin;
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-track {
|
2020-12-28 11:08:57 +00:00
|
|
|
background: inherit;
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&::-webkit-scrollbar-thumb {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-scrollbarHandle);
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
&:hover {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-scrollbarHandleHover);
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-accent);
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-14 18:44:40 +00:00
|
|
|
|
2022-07-15 08:01:13 +00:00
|
|
|
&.f-1 {
|
|
|
|
font-size: 15px;
|
2020-02-14 18:44:40 +00:00
|
|
|
}
|
|
|
|
|
2022-07-15 08:01:13 +00:00
|
|
|
&.f-2 {
|
|
|
|
font-size: 16px;
|
2020-02-14 18:44:40 +00:00
|
|
|
}
|
|
|
|
|
2022-07-15 08:01:13 +00:00
|
|
|
&.f-3 {
|
|
|
|
font-size: 17px;
|
2020-02-14 18:44:40 +00:00
|
|
|
}
|
2020-11-28 04:05:57 +00:00
|
|
|
|
|
|
|
&.useSystemFont {
|
2023-07-09 12:24:05 +00:00
|
|
|
font-family: system-ui;
|
2020-11-28 04:05:57 +00:00
|
|
|
}
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
2021-04-12 04:06:00 +00:00
|
|
|
html._themeChanging_ {
|
2020-01-29 19:37:25 +00:00
|
|
|
&, * {
|
2021-04-12 04:06:00 +00:00
|
|
|
transition: background 1s ease, border 1s ease !important;
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
html, body {
|
2023-06-01 00:20:37 +00:00
|
|
|
touch-action: manipulation;
|
2020-01-29 19:37:25 +00:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
color: inherit;
|
2020-10-17 11:12:00 +00:00
|
|
|
tap-highlight-color: transparent;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2023-01-15 18:38:16 +00:00
|
|
|
-webkit-touch-callout: none;
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2024-07-12 07:25:44 +00:00
|
|
|
&:focus-visible {
|
|
|
|
outline-offset: 2px;
|
|
|
|
}
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2023-01-15 18:38:16 +00:00
|
|
|
|
|
|
|
&[target="_blank"] {
|
|
|
|
-webkit-touch-callout: default;
|
|
|
|
}
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
2020-10-17 11:12:00 +00:00
|
|
|
textarea, input {
|
|
|
|
tap-highlight-color: transparent;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
|
|
|
|
2020-10-19 04:17:37 +00:00
|
|
|
optgroup, option {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-panel);
|
|
|
|
color: var(--MI_THEME-fg);
|
2020-10-19 04:17:37 +00:00
|
|
|
}
|
|
|
|
|
2020-02-16 13:15:49 +00:00
|
|
|
hr {
|
2024-10-10 07:12:16 +00:00
|
|
|
margin: var(--MI-margin) 0 var(--MI-margin) 0;
|
2020-02-16 13:15:49 +00:00
|
|
|
border: none;
|
|
|
|
height: 1px;
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-divider);
|
2020-02-16 13:15:49 +00:00
|
|
|
}
|
|
|
|
|
2023-12-03 03:08:40 +00:00
|
|
|
rt {
|
|
|
|
white-space: initial;
|
|
|
|
}
|
|
|
|
|
2024-07-12 07:25:44 +00:00
|
|
|
:focus-visible {
|
2024-10-09 09:08:14 +00:00
|
|
|
outline: var(--MI_THEME-focus) solid 2px;
|
2024-07-12 07:25:44 +00:00
|
|
|
outline-offset: -2px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-19 10:01:30 +00:00
|
|
|
.ti {
|
2023-04-07 11:34:23 +00:00
|
|
|
width: 1.28em;
|
2023-02-09 04:21:11 +00:00
|
|
|
vertical-align: -12%;
|
2023-01-24 08:25:52 +00:00
|
|
|
line-height: 1em;
|
2022-12-20 01:37:01 +00:00
|
|
|
|
2024-07-12 07:25:44 +00:00
|
|
|
&::before {
|
2023-02-09 04:21:11 +00:00
|
|
|
font-size: 128%;
|
2022-12-20 01:37:01 +00:00
|
|
|
}
|
2022-12-19 10:01:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.ti-fw {
|
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
._indicatorCircle {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
|
|
|
border-radius: 100%;
|
|
|
|
background: currentColor;
|
|
|
|
}
|
|
|
|
|
2023-11-01 04:34:05 +00:00
|
|
|
._indicateCounter {
|
|
|
|
display: inline-flex;
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-fgOnAccent);
|
2023-11-01 04:34:05 +00:00
|
|
|
font-weight: 700;
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-indicator);
|
2023-11-01 04:34:05 +00:00
|
|
|
height: 1.5em;
|
|
|
|
min-width: 1.5em;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
border-radius: 99rem;
|
|
|
|
padding: 0.3em 0.5em;
|
|
|
|
}
|
|
|
|
|
2020-02-13 02:54:12 +00:00
|
|
|
._noSelect {
|
|
|
|
user-select: none;
|
|
|
|
-webkit-user-select: none;
|
|
|
|
-webkit-touch-callout: none;
|
|
|
|
}
|
|
|
|
|
2023-02-08 08:48:02 +00:00
|
|
|
._nowrap {
|
2023-02-08 09:50:34 +00:00
|
|
|
white-space: pre !important;
|
|
|
|
word-wrap: normal !important; // https://codeday.me/jp/qa/20190424/690106.html
|
|
|
|
overflow: hidden;
|
2023-02-08 08:48:02 +00:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
2020-02-13 02:54:12 +00:00
|
|
|
._ghost {
|
2023-01-15 04:39:06 +00:00
|
|
|
@extend ._noSelect;
|
|
|
|
pointer-events: none;
|
2020-02-13 02:54:12 +00:00
|
|
|
}
|
|
|
|
|
2020-07-12 09:14:59 +00:00
|
|
|
._modalBg {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-modalBg);
|
2024-10-10 07:12:16 +00:00
|
|
|
-webkit-backdrop-filter: var(--MI-modalBgFilter);
|
|
|
|
backdrop-filter: var(--MI-modalBgFilter);
|
2020-07-12 09:14:59 +00:00
|
|
|
}
|
|
|
|
|
2020-07-12 09:36:14 +00:00
|
|
|
._shadow {
|
2024-10-09 09:08:14 +00:00
|
|
|
box-shadow: 0px 4px 32px var(--MI_THEME-shadow) !important;
|
2020-07-12 09:36:14 +00:00
|
|
|
}
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
._button {
|
2023-01-14 11:39:47 +00:00
|
|
|
@extend ._noSelect;
|
2020-01-29 19:37:25 +00:00
|
|
|
appearance: none;
|
2021-08-22 04:16:15 +00:00
|
|
|
display: inline-block;
|
2020-01-29 19:37:25 +00:00
|
|
|
padding: 0;
|
2020-02-20 22:11:25 +00:00
|
|
|
margin: 0; // for Safari
|
2020-01-29 19:37:25 +00:00
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
cursor: pointer;
|
2021-07-19 02:36:35 +00:00
|
|
|
color: inherit;
|
2020-01-29 19:37:25 +00:00
|
|
|
touch-action: manipulation;
|
2020-10-17 11:12:00 +00:00
|
|
|
tap-highlight-color: transparent;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
2020-01-29 19:37:25 +00:00
|
|
|
font-size: 1em;
|
2020-11-22 08:58:08 +00:00
|
|
|
font-family: inherit;
|
|
|
|
line-height: inherit;
|
2022-12-18 07:43:09 +00:00
|
|
|
max-width: 100%;
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
._buttonPrimary {
|
|
|
|
@extend ._button;
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-fgOnAccent);
|
|
|
|
background: var(--MI_THEME-accent);
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
&:not(:disabled):hover {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: hsl(from var(--MI_THEME-accent) h s calc(l + 5));
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:disabled):active {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: hsl(from var(--MI_THEME-accent) h s calc(l - 5));
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-16 06:00:55 +00:00
|
|
|
._buttonGradate {
|
|
|
|
@extend ._buttonPrimary;
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-fgOnAccent);
|
|
|
|
background: linear-gradient(90deg, var(--MI_THEME-buttonGradateA), var(--MI_THEME-buttonGradateB));
|
2021-10-16 06:00:55 +00:00
|
|
|
|
|
|
|
&:not(:disabled):hover {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5)));
|
2021-10-16 06:00:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:disabled):active {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: linear-gradient(90deg, hsl(from var(--MI_THEME-accent) h s calc(l + 5)), hsl(from var(--MI_THEME-accent) h s calc(l + 5)));
|
2021-10-16 06:00:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-22 04:16:15 +00:00
|
|
|
._help {
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-accent);
|
2024-07-12 07:25:44 +00:00
|
|
|
cursor: help;
|
2021-08-22 04:16:15 +00:00
|
|
|
}
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
._textButton {
|
|
|
|
@extend ._button;
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-accent);
|
2020-01-29 19:37:25 +00:00
|
|
|
|
2024-07-12 07:25:44 +00:00
|
|
|
&:focus-visible {
|
|
|
|
outline-offset: 2px;
|
|
|
|
}
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
&:not(:disabled):hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
._panel {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-panel);
|
2024-10-10 07:12:16 +00:00
|
|
|
border-radius: var(--MI-radius);
|
2022-07-13 12:41:06 +00:00
|
|
|
overflow: clip;
|
2021-04-10 03:40:50 +00:00
|
|
|
}
|
|
|
|
|
2023-01-05 12:04:56 +00:00
|
|
|
._margin {
|
2024-10-10 07:12:16 +00:00
|
|
|
margin: var(--MI-margin) 0;
|
2020-11-29 07:37:33 +00:00
|
|
|
}
|
|
|
|
|
2023-01-06 04:40:17 +00:00
|
|
|
._gaps_m {
|
2023-01-05 12:04:56 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1.5em;
|
|
|
|
}
|
|
|
|
|
2023-01-06 04:40:17 +00:00
|
|
|
._gaps_s {
|
2023-01-05 12:04:56 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 0.75em;
|
|
|
|
}
|
|
|
|
|
2023-01-06 04:40:17 +00:00
|
|
|
._gaps {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2024-10-10 07:12:16 +00:00
|
|
|
gap: var(--MI-margin);
|
2023-01-06 04:40:17 +00:00
|
|
|
}
|
|
|
|
|
2023-01-06 00:41:14 +00:00
|
|
|
._buttons {
|
|
|
|
display: flex;
|
|
|
|
gap: 8px;
|
|
|
|
flex-wrap: wrap;
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
2023-03-04 01:34:54 +00:00
|
|
|
._buttonsCenter {
|
|
|
|
@extend ._buttons;
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2020-10-31 00:39:22 +00:00
|
|
|
._borderButton {
|
|
|
|
@extend ._button;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 10px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
2024-10-09 09:08:14 +00:00
|
|
|
border: solid 0.5px var(--MI_THEME-divider);
|
2024-10-10 07:12:16 +00:00
|
|
|
border-radius: var(--MI-radius);
|
2020-10-31 00:39:22 +00:00
|
|
|
|
|
|
|
&:active {
|
2024-10-09 09:08:14 +00:00
|
|
|
border-color: var(--MI_THEME-accent);
|
2020-10-31 00:39:22 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-17 11:12:00 +00:00
|
|
|
._popup {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-popup);
|
2024-10-10 07:12:16 +00:00
|
|
|
border-radius: var(--MI-radius);
|
2021-12-17 07:14:43 +00:00
|
|
|
contain: content;
|
2020-10-17 11:12:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
._acrylic {
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-acrylicPanel);
|
2024-10-10 07:12:16 +00:00
|
|
|
-webkit-backdrop-filter: var(--MI-blur, blur(15px));
|
|
|
|
backdrop-filter: var(--MI-blur, blur(15px));
|
2020-10-17 11:12:00 +00:00
|
|
|
}
|
|
|
|
|
2021-11-28 11:07:37 +00:00
|
|
|
._formLinksGrid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
|
|
grid-gap: 12px;
|
|
|
|
}
|
|
|
|
|
2022-07-07 12:06:37 +00:00
|
|
|
._beta {
|
|
|
|
margin-left: 0.7em;
|
|
|
|
font-size: 65%;
|
|
|
|
padding: 2px 3px;
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-accent);
|
|
|
|
border: solid 1px var(--MI_THEME-accent);
|
2022-07-07 12:06:37 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2024-09-23 05:42:38 +00:00
|
|
|
._modified {
|
|
|
|
margin-left: 0.7em;
|
|
|
|
font-size: 65%;
|
|
|
|
padding: 2px 3px;
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-warn);
|
|
|
|
border: solid 1px var(--MI_THEME-warn);
|
2024-09-23 05:42:38 +00:00
|
|
|
border-radius: 4px;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
2020-08-09 06:51:02 +00: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 10:33:11 +00:00
|
|
|
._fullinfo {
|
2020-07-04 18:11:39 +00:00
|
|
|
padding: 64px 32px;
|
2020-03-28 10:33:11 +00:00
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
> img {
|
|
|
|
vertical-align: bottom;
|
|
|
|
height: 128px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
border-radius: 16px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-08 06:47:16 +00:00
|
|
|
._link {
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-link);
|
2020-02-08 06:47:16 +00:00
|
|
|
}
|
|
|
|
|
2020-08-09 04:46:19 +00:00
|
|
|
._caption {
|
|
|
|
font-size: 0.8em;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
2020-11-25 12:31:34 +00:00
|
|
|
._monospace {
|
2021-04-16 08:34:06 +00:00
|
|
|
font-family: Fira code, Fira Mono, Consolas, Menlo, Courier, monospace !important;
|
2020-11-25 12:31:34 +00:00
|
|
|
}
|
|
|
|
|
2021-02-07 01:31:18 +00:00
|
|
|
._zoom {
|
|
|
|
transition-duration: 0.5s, 0.5s;
|
|
|
|
transition-property: opacity, transform;
|
|
|
|
transition-timing-function: cubic-bezier(0,.5,.5,1);
|
|
|
|
}
|
|
|
|
|
2024-02-23 09:07:41 +00: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;
|
|
|
|
|
2024-10-09 09:08:14 +00:00
|
|
|
--MI_THEME-bg: #F1E8DC;
|
|
|
|
--MI_THEME-fg: #693410;
|
2024-03-20 04:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-09-24 12:02:22 +00:00
|
|
|
html[data-color-scheme=dark] ._woodenFrame {
|
2024-10-09 09:08:14 +00:00
|
|
|
--MI_THEME-bg: #1d0c02;
|
|
|
|
--MI_THEME-fg: #F1E8DC;
|
|
|
|
--MI_THEME-panel: #192320;
|
2024-02-23 09:07:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
._woodenFrameH {
|
|
|
|
display: flex;
|
|
|
|
gap: 6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
._woodenFrameInner {
|
|
|
|
padding: 8px;
|
|
|
|
margin-top: 8px;
|
2024-10-09 09:08:14 +00:00
|
|
|
background: var(--MI_THEME-bg);
|
2024-02-23 09:07:41 +00:00
|
|
|
box-shadow: 0 0 2px 1px #ce8a5c, inset 0 0 1px 1px #693410;
|
|
|
|
border-radius: 6px;
|
2024-10-09 09:08:14 +00:00
|
|
|
color: var(--MI_THEME-fg);
|
2024-02-23 09:07:41 +00:00
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-12-30 04:52:40 +00:00
|
|
|
._transition_zoom-enter-active, ._transition_zoom-leave-active {
|
2020-01-29 19:37:25 +00:00
|
|
|
transition: opacity 0.5s, transform 0.5s !important;
|
|
|
|
}
|
2022-12-30 04:52:40 +00:00
|
|
|
._transition_zoom-enter-from, ._transition_zoom-leave-to {
|
2020-01-29 19:37:25 +00:00
|
|
|
opacity: 0;
|
|
|
|
transform: scale(0.9);
|
|
|
|
}
|
|
|
|
|
2024-10-15 04:01:06 +00:00
|
|
|
._blink {
|
|
|
|
animation: blink 1s infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes blink {
|
2020-10-17 11:12:00 +00:00
|
|
|
0% { opacity: 1; transform: scale(1); }
|
|
|
|
30% { opacity: 1; transform: scale(1); }
|
|
|
|
90% { opacity: 0; transform: scale(0.5); }
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
2020-02-06 05:37:29 +00:00
|
|
|
|
2024-01-21 11:26:52 +00:00
|
|
|
@keyframes global-tada {
|
2020-10-17 11:12:00 +00: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 06:33:33 +00:00
|
|
|
|
|
|
|
._anime_bounce {
|
2021-04-24 09:38:38 +00:00
|
|
|
will-change: transform;
|
2024-01-21 11:26:52 +00:00
|
|
|
animation: global-bounce ease 0.7s;
|
2021-04-23 06:33:33 +00:00
|
|
|
animation-iteration-count: 1;
|
|
|
|
transform-origin: 50% 50%;
|
|
|
|
}
|
|
|
|
._anime_bounce_ready {
|
2021-04-24 09:38:38 +00:00
|
|
|
will-change: transform;
|
2021-04-23 06:33:33 +00:00
|
|
|
transform: scaleX(0.90) scaleY(0.90) ;
|
|
|
|
}
|
2021-04-24 09:38:38 +00:00
|
|
|
._anime_bounce_standBy {
|
|
|
|
transition: transform 0.1s ease;
|
|
|
|
}
|
2021-04-23 06:33:33 +00:00
|
|
|
|
2024-01-21 11:26:52 +00:00
|
|
|
@keyframes global-bounce {
|
2021-04-23 06:33:33 +00:00
|
|
|
0% {
|
|
|
|
transform: scaleX(0.90) scaleY(0.90) ;
|
|
|
|
}
|
2021-04-23 06:53:35 +00:00
|
|
|
19% {
|
2021-04-23 06:33:33 +00:00
|
|
|
transform: scaleX(1.10) scaleY(1.10) ;
|
|
|
|
}
|
2021-04-23 06:53:35 +00:00
|
|
|
48% {
|
2021-04-23 06:33:33 +00:00
|
|
|
transform: scaleX(0.95) scaleY(0.95) ;
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: scaleX(1.00) scaleY(1.00) ;
|
|
|
|
}
|
|
|
|
}
|
2024-09-17 08:05:52 +00: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%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
._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;
|
|
|
|
}
|
|
|
|
|
|
|
|
@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%); }
|
|
|
|
}
|