all repos — retro-website @ 8362008c2a90a430cf4d088b3f7960b85b6bc3db

add plain version and create gf page
Marco Andronaco andronacomarco@gmail.com
Tue, 20 Sep 2022 15:17:11 +0200
commit

8362008c2a90a430cf4d088b3f7960b85b6bc3db

parent

04ee841fb60d2d1fb69656ea323abb2568aa63df

M index.htmlindex.html

@@ -18,7 +18,7 @@ </div>

<div id="main-container"> <div class="center" style="padding-top:30px;"> <a onmousedown="goToPage('about')"> - <img src="res/gif/text.gif" alt="BiRabittoh's cool website" class="hover-tilt"> + <img src="res/gif/index/text.gif" alt="BiRabittoh's cool website" class="hover-tilt"> </a> </div> <div id="menu-div" class="shadow">

@@ -26,41 +26,41 @@ <h1 style="margin-top:0px;">My favorite things:</h1>

<a onmousedown="goToPage('earthbound')"> <div class="menu-item"> <span>Earthbound</span> - <img src="res/gif/ness1.gif"> + <img src="res/gif/index/ness1.gif"> </div> </a> <a onmousedown="goToPage('zelda')"> <div class="menu-item"> <span>Zelda</span> - <img src="res/gif/linkmc.gif"> + <img src="res/gif/index/linkmc.gif"> </div> </a> <a onmousedown="goToPage('dragonquest')"> <div class="menu-item"> <span>Dragon Quest</span> - <img src="res/gif/slime1.gif"> + <img src="res/gif/index/slime1.gif"> </div> </a> <a onmousedown="goToPage('indies')"> <div class="menu-item"> <span>Indies</span> - <img src="res/gif/tutoriel.gif"> + <img src="res/gif/index/tutoriel.gif"> </div> </a> <a onmousedown="goToPage('anime')"> <div class="menu-item"> <span>Anime</span> - <img src="res/gif/jojo.gif"> + <img src="res/gif/index/jojo.gif"> </div> </a> <a onmousedown="goToPage('gf')"> <div class="menu-item"> <span>My perfect gf</span> - <img src="res/gif/kirby.gif"> + <img src="res/gif/index/kirby.gif"> </div> </a> </div> - <iframe id="mainframe" name="content" src="pages/about.html"></iframe> + <iframe id="mainframe" name="content" src="pages/about.html" height="1"></iframe> </div> <div id="music-player" onmouseenter="showTitle()" style="bottom: -100%"> <div id="music-player-base" onmousedown="playPause()">
A index.plain.html

@@ -0,0 +1,64 @@

+<!DOCTYPE html> +<html lang="en" style="height: 100%" onmousedown="firstClickPlay(this);"> + +<head> + <meta charset="UTF-8"> + <meta http-equiv="X-UA-Compatible" content="ie=edge"> + <title>BiRabittoh</title> + <link rel="stylesheet" href="res/css/style.css"> + <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2280%22>🥭</text></svg>"> +</head> + +<body style='background-image: url("res/img/background.jpg"); height: 100%;'> + <div id="main-container"> + <div class="center" style="padding-top:30px;"> + <a href="pages/about.html" target="content"> + <img src="res/gif/index/text.gif" alt="BiRabittoh's cool website" class="hover-tilt"> + </a> + </div> + <div id="menu-div" class="shadow"> + <h1 style="margin-top:0px;">My favorite things:</h1> + <a href="pages/earthbound.html" target="content"> + <div class="menu-item"> + <span>Earthbound</span> + <img src="res/gif/index/ness1.gif"> + </div> + </a> + <a href="pages/zelda.html" target="content"> + <div class="menu-item"> + <span>Zelda</span> + <img src="res/gif/index/linkmc.gif"> + </div> + </a> + <a href="pages/dragonquest.html" target="content"> + <div class="menu-item"> + <span>Dragon Quest</span> + <img src="res/gif/index/slime1.gif"> + </div> + </a> + <a href="pages/indies.html" target="content"> + <div class="menu-item"> + <span>Indies</span> + <img src="res/gif/index/tutoriel.gif"> + </div> + </a> + <a href="pages/anime.html" target="content"> + <div class="menu-item"> + <span>Anime</span> + <img src="res/gif/index/jojo.gif"> + </div> + </a> + <a href="pages/gf.html" target="content"> + <div class="menu-item"> + <span>My perfect gf</span> + <img src="res/gif/index/kirby.gif"> + </div> + </a> + </div> + <iframe scrolling="no" id="mainframe" name="content" src="pages/about.html" height="1000"></iframe> + </div> + <script>function firstClickPlay(){}</script> + <script src="res/js/frame-link-plain.js"></script> +</body> + +</html>
M pages/gf.htmlpages/gf.html

@@ -9,8 +9,53 @@ </head>

