Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Combined Page</title>
- <style>
- /* Remove scrollbar */
- body {
- margin: 0;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- justify-content: center; /* Center content vertically */
- align-items: center;
- height: 100vh; /* Full viewport height */
- background-color: transparent; /* Optional: background color for better visibility */
- }
- /* Center the first button */
- .centered {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-bottom: 20px; /* Space between buttons */
- }
- /* Image button with 3D hover effect */
- .image-button img {
- width: 150px;
- height: auto;
- transition: transform 0.2s, box-shadow 0.2s;
- cursor: pointer; /* Change cursor to pointer */
- }
- .image-button img:hover {
- transform: scale(1.1); /* Scale to 110% on hover */
- }
- /* Styling for the second button text */
- .button-container {
- position: relative;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- a img {
- width: 50px;
- height: 50px;
- transition: transform 0.3s ease, box-shadow 0.3s ease;
- margin: 0 10px; /* Adjusted margin for spacing */
- }
- a:hover img {
- transform: scale(1.1); /* Scale to 110% on hover */
- }
- span {
- position: absolute;
- left: 60px; /* Initially hidden off to the side */
- font-family: serif;
- font-size: 18px;
- font-weight: bold;
- opacity: 0;
- transition: opacity 0.3s ease, transform 0.3s ease;
- transform: scale(0.8, 1.5); /* Squished horizontally and tall vertically */
- white-space: nowrap;
- }
- /* Hover effects */
- .button-container:hover span {
- opacity: 1;
- transform: translateX(10px) scale(0.8, 1.5);
- }
- /* Smaller buttons on small devices */
- @media (max-width: 600px) {
- .image-button img {
- width: 70px; /* Reduced size for the first image button on smaller devices */
- height: auto;
- }
- .button-container a img {
- width: 40px; /* Smaller size for other buttons */
- height: 40px;
- }
- span {
- font-size: 14px; /* Smaller text for small devices */
- }
- }
- </style>
- </head>
- <body>
- <!-- First centered image button with music -->
- <div class="centered">
- <a href="https://sites.google.com/view/pathetic-scripts/home/scripts" class="image-button" target="_blank" onclick="playMusic()">
- <img src="https://iili.io/2HZDl0N.png" alt="Button Image">
- </a>
- </div>
- <!-- Autoplay background music -->
- <audio id="background-music" loop>
- <source src="https://dl.sndup.net/99z4j/Jaydes%20-%20Junkie.mp3" type="audio/mpeg">
- Your browser does not support the audio element.
- </audio>
- <!-- Second hover button with text -->
- <div class="button-container">
- <a href="https://discord.com/users/1031695477592309840" target="_blank">
- <img src="https://iili.io/2H6eSX2.png" alt="Discord">
- </a>
- <a href="https://f29cc861.solaraweb-alj.pages.dev/download/static/files/Bootstrapper.exe" target="_blank">
- <img src="https://iili.io/2HiheYG.png" alt="Solara">
- </a>
- </div>
- <script>
- function playMusic() {
- var audio = document.getElementById('background-music');
- audio.play();
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment