website/assets/scss/roles.scss

57 lines
940 B
SCSS
Raw Normal View History

// Asciidoctor roles (e.g., [.text-center]) on a block.
2023-11-09 06:28:44 +00:00
.error {
--side-accent-color: var(--base08);
--side-accent-color-text: var(--base05);
--border-style: 2px var(--side-accent-color) solid;
}
.inline-block {
display: inline-block;
}
.text-center {
text-align: center;
}
.line-through {
text-decoration: line-through;
}
.break-anywhere {
overflow-wrap: anywhere;
}
.shake {
animation: shake 0.1s alternate ease-in-out infinite;
}
.extreme-shake {
animation: extreme-shake 0.1s alternate ease-in-out infinite;
}
2023-05-19 04:59:06 +00:00
2023-05-30 03:46:41 +00:00
.blur {
filter: blur(4px);
}
.blur-blur {
animation: blur-blur 4s alternate infinite;
}
.rainbow {
animation: rainbow 5s infinite;
}
.bounce {
animation: bounce 0.6s alternate ease-in-out infinite;
}
.mini-bounce {
animation: mini-bounce 0.6s alternate ease-in-out infinite;
}
2023-05-19 04:59:06 +00:00
@media (prefers-reduced-motion) {
2023-05-30 03:46:41 +00:00
.shake, .extreme-shake, .blur-blur, .bounce {
2023-05-19 04:59:06 +00:00
animation: none;
}
}