commit 5da1f81ea9f26958169bbb4338c13b7687353c44 Author: floppydiskette Date: Sat Aug 10 20:10:26 2024 +0100 Add source diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbe9c82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vscode/ \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..502ef11 --- /dev/null +++ b/index.html @@ -0,0 +1,19 @@ + + + + + + + weh.moe + + + + +
+

weh.moe

+
+ +
+ + + diff --git a/weh.css b/weh.css new file mode 100644 index 0000000..a534696 --- /dev/null +++ b/weh.css @@ -0,0 +1,34 @@ +:root { + --background: #353535; + --foreground: white; +} + +body { + background-color: var(--background); + color: var(--foreground); + font-family: sans-serif; +} + +p, +h1 { + margin: 0 +} + +div.weh { + background-image: url('/weh.png'); + background-size: 50vh; + height: 50vh; + width: 50vh; + box-shadow: 0 0 25px 25px var(--background) inset; + margin: 30px auto; + +} + +div.container { + position: absolute; + left: 50%; + top: 50%; + -webkit-transform: translate(-50%, -50%); + transform: translate(-50%, -50%); + text-align: center; +} diff --git a/weh.js b/weh.js new file mode 100644 index 0000000..eb6a4ff --- /dev/null +++ b/weh.js @@ -0,0 +1,742 @@ +const quotes = [ + { + "lines": [ + { + "character": "KING", + "line": "Can it, Fangs! You don't know diddly-dang about squiddly-squat!" + } + ], + "attribution": "The Owl House, S1E13" + }, + { + "lines": [ + { + "character": "KING", + "line": "Holy bones, you poofed it! Call the cops, this guy's crazy!" + } + ], + "attribution": "The Owl House, S1E14" + }, + { + "lines": [ + { + "character": "KING", + "line": "Who dares intrude upon I, the King of Demons?!" + } + ], + "attribution": "The Owl House, S1E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "Soon, Mr. Ducky, we shall drink the fear of those who mocked us." + } + ], + "attribution": "The Owl House, S1E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "Try to catch me when I\u2019m covered in grease! I'm a squirmy little fella." + } + ], + "attribution": "The Owl House, S1E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "My crown! Yes, yes! I can feel my powers returning! You, there. Nightmare critter. I shall call you Francois, and you shall be a minion in my army of darkness. Ha\u2010ha!" + } + ], + "attribution": "The Owl House, S1E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "Weh?" + } + ], + "attribution": "The Owl House, S1E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "That was actually one of her better breakups!" + } + ], + "attribution": "The Owl House, S1E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "I AM NOT YOUR CUTIE-PIE!!!" + } + ], + "attribution": "The Owl House, S1E2" + }, + { + "lines": [ + { + "character": "KING", + "line": "Ha! Good luck. The Boiling Isles is nothing but a cesspool of despair." + } + ], + "attribution": "The Owl House, S1E2" + }, + { + "lines": [ + { + "character": "KING", + "line": "You should run a small business of more scones into my mouth." + } + ], + "attribution": "The Owl House, S1E2" + }, + { + "lines": [ + { + "character": "KING", + "line": "Finally, all that mean-spirited laughter made me sleepy." + } + ], + "attribution": "The Owl House, S1E2" + }, + { + "lines": [ + { + "character": "KING", + "line": "Less talky, more nappy." + } + ], + "attribution": "The Owl House, S1E2" + }, + { + "lines": [ + { + "character": "KING", + "line": "Can't mistake her smell. Like lemons and young, na\u00efve confidence." + } + ], + "attribution": "The Owl House, S1E2" + }, + { + "lines": [ + { + "character": "KING", + "line": "I have no son! Eat salt!" + } + ], + "attribution": "The Owl House, S1E3" + }, + { + "lines": [ + { + "character": "KING", + "line": "Even demons have inner demons." + } + ], + "attribution": "The Owl House, S1E4" + }, + { + "lines": [ + { + "character": "KING", + "line": "Look, now we're boo-boo buddies!" + } + ], + "attribution": "The Owl House, S1E4" + }, + { + "lines": [ + { + "character": "KING", + "line": "Bap!" + } + ], + "attribution": "The Owl House, S1E4" + }, + { + "lines": [ + { + "character": "KING", + "line": "Remember when her head got cut off last week? That woman can survive anything. She's probably just tired from staying up all night chasing shrews and voles." + } + ], + "attribution": "The Owl House, S1E4" + }, + { + "lines": [ + { + "character": "KING", + "line": "That voice. That horrific voice!!!" + } + ], + "attribution": "The Owl House, S1E4" + }, + { + "lines": [ + { + "character": "KING", + "line": "Show me the picture! Hah! I can draw better than that. You know, they once called me the King of Artists." + } + ], + "attribution": "The Owl House, S1E5" + }, + { + "lines": [ + { + "character": "KING", + "line": "Are you bestowing gifts upon me? Yes! I accept your offering! The King of Demons is back!" + } + ], + "attribution": "The Owl House, S1E5" + }, + { + "lines": [ + { + "character": "KING", + "line": "Cupcakes in my tummy-tum makes the King say yummy-yum!" + } + ], + "attribution": "The Owl House, S1E5" + }, + { + "lines": [ + { + "character": "KING", + "line": "Mmm? Oh, yeah. No." + } + ], + "attribution": "The Owl House, S1E5" + }, + { + "lines": [ + { + "character": "KING", + "line": "I'm stealing everything that's not nailed down!" + } + ], + "attribution": "The Owl House, S1E6" + }, + { + "lines": [ + { + "character": "KING", + "line": "King? Who's King? I go by Little Bone Boy now." + } + ], + "attribution": "The Owl House, S1E6" + }, + { + "lines": [ + { + "character": "KING", + "line": "Rivals are meant to be annihilated not befriended. Now keep reading. I've been sucked into your awful fandom." + } + ], + "attribution": "The Owl House, S1E7" + }, + { + "lines": [ + { + "character": "KING", + "line": "What does Luz know about problems anyway? All she has is dumb teen drama! She doesn't understand how hard some of us have it." + } + ], + "attribution": "The Owl House, S1E8" + }, + { + "lines": [ + { + "character": "KING", + "line": "Well, I don't know if you realized, but I'm not a baby!" + } + ], + "attribution": "The Owl House, S1E8" + }, + { + "lines": [ + { + "character": "KING", + "line": "My life is a living nightmare!" + } + ], + "attribution": "The Owl House, S1E8" + }, + { + "lines": [ + { + "character": "KING", + "line": "Fight to the death!" + } + ], + "attribution": "The Owl House, S1E8" + }, + { + "lines": [ + { + "character": "KING", + "line": "I've got some... very confusing emotions right now." + } + ], + "attribution": "The Owl House, S1E8" + }, + { + "lines": [ + { + "character": "KING", + "line": "All right, you acne\u2010encrusted hormone buckets. Let's go let out some teen angst!" + } + ], + "attribution": "The Owl House, S1E8" + }, + { + "lines": [ + { + "character": "KING", + "line": "Ooh! Fight, fight, fight!" + } + ], + "attribution": "The Owl House, S1E9" + }, + { + "lines": [ + { + "character": "KING", + "line": "Yes! Yes! This is a throne worthy of a tyrant. Bow to me you snotty underlings. Bow!" + } + ], + "attribution": "The Owl House, S1E10" + }, + { + "lines": [ + { + "character": "KING", + "line": "*Rage squeals*" + } + ], + "attribution": "The Owl House, S1E10" + }, + { + "lines": [ + { + "character": "KING", + "line": "Hey you scum! Which one of you wants to read my literary masterpiece? Anyone brave enough?" + } + ], + "attribution": "The Owl House, S1E11" + }, + { + "lines": [ + { + "character": "KING", + "line": "I've always wanted a people chair! I'm in! This will be my first step in my reclamation of power!" + } + ], + "attribution": "The Owl House, S1E11" + }, + { + "lines": [ + { + "character": "KING", + "line": "I'm sorry, my lawyer advised me not to look at unsolicited work." + } + ], + "attribution": "The Owl House, S1E11" + }, + { + "lines": [ + { + "character": "KING", + "line": "What's a book? Good night!" + } + ], + "attribution": "The Owl House, S1E11" + }, + { + "lines": [ + { + "character": "KING", + "line": "Hey! Less ready, more scratchy!" + } + ], + "attribution": "The Owl House, S1E12" + }, + { + "lines": [ + { + "character": "KING", + "line": "Military discipline, cooking! Ha, I truly am a demon for all seasons! Just a dash of Eda's secret sauce and I'm the creator of life!" + } + ], + "attribution": "The Owl House, S1E12" + }, + { + "lines": [ + { + "character": "KING", + "line": "This day shall live in infamy." + } + ], + "attribution": "The Owl House, S1E12" + }, + { + "lines": [ + { + "character": "KING", + "line": "Obedience? Well, what is a teacher if not an authority figure? A king of children, if you will. Yes! I am your teacher! You may call me Mr. King!" + } + ], + "attribution": "The Owl House, S1E13" + }, + { + "lines": [ + { + "character": "KING", + "line": "Assume a coefficient of ten, carry the two, solve for Y, and that is the way to steal a pie from a windowsill! Also you can eat trash." + } + ], + "attribution": "The Owl House, S1E13" + }, + { + "lines": [ + { + "character": "KING", + "line": "Alright. Read chapters three to five on the right way to scratch yourself in public. Spoiler alert: There's no wrong way! Ah, days like these make being a teacher all worth it." + } + ], + "attribution": "The Owl House, S1E13" + }, + { + "lines": [ + { + "character": "KING", + "line": "Oh dear, I've gotten a tube stuck on my nose! Will I ever eat again? Looks like I'm toast!" + } + ], + "attribution": "The Owl House, S1E14" + }, + { + "lines": [ + { + "character": "KING", + "line": "The King of Demons misses nobody! I wouldn't care if she came through this door right now!" + } + ], + "attribution": "The Owl House, S1E14" + }, + { + "lines": [ + { + "character": "KING", + "line": "Beat up the man and steal his things for me!" + } + ], + "attribution": "The Owl House, S1E14" + }, + { + "lines": [ + { + "character": "KING", + "line": "I'm gonna bake that kid into a pie!" + } + ], + "attribution": "The Owl House, S1E15" + }, + { + "lines": [ + { + "character": "KING", + "line": "Senseless violence. Yes, attack! DEATH IS YOUR GOD!" + } + ], + "attribution": "The Owl House, S1E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "I FORGE MY OWN PATH!" + } + ], + "attribution": "The Owl House, S1E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "Why am I doing this? I don't even wear clothes!" + } + ], + "attribution": "The Owl House, S1E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "Ha! What possible regrets could come from the internet? Oh, did you know the earth is actually flat!" + } + ], + "attribution": "The Owl House, S1E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "We're going to turn this blood-bath into a fun-bath!" + } + ], + "attribution": "The Owl House, S1E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "Girl, you can pull off anything! Up top! We're style geniuses!" + } + ], + "attribution": "The Owl House, S1E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "Now I am king and queen! Best of both things!" + } + ], + "attribution": "The Owl House, S1E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "Yes! Now I\u2019ll strike fear into my enemies with this armor of intimidation." + } + ], + "attribution": "The Owl House, S1E17" + }, + { + "lines": [ + { + "character": "KING", + "line": "You know what, when she first got here, I thought we were gonna eat her. But now I only think of that, like, sometimes." + } + ], + "attribution": "The Owl House, S1E18" + }, + { + "lines": [ + { + "character": "KING", + "line": "The cake is me!" + } + ], + "attribution": "The Owl House, S1E18" + }, + { + "lines": [ + { + "character": "KING", + "line": "Me and Eda don't always see eye to eye, but I do consider her family. I want her back as much as you do." + } + ], + "attribution": "The Owl House, S1E19" + }, + { + "lines": [ + { + "character": "KING", + "line": "We'll have to do something so diabolical, so criminally insane, that they'll have to send us to the Conformatorium." + } + ], + "attribution": "The Owl House, S1E19" + }, + { + "lines": [ + { + "character": "KING", + "line": "I'm never letting you go! You're never returning to the human realm!" + } + ], + "attribution": "The Owl House, S2E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "King want a cracker!" + } + ], + "attribution": "The Owl House, S2E1" + }, + { + "lines": [ + { + "character": "KING", + "line": "Weh? Yeah yeah, I'll deal with it. No one ever said power came with responsibility..." + } + ], + "attribution": "The Owl House, S2E2" + }, + { + "lines": [ + { + "character": "KING", + "line": "The King of Demons yields to no one!" + } + ], + "attribution": "The Owl House, S2E3" + }, + { + "lines": [ + { + "character": "KING", + "line": "Ah, the chamber where I would devour the hearts of my foes. The taste was cold and bitter, but I bet yours would be sweet, Luz." + } + ], + "attribution": "The Owl House, S2E3" + }, + { + "lines": [ + { + "character": "KING", + "line": "Is that a six-footed pig or a floating appendage? Why, no! It's Gus the Illusion Master. Please leave a message." + } + ], + "attribution": "The Owl House, S2E5" + }, + { + "lines": [ + { + "character": "KING", + "line": "And weh, and weh, and weh, and weh, and weh, and weh, and weh, and weh!" + } + ], + "attribution": "The Owl House, S2E7" + }, + { + "lines": [ + { + "character": "KING", + "line": "Haha! Saint Epiderm? More like Stank Epiderm!" + } + ], + "attribution": "The Owl House, S2E7" + }, + { + "lines": [ + { + "character": "KING", + "line": "DID YOU OWL PELLET ME?!" + } + ], + "attribution": "The Owl House, S2E8" + }, + { + "lines": [ + { + "character": "KING", + "line": "You look like one of my hairballs. Let's just do the trench coat thing!" + } + ], + "attribution": "The Owl House, S2E9" + }, + { + "lines": [ + { + "character": "KING", + "line": "Guess minecart chases are a lot more dangerous than video games make'em seem." + } + ], + "attribution": "The Owl House, S2E9" + }, + { + "lines": [ + { + "character": "KING", + "line": "I can't wait to eat HUMAN snacks!" + } + ], + "attribution": "The Owl House, S2E10" + }, + { + "lines": [ + { + "character": "KING", + "line": "It was the... yeast I could do." + } + ], + "attribution": "The Owl House, S2E11" + }, + { + "lines": [ + { + "character": "KING", + "line": "With my love of mayhem and Hooty\u2019s desperate need for attention, this\u2019ll be a cake walk!" + } + ], + "attribution": "The Owl House, S2E11" + }, + { + "lines": [ + { + "character": "KING", + "line": "Ooh! That'll work great when birds try to fly away with me." + } + ], + "attribution": "The Owl House, S2E14" + }, + { + "lines": [ + { + "character": "KING", + "line": "What you need is a healthy distractions from your problems. Like breakfast!" + } + ], + "attribution": "The Owl House, S2E14" + }, + { + "lines": [ + { + "character": "KING", + "line": "Is this thing on? Demon King to Luzura, you copy?" + } + ], + "attribution": "The Owl House, S2E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "Uh, oh. Uh... Hable m\u00e1s lento, por favor." + } + ], + "attribution": "The Owl House, S2E16" + }, + { + "lines": [ + { + "character": "KING", + "line": "The Collector is just a little kid. A scary, powerful one, but\u2026 also\u2026 sad, and alone. I don\u2019t know, this whole time, I was scared of making him mad, but\u2026 I think I can relate to him." + } + ], + "attribution": "The Owl House, S3E1" + } +]; + +function toTitleCase(str) { + return str.replace( + /\w\S*/g, + text => text.charAt(0).toUpperCase() + text.substring(1).toLowerCase() + ); +} + +const randomIndex = Math.floor(Math.random() * quotes.length); +const quote = quotes[randomIndex]; +document.write(`"${quote.lines[0].line}"
~ ${toTitleCase(quote.lines[0].character)} (${quote.attribution})`) diff --git a/weh.png b/weh.png new file mode 100644 index 0000000..dd99037 Binary files /dev/null and b/weh.png differ