Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <title>Temptation</title>
- <style>
- @import url(https://fonts.googleapis.com/css?family=Radley|Fondamento|Staatliches);
- html, body {
- overflow: hidden;
- margin: 0;
- }
- body {
- background: #556270; /* fallback for old browsers */
- background: -webkit-linear-gradient(to right, #6c2415, #556270); /* Chrome 10-25, Safari 5.1-6 */
- background: linear-gradient(to right, #6c2415, #556270); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
- transition: background 1s ease; /* Added transition for smooth gradient change */
- }
- ::-webkit-scrollbar-button:vertical {
- background-color: transparent;
- }
- ::-webkit-scrollbar-thumb:vertical {
- background-color: transparent;
- height: 0px;
- }
- ::-webkit-scrollbar-thumb:horizontal {
- background-color: transparent;
- height: 0px;
- }
- ::-webkit-scrollbar {
- height: 0px;
- width: 0px;
- background-color: transparent;
- }
- #image {
- width: 33vw;
- margin: 0px;
- border: none;
- height: 50vw;
- background-color: transparent;
- position: absolute;
- left: 0vw;
- bottom: 0vw;
- background-image: url("https://i.ibb.co/gdv27nW/1.png");
- background-repeat: no-repeat;
- background-position: bottom;
- background-size: 100%;
- }
- #mirror {
- width: 33vw;
- margin: 0px;
- border: none;
- height: 50vw;
- background-color: transparent;
- position: absolute;
- right: 0vw;
- bottom: 0vw;
- transform: scaleX(-1);
- background-image: url("https://i.ibb.co/gdv27nW/1.png");
- background-repeat: no-repeat;
- background-position: bottom;
- background-size: 100%;
- }
- #header1 {
- line-height: 2vw;
- letter-spacing: 0.2vw;
- font-size: 6vh;
- font-family: 'Radley';
- text-align: center;
- color: #fff;
- text-shadow: 3px 1px 2px #15181F, 0 0 25px #15181F;
- margin-top: 40vh;
- cursor: pointer; /* Added cursor pointer for better UX */
- transition: color 0.5s ease, text-shadow 0.5s ease; /* Added transition for smooth effect */
- }
- #header1:hover {
- color: #8B0000; /* Blood red color */
- text-shadow: 3px 1px 2px #000, 0 0 25px #000; /* Font glow effect */
- }
- /* Keyframes for animation */
- @keyframes slideRight {
- 0% { transform: translateX(0); opacity: 1; }
- 100% { transform: translateX(100vw); opacity: 0; }
- }
- @keyframes slideLeft {
- 0% { transform: translateX(0) scaleX(-1); opacity: 1; }
- 100% { transform: translateX(-100vw) scaleX(-1); opacity: 0; }
- }
- @keyframes vanish {
- 0% { opacity: 1; }
- 100% { opacity: 0; }
- }
- /* CSS for secondary page image */
- .alias {position: absolute;
- font-family: 'Fondamento';
- color: #000;
- font-size: 3vw;
- top: 1vw;
- right: 24vw;
- width: 50vw;
- height: 5vw;
- border: 0px solid #000;
- text-align: center;
- text-shadow: -1px 0 #000, 0 1px #000,1px 0 #000, 0 -1px #000;
- font-weight: bold;
- overflow: auto;
- padding:5px 5px 5px 5px;
- z-index: 7;}
- #image2 {
- width: 25vw;
- margin: auto;
- border: 2px solid #000;
- height: 10vw;
- background-color: transparent;
- position: absolute;
- left: 10vw;
- top: 5vw;
- padding: 5px;
- background-image: url("https://i.ibb.co/19GWPZn/1.png");
- background-repeat: no-repeat;
- background-position: bottom;
- background-size: 100%;
- }
- #image3 {
- width: 25vw;
- margin: auto;
- border: 2px solid #000;
- height: 10vw;
- background-color: transparent;
- position: absolute;
- left: 37vw;
- top: 5vw;
- padding: 5px;
- background-image: url("https://i.ibb.co/3FRyJ9S/3.png");
- background-repeat: no-repeat;
- background-position: bottom;
- background-size: 100%;
- }
- #image4 {
- width: 25vw;
- margin: auto;
- border: 2px solid #000;
- height: 10vw;
- background-color: transparent;
- position: absolute;
- left: 64vw;
- top: 5vw;
- padding: 5px;
- background-image: url("https://i.ibb.co/9WfgHgR/2.png");
- background-repeat: no-repeat;
- background-position: bottom;
- background-size: 100%;
- }
- #container1 {
- width: 25vw;
- height: 30vw;
- margin:auto;
- position: absolute;
- padding: 5px;
- left: 10vw;
- top: 16vw;
- z-index:1;
- font-size: 18px;
- font-family: 'Staatliches', cursive;
- border: 2px solid #000;
- background-color: #556270;
- background-image: url("https://www.transparenttextures.com/patterns/bedge-grunge.png");
- z-index:1;
- }
- #container2 {
- width: 25vw;
- height: 30vw;
- margin:auto;
- position: absolute;
- padding: 5px;
- left: 37vw;
- top: 16vw;
- z-index:1;
- font-size: 18px;
- font-family: 'Staatliches', cursive;
- border: 2px solid #000;
- background-color: #556270;
- background-image: url("https://www.transparenttextures.com/patterns/bedge-grunge.png");
- z-index:1;
- }
- #container3 {
- width: 25vw;
- height: 30vw;
- margin:auto;
- position: absolute;
- padding: 5px;
- left: 64vw;
- top: 16vw;
- z-index:1;
- font-size: 18px;
- font-family: 'Staatliches', cursive;
- border: 2px solid #000;
- background-color: #556270;
- background-image: url("https://www.transparenttextures.com/patterns/bedge-grunge.png");
- z-index:1;
- }
- /* Additional styles for the secondary page */
- #secondaryPage {
- display: none;
- background: #556270; /* fallback for old browsers */
- background: -webkit-linear-gradient(to right, #6c2415, #556270); /* Chrome 10-25, Safari 5.1-6 */
- background: linear-gradient(to right, #6c2415, #556270); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
- height: 100vh;
- width: 100vw;
- position: absolute;
- top: 0;
- left: 0;
- }
- a {text-decoration: none; color: #3a6186;}
- h1 {
- background: url(https://c.tenor.com/cDQN9Jc-mPcAAAAC/sky-red.gif);
- background-position: left;
- background-size:cover;
- line-height:1vw;
- letter-spacing: 0.2vw;
- font-size: 4vh;
- font-family: 'Cinzel Decorative';
- text-align: center;
- border: .2vh solid #15181F;
- border-radius: 10px;
- color: #c0c0c0;
- filter: drop-shadow(0px 0px 10px #15181F);
- text-shadow: 3px 1px 2px #15181F, 0 0 25px #15181F;
- margin-top: 1vh;
- }
- </style>
- </head>
- <body>
- <div id="header1" onclick="beginFight()">OPEN</div>
- <div id="image"></div>
- <div id="mirror"></div>
- <div id="secondaryPage">
- <!-- Content of secondary page -->
- <div id="image2"></div>
- <div id="image3"></div>
- <div id="image4"></div>
- <div class="alias">Let the temptation consume you...</div>
- <div id="container1">
- <div style="width: 25vw; height: auto; overflow-y: hidden;">
- <h1>Statistics</h1>
- <div style="width: 25vw; height: auto; overflow: auto;" align="center">
- <span style="float:left;"><b>True Name</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Alias(es)</b></span><span style="float:right;"><a title="HERE">hover</a></span><br>
- <span style="float:left;"><b>Gender</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Apparent Age</b></span><span style="float:right;">HERE</span><br><br>
- <span style="float:left;"><b>Ethnicity</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Orientation</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Marital Status</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Affiliation</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Alignment</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Handicaps</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Allergies</b></span><span style="float:right;">HERE</span><br><br>
- <span style="float:left;"><b>Height</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Weight</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Body Type</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Iris Color</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Hair Color</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Skin Tone</b></span><span style="float:right;">HERE</span><br>
- <span style="float:left;"><b>Dominant Hand</b></span><span style="float:right;">HERE</span>
- </div>
- </div>
- </div>
- <div id="container2">
- <div style="width: 25vw; height: auto; overflow-y: hidden;">
- <h1>Abilities</h1>
- <div style="width: 25vw; height: auto; overflow: auto;" align="left">
- TBA
- </div>
- </div>
- </div>
- <div id="container3">
- <div style="width: 25vw; height: auto; overflow-y: hidden;">
- <h1>Out of Character</h1>
- <div style="width: 25vw; height: auto; overflow: auto;" align="left">
- <center><b>00</b>. Code made by RageQxeen, do not steal.</center><br>
- <b>01</b>. OOC<br>
- <b>02</b>. OOC<br>
- <b>03</b>. OOC<br>
- <b>04</b>. OOC<br>
- <b>05</b>. OOC<br>
- </div>
- </div>
- </div>
- </div>
- <script>
- function beginFight() {
- var header = document.getElementById('header1');
- var image = document.getElementById('image');
- var mirror = document.getElementById('mirror');
- var secondaryPage = document.getElementById('secondaryPage');
- // Add animations to header and image
- header.style.animation = 'vanish 1s ease-out forwards';
- image.style.animation = 'slideRight 1s ease-out forwards';
- // Start mirror animation after a delay
- setTimeout(function() {
- mirror.style.animation = 'slideLeft 1s ease-out forwards';
- }, ); // Adjust timing to start the mirror animation after a slight delay
- // After animation finishes, display secondary page and flip the gradient
- setTimeout(function() {
- document.body.style.background = "linear-gradient(to right, #556270, #6c2415)";
- header.style.display = 'none';
- image.style.display = 'none';
- mirror.style.display = 'none';
- secondaryPage.style.display = 'block';
- }, 1000); // Adjust timing to match animation duration
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement