aboutsummaryrefslogtreecommitdiff
path: root/static/@solitude/css
diff options
context:
space:
mode:
authorBobby <[email protected]>2023-07-11 22:54:23 -0400
committerBobby <[email protected]>2023-07-11 22:54:23 -0400
commit1038819ecd3af7056fba5121ff46a2ac748468f9 (patch)
treec215066d2915ebd95b80bfd1a226b26faaf7e5c8 /static/@solitude/css
parent0dfce68729c7bf768b035157849366fb40638bca (diff)
downloadthatcomputerscientist-1038819ecd3af7056fba5121ff46a2ac748468f9.tar.xz
thatcomputerscientist-1038819ecd3af7056fba5121ff46a2ac748468f9.zip
Music working. Welcome page added
Diffstat (limited to 'static/@solitude/css')
-rw-r--r--static/@solitude/css/shared.css0
-rw-r--r--static/@solitude/css/welcome/audio.css142
-rw-r--r--static/@solitude/css/welcome/welcome.css98
3 files changed, 240 insertions, 0 deletions
diff --git a/static/@solitude/css/shared.css b/static/@solitude/css/shared.css
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/static/@solitude/css/shared.css
diff --git a/static/@solitude/css/welcome/audio.css b/static/@solitude/css/welcome/audio.css
new file mode 100644
index 00000000..ca5b144c
--- /dev/null
+++ b/static/@solitude/css/welcome/audio.css
@@ -0,0 +1,142 @@
+.audio-bars {
+ position: relative;
+ display: flex;
+ width: auto;
+ transform: scale3d(2, 2, 1); /* EZ SCALE */
+}
+.bar {
+ background: #fff;
+ height: 20px;
+ width: 2px;
+ margin-right: 2px;
+}
+.bar:last-child {
+ margin-right: 0;
+}
+
+@keyframes sound {
+ 0% {
+ transform: scale3d(1, 0.1, 1);
+ }
+ 100% {
+ transform: scale3d(1, 1, 1);
+ }
+}
+@keyframes sound2 {
+ 0% {
+ transform: scale3d(1, 0.1, 1);
+ }
+ 100% {
+ transform: scale3d(1, 0.5, 1);
+ }
+}
+
+.bar:nth-child(1) {
+ animation: sound2 0ms -800ms linear infinite alternate;
+ animation-duration: 200ms;
+}
+.bar:nth-child(2) {
+ animation: sound 0ms -800ms linear infinite alternate;
+ animation-duration: 300ms;
+}
+.bar:nth-child(3) {
+ animation: sound 0ms -800ms linear infinite alternate;
+ animation-duration: 200ms;
+}
+.bar:nth-child(4) {
+ animation: sound 0ms -800ms linear infinite alternate;
+ animation-duration: 250ms;
+}
+.bar:nth-child(5) {
+ animation: sound2 0ms -800ms linear infinite alternate;
+ animation-duration: 150ms;
+}
+
+#welcome-playlist-player {
+ background: rgba(0, 0, 0, 0.5);
+ border-radius: 16px 0 0 16px;
+ box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
+ backdrop-filter: blur(5.5px);
+ -webkit-backdrop-filter: blur(5.5px);
+ border: 1px solid rgba(0, 0, 0, 0.3);
+ padding: 16px;
+ position: absolute;
+ bottom: 2rem;
+ right: 0;
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 1.5rem;
+ transition: all 0.5s ease;
+}
+
+.controls {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ width: 1rem;
+ height: 1rem;
+ padding: 0.8rem;
+ border: 0.2rem solid var(--button-color);
+ border-radius: 50%;
+ filter: drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.8));
+}
+
+.player {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 1.5rem;
+}
+
+.play {
+ height: 0;
+ width: 0;
+ margin-left: calc(2 * 0.25 * var(--button-height));
+ /*margin-left: 17px;*/
+ background: none;
+ border: none;
+ border-top: var(--button-height) solid transparent;
+ border-bottom: var(--button-height) solid transparent;
+ border-left: calc(var(--button-height) * 2 * 0.86) solid var(--button-color);
+}
+
+.pause {
+ position: relative;
+ background: none;
+ border: none;
+ height: calc(var(--button-height) * 2);
+ width: calc(var(--button-height) * 2 * 0.86);
+}
+.pause:before,
+.pause:after {
+ content: "";
+ position: absolute;
+ top: 0;
+ height: 100%;
+ width: 33%;
+ background: var(--button-color);
+}
+.pause:before {
+ left: 0;
+}
+.pause:after {
+ right: 0;
+}
+
+.hidden {
+ display: none;
+}
+
+.title {
+ color: #7679f5;
+}
+
+.artist {
+ color: #e2fdff;
+}
+
+.track {
+ letter-spacing: 0.1rem;
+}
+
diff --git a/static/@solitude/css/welcome/welcome.css b/static/@solitude/css/welcome/welcome.css
new file mode 100644
index 00000000..22a1a747
--- /dev/null
+++ b/static/@solitude/css/welcome/welcome.css
@@ -0,0 +1,98 @@
+/*
+ Shifoo's Solitude by Bobby
+ --------------------------
+ Shifoo's Solitude is a Web Dungeon located beyond the Dark Hollows of the Endless Information SuperHighway — a dark yet tranquil place where all questions end, curiosity begins, the mind awakens, and one's journey begins anew in the solitude of a serene mind!
+ --------------------------
+
+ File: welcome.css
+ Description: CSS for the welcome page (exclusively)
+ Date: Jul 11, 2023
+ Last Modified: Jul 11, 2023
+*/
+@import url("https://fonts.googleapis.com/css2?family=Handlee&family=Poppins:wght@400&family=Share:wght@700&display=swap");
+@import url(audio.css);
+:root {
+ --button-height: 0.5rem;
+ --button-color: #edd;
+ color-schema: dark;
+ font-family: "Handlee", cursive;
+}
+
+* {
+ margin: 0;
+ padding: 0;
+ color: white;
+}
+
+#cover-video {
+ position: fixed;
+ top: 0;
+ left: 0;
+ height: 100%;
+ width: 100%;
+ object-fit: cover;
+ z-index: -100;
+}
+
+#cover-wrapper {
+ position: fixed;
+ top: 0;
+ left: 0;
+ min-width: 100%;
+ min-height: 100%;
+ height: 100%;
+ width: 100%;
+ background-color: rgba(0, 0, 0, 0.15);
+ z-index: -99;
+}
+
+#welcome-content {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ min-height: 100vh;
+}
+
+.cwrapper {
+ text-align: center;
+}
+
+p {
+ margin: 0;
+ padding: 0;
+}
+
+.small {
+ font-size: 0.8rem;
+ margin: 0.5rem 0;
+ color: #aaa;
+}
+
+#welcome-button {
+ font-family: "Poppins", sans-serif;
+ font-size: 1.5rem;
+ padding: 0.5rem 1rem;
+ border-radius: 0.5rem;
+ transition: all 0.2s ease-in-out;
+ margin-top: 10rem;
+}
+
+.description {
+ font-family: "Share", sans-serif;
+ font-size: 1rem;
+ margin-top: -4rem;
+ letter-spacing: 0.1rem;
+}
+
+.text-box {
+ font-family: "Share", cursive;
+}
+
+.text-box > h1 {
+ margin: 0;
+ font-size: 10rem;
+ color: rgb(255 255 255 / 60%);
+ padding: .5em;
+}
+