misskey-tools/src/frontend/style.scss

78 lines
1.1 KiB
SCSS
Raw Normal View History

2021-09-01 20:06:33 +09:00
body {
--primary: rgb(134, 179, 0);
2021-09-14 04:11:43 +09:00
font-feature-settings: "pkna";
2021-09-01 20:06:33 +09:00
}
.xarticle {
margin: auto;
max-width: 720px;
}
2021-09-04 18:24:11 +09:00
2021-09-07 20:50:09 +09:00
.fade {
animation: 0.3s ease-out 0s fadeIn;
2021-09-14 04:11:43 +09:00
&.down {
animation-name: fadeInUp;
}
&.up {
animation-name: fadeInUp;
}
2021-09-07 20:50:09 +09:00
}
@keyframes fadeIn {
2021-09-14 04:11:43 +09:00
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes fadeInDown {
2021-09-07 20:50:09 +09:00
from {
opacity: 0;
transform: translateY(-8px);
}
to {
opacity: 1;
transform: none;
}
}
2021-09-09 12:58:57 +09:00
2021-09-14 04:11:43 +09:00
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: none;
}
}
2021-09-09 12:58:57 +09:00
.block {
display: block !important;
}
.inline {
display: inline !important;
}
small {
font-size: 0.8rem;
}
2021-09-14 04:11:43 +09:00
.modal {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
background: #000000c0;
z-index: 40000;
}
.dark .card.dialog {
background: var(--tone-2);
min-width: min(100vw, 320px);
max-width: min(100vw, 600px);
}