More actions
Content deleted Content added
// via Wikitext Extension for VSCode Tag: Manual revert |
// via Wikitext Extension for VSCode |
||
Line 84: | Line 84: | ||
} |
} |
||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
@media (prefers-color-scheme: light) { |
@media (prefers-color-scheme: light) { |
||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
⚫ | |||
⚫ | |||
} |
|||
.es-life { |
.es-life { |
||
color: #3d340b; |
color: #3d340b; |
||
Line 129: | Line 129: | ||
} |
} |
||
@media (prefers-color-scheme: dark) { |
@media (prefers-color-scheme: dark) { |
||
.es-life .es-mask-rotator { |
|||
background-color: #f9f06b; |
|||
} |
|||
.es-storm .es-mask-rotator { |
|||
background-color: #99c1f1; |
|||
} |
|||
.es-necro .es-mask-rotator { |
|||
background-color: #77767b; |
|||
} |
|||
.es-mask-rotator { |
|||
background-color: #f66151; |
|||
} |
|||
.es-nature .es-mask-rotator { |
|||
background-color: #8ff0a4; |
|||
} |
|||
.es-multi .es-mask-rotator { |
|||
background-color: #dc8add |
|||
; |
|||
} |
|||
.es-life { |
.es-life { |
||
color: #faf7d0; |
color: #faf7d0; |
Revision as of 09:26, 23 April 2025
@keyframes spinMask {
from {
transform: translate(-50%, -50%) rotate(0deg);
}
to {
transform: translate(-50%, -50%) rotate(360deg);
}
}
.es-container {
border: 1px solid var(--border-color-base);
border-radius: var(--border-radius--large);
padding: 1em;
overflow: hidden;
position: relative;
}
.es-container::after {
position: absolute;
content: "";
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.25;
background-image: url("https://raw.githubusercontent.com/foundryvtt/dnd5e/refs/heads/4.4.x/ui/texture-gray1.webp");
background-repeat: no-repeat;
background-size: cover;
}
.es-mask-rotator {
--spell-circle-after: url("https://548916280-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpaqFHtSBIvRvOg8Wfmx5%2Fuploads%2FWEViu7j32vfudpdSmvEG%2FSpell%20Circle.svg?alt=media&token=e1e66eeb-da0d-47fa-b71b-d823fbfe3cd7");
position: absolute;
top: calc(100% - 2em);
left: calc(100% - 2em);
width: 300%;
height: 300%;
transform: translate(-50%, -50%);
opacity: 0.2;
mask-image: var(--spell-circle-after);
mask-size: contain;
mask-repeat: no-repeat;
mask-position: center;
animation-play-state: running;
pointer-events: none;
z-index: 0;
animation: spinMask 300s linear infinite;
}
.es-wording-container {
/* padding-left: 1em;
padding-right: 1em; */
position: relative;
z-index: 1;
}
.es-wording-container a {
color: unset;
}
.es-intro {
font-family: "Mea Culpa", cursive;
font-weight: 400;
font-style: normal;
display: block;
font-size: 2em;
user-select: none;
margin-bottom: 0.25em;
}
.es-wording {
display: block;
margin-left: 1em;
margin-right: 1em;
font-family: "Quintessential", serif;
font-weight: 400;
font-style: normal;
}
@media (prefers-color-scheme: light) {
.es-life .es-mask-rotator {
background-color: #e5a50a;
}
.es-storm .es-mask-rotator {
background-color: #1a5fb4;
}
.es-necro .es-mask-rotator {
background-color: #000000;
}
.es-mask-rotator {
background-color: #a51d2d;
}
.es-nature .es-mask-rotator {
background-color: #26a269;
}
.es-multi .es-mask-rotator {
background-color: #613583;
}
.es-life {
color: #3d340b;
background-color: #e5a50a0d;
}
.es-storm {
color: #0d2139;
background-color: #1a5fb40d;
}
.es-necro {
color: #000000;
background-color: #0000000d;
}
.es-flame .es-flame {
color: #380609;
background-color: #a51d2d0d;
}
.es-nature {
color: #0c341e;
background-color: #26a2690d;
}
.es-multi {
color: #24102b;
background-color: #6135830d;
}
}
@media (prefers-color-scheme: dark) {
.es-life .es-mask-rotator {
background-color: #f9f06b;
}
.es-storm .es-mask-rotator {
background-color: #99c1f1;
}
.es-necro .es-mask-rotator {
background-color: #77767b;
}
.es-mask-rotator {
background-color: #f66151;
}
.es-nature .es-mask-rotator {
background-color: #8ff0a4;
}
.es-multi .es-mask-rotator {
background-color: #dc8add
;
}
.es-life {
color: #faf7d0;
background-color: #e5a50a0d;
}
.es-storm {
color: #e4effc;
background-color: #1a5fb40d;
}
.es-necro {
color: #a9a8aa;
background-color: #0000000d;
}
.es-flame .es-flame {
color: #f5d4d1;
background-color: #a51d2d0d;
}
.es-nature {
color: #dbf4e0;
background-color: #26a2690d;
}
.es-multi {
color: #e4d2e4;
background-color: #6135830d;
}
}