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