summaryrefslogtreecommitdiff
path: root/assets/css/utils/_utility.scss
diff options
context:
space:
mode:
authoreltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
committereltrac <hi@eltr.ac>2026-04-07 14:53:17 +0800
commit10431bd8f5ff71690ae4e5444e8d7894fd401ae5 (patch)
tree62b7fd1b6c1f68d2804f380eb522bcebeb2c8d9f /assets/css/utils/_utility.scss
parent3e0edacc4a0cafa53ede57ebb6f0378c93f3123b (diff)
chore: move templates out of site repo
Diffstat (limited to 'assets/css/utils/_utility.scss')
-rw-r--r--assets/css/utils/_utility.scss62
1 files changed, 0 insertions, 62 deletions
diff --git a/assets/css/utils/_utility.scss b/assets/css/utils/_utility.scss
deleted file mode 100644
index b37cc742..00000000
--- a/assets/css/utils/_utility.scss
+++ /dev/null
@@ -1,62 +0,0 @@
-/* container that extends the page width */
-.outbox {
- display: flex;
- justify-content: center;
- width: 100%;
- z-index: 10;
- position: relative;
-
- @media screen and (min-width: 768px) {
- width: calc(var(--page-width) + 10rem);
- margin: 0 -5rem;
- }
-
- @media screen and (min-width: 1200px) {
- width: calc(var(--page-width) + 20rem);
- margin: 0 -10rem;
- }
-
- &.small {
- @media screen and (min-width: 768px) {
- width: calc(var(--page-width) + 4rem);
- margin: 0 -2rem;
- }
-
- @media screen and (min-width: 1200px) {
- width: calc(var(--page-width) + 10rem);
- margin: 0 -5rem;
- }
- }
-}
-
-/* filter that gives element a printed look */
-.xerox {
- filter: url(#x);
-}
-
-.writing-vertical {
- writing-mode: vertical-lr;
-}
-
-@media (min-width: 768px) {
- .md\:writing-vertical {
- writing-mode: vertical-lr;
- }
-}
-
-details.no-mark summary::marker { content: "" }
-
-.lazy-render {
- content-visibility: auto;
- contain-intrinsic-size: auto 500px;
-}
-
-/* Dynamic rotation for webmention avatars */
-.group:hover img[style*="--rotate-amount"] {
- transform: rotate(var(--rotate-amount));
-}
-
-/* Dynamic rotation for fiction section items */
-div[style*="--rotation-deg"]:hover {
- transform: rotate(0deg) scale(1.1) !important;
-}