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