<body data-page="gf"> - <h1>My love Giulia</h1> + <span style="left: 95px; top:25px; font-size: xx-large; text-shadow: 2px 2px violet;"class="el center">My love Giulia</span> + <span style="left: 125px; top: 100px;" class="el center tilt-right deeppink white-shadow">This is my beautiful gf &#60;3</span> + <span style="left: 225px; top: 250px;" class="el center tilt-left deeppink white-shadow">Look at her --></span> + <span style="left: 180px; top: 400px;" class="el center tilt-left deeppink white-shadow">She's so perfect!!</span> + <div style="position: absolute; left: 333px; top: 11px;"> + <img style="width:60px;" class="el up-down" src="../res/gif/gf/heart_spin.gif" /> + </div> + <img style="left: 355px; top: 40px; z-index: -1;" class="el tilt-left" src="../res/img/giulia.gif" /> + <img style="left: 580px; top: 25px; width:220px; z-index:2;" class="el flip-x" src="../res/gif/gf/dove.gif" /> + <img style="left: 473px; top: 233px; width:60px;" class="el flip-x" src="../res/gif/gf/sparkle.gif" /> + <img style="left: 560px; top: 70px; width:60px;" class="el" src="../res/gif/gf/sparkle.gif" /> + <img style="left: 500px; top: 140px; width:30px;" class="el tilt-45" src="../res/gif/gf/star.gif" /> + <img style="left: 612px; top: 230px; width:30px;" class="el tilt-45" src="../res/gif/gf/star.gif" /> + <img style="left: 150px; top: 480px; width:500px;" class="el" src="../res/gif/gf/line_strawberries.gif" /> + + <span style="top: 530px;" class="el full-width"> <!-- reference for normal text --> + Her name is Giulia and she is currently trying to get a Physics degree while also working in a pizzeria, + helping with chores and dealing with a lot of weird people (me included). + She's among the strongest and smartest people I know, definitely the + most beautiful, and I'm so glad I get to hug her and be hers forever!! + </span> + <marquee style="left: 0; top: 712px;" class="el" width="100%"> + <span class="center mediumvioletred white-shadow">this is a pic of us together &#60;3</span> + </marquee> + <img style="left: 190px; top: 680px; z-index: -1;" class="el tilt-right" src="../res/img/rockers.gif" /> + <img style="left: 553px; top: 668px; width: 150px; z-index: -2;" class="el tilt-left" src="../res/gif/gf/3dheart.gif" /> + <img style="left: 360px; top: 830px; width: 80px;" class="el" src="../res/gif/gf/heart.gif" /> + <img style="left: 465px; top: 740px; width: 100px;" class="el flip-y" src="../res/gif/gf/whiteflower.gif" /> + <img style="left: 345px; top: 980px; width: 100px;" class="el" src="../res/gif/gf/spinningheartmedium.gif" /> + + <span style="left: 50px; top: 1130px;" class="el half-width"> + She likes cats, hamsters and anything that's pink and cute, which is weird because I am neither of those things. + </span> + <img style="left: 50px; top: 1220px;" class="el" src="../res/gif/gf/hamtaro.gif" /> + <img style="left: 200px; top: 1435px;" class="el" src="../res/gif/gf/mew.gif" /> + <img style="left: 260px; top: 1455px;" class="el" src="../res/gif/gf/heartbounce.gif" /> + <img style="left: 268px; top: 1447px; width: 70px;" class="el flip-x" src="../res/gif/gf/pikachu.gif" /> + + + <span style="left: 297px; top: 1510px; line-height:2px; text-shadow: none" class="el center">^<br />|</span> + <span style="left: 236px; top: 1510px; line-height:2px; text-shadow: none" class="el center">^<br />|</span> + <span style="left: 225px; top: 1515px;" class="el">her</span> + <span style="left: 290px; top: 1515px;" class="el">me</span> + <span style="left: 450px; top: 1130px" class="el half-width">One time she ate too much soup and then she felt sick but she still wanted more soup</span> + <img style="left: 300px; top: 1130px;" class="el" src="../res/gif/gf/soup.gif" /> + <script src="../res/js/slow_load.js"></script> <script src="../res/js/iframe.js"></script> </body>
M res/css/style.cssres/css/style.css

@@ -19,10 +19,10 @@ html {

font-family: "04b_03"; color: white; cursor: url("../cur/cursor2x.cur"), auto; + text-shadow: 1px 1px #000000; } #mainframe { - height: inherit; width: 100%; border: 0px; cursor: url("../cur/cursor2x.cur"), auto;

@@ -36,10 +36,6 @@ img {

image-rendering: pixelated; } -.center { - text-align: center; -} - .hover-tilt { transition: transform .1s ease-in-out; rotate: -1.5deg;

@@ -53,10 +49,6 @@ /* width: calc(100% / 2); */

height: 100%; width: 800px; margin: auto; -} - -.shadow { - text-shadow: 1px 1px #000000; } #menu-div {

@@ -137,3 +129,80 @@ background-image: url("../img/player_overlay.png");

cursor: url("../cur/pointer2x.cur"), auto; background-size: contain; } + +/* PAGES STUFF */ +.full-width { + left: 50px; + width: 700px; +} + +.half-width { + width: 300px; +} + +.center { + text-align: center; +} + +.left { + text-align: left; +} + +.right { + text-align: left; +} + +.tilt-right { + rotate: 2deg; +} + +.tilt-left { + rotate: -2deg; +} + +.tilt-45 { + rotate: 45deg; +} + +.flip-x { + transform: scaleX(-1); +} + +.flip-y { + transform: scaleY(-1); +} + +.white-shadow { + text-shadow: 1px 1px white; +} + +.deeppink { + color: deeppink; +} + +.mediumvioletred { + color: mediumvioletred; +} + +.el { + position: absolute; + overflow-wrap: break-word; + font-size: large; + line-height: 25px; +} + +.up-down { + animation: MoveUpDown 3s linear infinite; + position: relative; + left: 0; + bottom: 0; +} + +@keyframes MoveUpDown { + 0%, 100% { + bottom: 0; + } + 50% { + bottom: 10px; + } + }
M res/js/iframe.jsres/js/iframe.js

@@ -1,1 +1,19 @@

-hide_all();+ +if (!parent.location.href.includes("plain")) { + hide_all(); +} +const page_height = { + "about": 1500, + "anime": 1000, + "dragonquest": 1000, + "earthbound": 1000, + "gf": 1600, + "indies": 1000, + "zelda": 1000 +} + +const page = document.body.getAttribute("data-page"); +const iframe = parent.document.getElementById("mainframe"); + +iframe.height = page_height[page]; +iframe.scrolling = "no";