diff options
author | Crystal <crystal@wizard.tower> | 2024-02-12 20:53:06 +0100 |
---|---|---|
committer | Crystal <crystal@wizard.tower> | 2024-02-12 20:53:06 +0100 |
commit | c9d33ec5918d1057973d37675255a393474b54a0 (patch) | |
tree | 5c490798dc2f9416a16bd09e2aada155983c7667 /valentine/src | |
parent | 6119a90a492918ce8fbdc0ec64ef01461f468a90 (diff) | |
download | www-c9d33ec5918d1057973d37675255a393474b54a0.tar.gz |
Valentine Special
Diffstat (limited to 'valentine/src')
-rw-r--r-- | valentine/src/chibi.gif | bin | 0 -> 482733 bytes | |||
-rwxr-xr-x | valentine/src/colors.css | 11 | ||||
-rwxr-xr-x | valentine/src/fonts/Special_Elite.woff2 | bin | 0 -> 53296 bytes | |||
-rwxr-xr-x | valentine/src/fonts/basiic.ttf | bin | 0 -> 15268 bytes | |||
-rwxr-xr-x | valentine/src/style.css | 137 |
5 files changed, 148 insertions, 0 deletions
diff --git a/valentine/src/chibi.gif b/valentine/src/chibi.gif new file mode 100644 index 0000000..3263d9d --- /dev/null +++ b/valentine/src/chibi.gif Binary files differdiff --git a/valentine/src/colors.css b/valentine/src/colors.css new file mode 100755 index 0000000..fed702b --- /dev/null +++ b/valentine/src/colors.css @@ -0,0 +1,11 @@ +:root { + --color0: #06050B; + --color1: #a686f7; + --color2: #9C6793; + --color3: #DA629B; + --color4: #C35CB8; + --color5: #A998A0; + --color6: #D1A5A8; + --color7: #e2d8d6; + --color8: #9e9795; +} diff --git a/valentine/src/fonts/Special_Elite.woff2 b/valentine/src/fonts/Special_Elite.woff2 new file mode 100755 index 0000000..569a27e --- /dev/null +++ b/valentine/src/fonts/Special_Elite.woff2 Binary files differdiff --git a/valentine/src/fonts/basiic.ttf b/valentine/src/fonts/basiic.ttf new file mode 100755 index 0000000..b0e6d09 --- /dev/null +++ b/valentine/src/fonts/basiic.ttf Binary files differdiff --git a/valentine/src/style.css b/valentine/src/style.css new file mode 100755 index 0000000..d76b1a6 --- /dev/null +++ b/valentine/src/style.css @@ -0,0 +1,137 @@ +@font-face { + font-family: basiic; + src: url(../fonts/basiic.ttf); +} +@font-face { + font-family: 'Special Elite'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(../fonts/Special_Elite.woff2) format('woff2'); + unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; +} +html { + font-family: "Special Elite"; + background-color: var(--color0); + max-width: 70em; + margin: auto; +} + +h1 { + color: var(--color1); + text-align: center; + margin-bottom: .2em; +} + +h2 { + color: var(--color2); +} + +p { + color: var(--color1); +} +table { + color: var(--color1); +} +a { + color: var(--color4); +} + +li { + color: var(--color8); +} + +h3 { + color: var(--color6); +} + +h4 { + color: var(--color7); +} + +b { + color: var(--color3); +} + +div.outline-2 { + border: 4px solid var(--color5); + padding: 10px; + margin: 10px; +} + +img { + max-width: 100%; + height: auto; +} + +.figure p { + text-align: center; +} + +body::before { + content: ""; + display: block; + position: fixed; + top: 0; + left: 0; + bottom: 0; + right: 0; + background: linear-gradient(rgba(20, 20, 20, 0) 66%, #DA629B0B 33%); + background-size: 100% 9px; + z-index: 9999; + pointer-events: none; + animation: scanlines-anim 1.0s linear infinite; +} + +@keyframes scanlines-anim { + 0% { + background-position: 0px 0px; + } + 100% { + background-position: 0px 15px; + } +} + +@media only screen and (orientation: portrait) { + body::before { + background-size: 100% 4px; + } +} +@keyframes rotating { + from { + + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +} + +.smurf { +animation: rotating 2s linear infinite; + max-width: 40%; + height: auto; + +} +@keyframes paths { + 0% {clip-path: polygon(0% 43%,83% 43%,83% 22%,23% 22%,23% 24%,91% 24%,91% 26%,18% 26%,18% 83%,29% 83%,29% 17%,41% 17%,41% 39%,18% 39%,18% 82%,54% 82%,54% 88%,19% 88%,19% 4%,39% 4%,39% 14%,76% 14%,76% 52%,23% 52%,23% 35%,19% 35%,19% 8%,36% 8%,36% 31%,73% 31%,73% 16%,1% 16%,1% 56%,50% 56%,50% 8%);} + 5% {clip-path: polygon(0% 29%,44% 29%,44% 83%,94% 83%,94% 56%,11% 56%,11% 64%,94% 64%,94% 70%,88% 70%,88% 32%,18% 32%,18% 96%,10% 96%,10% 62%,9% 62%,9% 84%,68% 84%,68% 50%,52% 50%,52% 55%,35% 55%,35% 87%,25% 87%,25% 39%,15% 39%,15% 88%,52% 88%);} + 30% {clip-path: polygon(0% 53%,93% 53%,93% 62%,68% 62%,68% 37%,97% 37%,97% 89%,13% 89%,13% 45%,51% 45%,51% 88%,17% 88%,17% 54%,81% 54%,81% 75%,79% 75%,79% 76%,38% 76%,38% 28%,61% 28%,61% 12%,55% 12%,55% 62%,68% 62%,68% 51%,0% 51%,0% 92%,63% 92%,63% 4%,65% 4%);} + 45% {clip-path: polygon(0% 33%,2% 33%,2% 69%,58% 69%,58% 94%,55% 94%,55% 25%,33% 25%,33% 85%,16% 85%,16% 19%,5% 19%,5% 20%,79% 20%,79% 96%,93% 96%,93% 50%,5% 50%,5% 74%,55% 74%,55% 57%,96% 57%,96% 59%,87% 59%,87% 65%,82% 65%,82% 39%,63% 39%,63% 92%,4% 92%,4% 36%,24% 36%,24% 70%,1% 70%,1% 43%,15% 43%,15% 28%,23% 28%,23% 71%,90% 71%,90% 86%,97% 86%,97% 1%,60% 1%,60% 67%,71% 67%,71% 91%,17% 91%,17% 14%,39% 14%,39% 30%,58% 30%,58% 11%,52% 11%,52% 83%,68% 83% );} + 76% {clip-path: polygon(0% 26%,15% 26%,15% 73%,72% 73%,72% 70%,77% 70%,77% 75%,8% 75%,8% 42%,4% 42%,4% 61%,17% 61%,17% 12%,26% 12%,26% 63%,73% 63%,73% 43%,90% 43%,90% 67%,50% 67%,50% 41%,42% 41%,42% 46%,50% 46%,50% 84%,96% 84%,96% 78%,49% 78%,49% 25%,63% 25%,63% 14%);} + 90% {clip-path: polygon(0% 41%,13% 41%,13% 6%,87% 6%,87% 93%,10% 93%,10% 13%,89% 13%,89% 6%,3% 6%,3% 8%,16% 8%,16% 79%,0% 79%,0% 99%,92% 99%,92% 90%,5% 90%,5% 60%,0% 60%,0% 48%,89% 48%,89% 13%,80% 13%,80% 43%,95% 43%,95% 19%,80% 19%,80% 85%,38% 85%,38% 62%);} + 1%, 7%, 33%, 47%, 78%, 93% {clip-path: none;} +} +.mirrored-text { + transform: scaleX(-1); + display: inline-block; +} +.glitch span {animation: paths 5s step-end infinite;} +.glitch::before {animation: paths 5s step-end infinite, opacity 5s step-end infinite, font 8s step-end infinite, movement 10s step-end infinite;} +.glitch::after {animation: paths 5s step-end infinite, opacity 5s step-end infinite, font 7s step-end infinite, movement 8s step-end infinite;} + +.glitch-container { + position: relative; + padding: 0px 0; + text-align: center; +} |