2020-01-29 19:37:25 +00:00
|
|
|
@charset "utf-8";
|
|
|
|
|
2023-09-27 02:47:39 +00: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 05:31:52 +00:00
|
|
|
/*
|
|
|
|
* SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
:root {
|
2023-10-31 18:44:34 +00:00
|
|
|
--radius-xs: 5px;
|
|
|
|
--radius-sm: 5px;
|
2023-09-30 19:53:52 +00:00
|
|
|
--radius: 5px;
|
2023-10-31 18:44:34 +00:00
|
|
|
--radius-md: 5px;
|
|
|
|
--radius-lg: 5px;
|
|
|
|
--radius-xl: 5px;
|
|
|
|
--radius-ellipse: 5px;
|
|
|
|
--radius-full: 5px;
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
--marginFull: 16px;
|
2020-07-11 01:13:11 +00:00
|
|
|
--marginHalf: 10px;
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
--margin: var(--marginFull);
|
2023-07-25 10:49:52 +00:00
|
|
|
|
|
|
|
// switch dynamically
|
|
|
|
--minBottomSpacingMobile: calc(72px + max(12px, env(safe-area-inset-bottom, 0px)));
|
|
|
|
--minBottomSpacing: var(--minBottomSpacingMobile);
|
2023-07-07 22:08:16 +00:00
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
--margin: var(--marginHalf);
|
|
|
|
}
|
2021-05-04 12:15:57 +00:00
|
|
|
|
|
|
|
//--ad: rgb(255 169 0 / 10%);
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
2023-10-31 18:44:34 +00: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 11:12:00 +00:00
|
|
|
::selection {
|
2023-01-15 04:39:06 +00:00
|
|
|
color: var(--fgOnAccent);
|
2020-10-17 11:12:00 +00:00
|
|
|
background-color: var(--accent);
|
2023-07-07 22:08:16 +00:00
|
|
|
}
|
2020-01-29 19:37:25 +00:00
|
|
|
|
|
|
|
html {
|
|
|
|
background-color: var(--bg);
|
|
|
|
color: var(--fg);
|
2022-01-13 16:44:08 +00:00
|
|
|
accent-color: var(--accent);
|
2020-01-29 19:37:25 +00:00
|
|
|
overflow: auto;
|
2021-04-16 03:06:54 +00:00
|
|
|
overflow-wrap: break-word;
|
2023-09-27 02:47:39 +00:00
|
|
|
font-family: 'Lexend', '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
|
|
|
|
|
|
|
&, * {
|
2023-06-01 12:03:07 +00:00
|
|
|
scrollbar-color: var(--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 {
|
|
|
|
background: var(--scrollbarHandle);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: var(--scrollbarHandleHover);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: var(--accent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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
|
|
|
|
|
|
|
&: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 {
|
|
|
|
background: var(--panel);
|
|
|
|
color: var(--fg);
|
|
|
|
}
|
|
|
|
|
2020-02-16 13:15:49 +00:00
|
|
|
hr {
|
|
|
|
margin: var(--margin) 0 var(--margin) 0;
|
|
|
|
border: none;
|
|
|
|
height: 1px;
|
|
|
|
background: var(--divider);
|
|
|
|
}
|
|
|
|
|
2023-09-30 19:53:52 +00:00
|
|
|
.ph-bold {
|
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
|
|
|
|
|
|
|
&: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
|
|
|
}
|
|
|
|
|
2023-09-30 22:46:42 +00:00
|
|
|
.ti-fw {
|
2022-12-19 10:01:30 +00:00
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
._indicatorCircle {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1em;
|
|
|
|
height: 1em;
|
2023-10-31 18:44:34 +00:00
|
|
|
border-radius: var(--radius-full);
|
2022-12-19 10:01:30 +00:00
|
|
|
background: currentColor;
|
|
|
|
}
|
|
|
|
|
2023-11-01 04:34:05 +00:00
|
|
|
._indicateCounter {
|
|
|
|
display: inline-flex;
|
|
|
|
color: var(--fgOnAccent);
|
|
|
|
font-weight: 700;
|
|
|
|
background: var(--indicator);
|
|
|
|
height: 1.5em;
|
2023-11-01 22:35:07 +00:00
|
|
|
min-width: 1em;
|
2023-11-01 04:34:05 +00:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-11-01 22:35:07 +00:00
|
|
|
border-radius: var(--radius-ellipse);
|
2023-11-01 04:34:05 +00:00
|
|
|
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%;
|
|
|
|
background: var(--modalBg);
|
2021-05-23 09:55:21 +00:00
|
|
|
-webkit-backdrop-filter: var(--modalBgFilter);
|
2020-07-12 09:14:59 +00:00
|
|
|
backdrop-filter: var(--modalBgFilter);
|
|
|
|
}
|
|
|
|
|
2020-07-12 09:36:14 +00:00
|
|
|
._shadow {
|
|
|
|
box-shadow: 0px 4px 32px var(--shadow) !important;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
|
2021-10-02 17:46:58 +00:00
|
|
|
&:focus-visible {
|
2020-01-29 19:37:25 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
._buttonPrimary {
|
|
|
|
@extend ._button;
|
2021-08-09 09:05:32 +00:00
|
|
|
color: var(--fgOnAccent);
|
2020-01-29 19:37:25 +00:00
|
|
|
background: var(--accent);
|
|
|
|
|
|
|
|
&:not(:disabled):hover {
|
2020-07-04 18:49:58 +00:00
|
|
|
background: var(--X8);
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:disabled):active {
|
2020-07-04 18:49:58 +00:00
|
|
|
background: var(--X9);
|
2020-01-29 19:37:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-10-16 06:00:55 +00: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 04:16:15 +00:00
|
|
|
._help {
|
|
|
|
color: var(--accent);
|
|
|
|
cursor: help
|
|
|
|
}
|
|
|
|
|
2020-01-29 19:37:25 +00:00
|
|
|
._textButton {
|
|
|
|
@extend ._button;
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
|
|
&:not(:disabled):hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
._panel {
|
2023-10-15 18:26:05 +00:00
|
|
|
background: color-mix(in srgb, var(--panel) 65%, transparent);
|
2020-07-04 09:28:57 +00:00
|
|
|
border-radius: var(--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 {
|
2021-04-10 03:40:50 +00:00
|
|
|
margin: var(--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;
|
|
|
|
gap: var(--margin);
|
|
|
|
}
|
|
|
|
|
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;
|
2021-04-10 03:40:50 +00:00
|
|
|
border: solid 0.5px var(--divider);
|
2020-10-31 00:39:22 +00:00
|
|
|
border-radius: var(--radius);
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
border-color: var(--accent);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-10-17 11:12:00 +00:00
|
|
|
._popup {
|
2021-08-08 12:59:18 +00:00
|
|
|
background: var(--popup);
|
2020-10-17 11:12:00 +00:00
|
|
|
border-radius: var(--radius);
|
2021-12-17 07:14:43 +00:00
|
|
|
contain: content;
|
2020-10-17 11:12:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
._acrylic {
|
|
|
|
background: var(--acrylicPanel);
|
2021-08-11 13:34:45 +00:00
|
|
|
-webkit-backdrop-filter: var(--blur, blur(15px));
|
|
|
|
backdrop-filter: var(--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;
|
|
|
|
}
|
|
|
|
|
|
|
|
._formLinks {
|
|
|
|
> *:not(:last-child) {
|
|
|
|
margin-bottom: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-07 12:06:37 +00:00
|
|
|
._beta {
|
|
|
|
margin-left: 0.7em;
|
|
|
|
font-size: 65%;
|
|
|
|
padding: 2px 3px;
|
|
|
|
color: var(--accent);
|
|
|
|
border: solid 1px var(--accent);
|
2023-10-31 18:44:34 +00:00
|
|
|
border-radius: var(--radius-xs);
|
2022-07-07 12:06:37 +00:00
|
|
|
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;
|
2023-10-31 18:44:34 +00:00
|
|
|
border-radius: var(--radius-md);
|
2020-03-28 10:33:11 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-02-08 06:47:16 +00:00
|
|
|
._link {
|
|
|
|
color: var(--link);
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2020-10-17 11:12:00 +00:00
|
|
|
@keyframes blink {
|
|
|
|
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
|
|
|
|
2020-11-07 14:41:21 +00:00
|
|
|
@keyframes 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;
|
2021-04-23 06:53:35 +00:00
|
|
|
animation: 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
|
|
|
|
2023-01-05 12:04:56 +00:00
|
|
|
@keyframes 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) ;
|
|
|
|
}
|
|
|
|
}
|
2023-05-17 02:50:37 +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%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-21 11:24:18 +00: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 02:50:37 +00: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%); }
|
|
|
|
}
|