/* Melonking.Net Common styles for all pages, HELLO THERE! */ @import url("https://momg.neocities.org/frames.css?v=1"); /* Scrollbar styles */ * { scrollbar-color: #cd7c00 #000020; } ::-webkit-scrollbar { background: #000020; width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #000020; } ::-webkit-scrollbar-thumb { background: #cd7c00; border-radius: 10px; } /* Body styles */ body { font-family: "Times New Roman", serif; background-color: yellow; margin: 0px; padding: 0px; } footer { text-align: center; padding: 30px; font-size: 11px; clear: both; } audio { display: none; } h1, h2, h3, h4 { text-shadow: rgba(150, 150, 150, 0.557) 3px 3px; } /* ++++ Elements ++++ */ #back { float: left; position: fixed; top: 20px; left: 20px; } #easyhome { float: left; position: fixed; bottom: 10px; left: 10px; z-index: 100; } #easyhome img { width: 35px; } #music_alert { position: fixed; text-align: center; top: 10px; left: 50%; white-space: nowrap; } #music_alert div { transform: translateX(-50%); background-color: yellow; color: black; padding: 5px; border: 3px outset gold; font-size: 16px; } #music_alert span { background-color: rgb(251, 255, 157); border: 3px outset gold; text-decoration: underline; cursor: pointer; padding: 2px; } #music_alert span:hover { border: 3px inset gold; text-decoration: none; } /* +++ Helper classes +++ */ .center { text-align: center !important; } .preload { display: none !important; } .gem { position: absolute; z-index: -1; } /* ++++ Animations ++++ */ .spin, .spin-slow, .spin-rev, .spin-slow-rev { animation-name: spin; animation-duration: 10000ms; animation-iteration-count: infinite; animation-timing-function: linear; transform-origin: center; } .spin-slow { animation-duration: 100000ms; } .spin-rev { animation-direction: reverse; } .spin-slow-rev { animation-duration: 100000ms; animation-direction: reverse; } @keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .tilt { transition: 0.2s; } .tilt:hover { transform: rotate(3deg); } .twist, .easyhome { transition: 1s; } .twist:hover, .easyhome:hover { transform: rotate(360deg); } .slow-twist { transition: 8s; } .slow-twist:hover { transform: rotate(360deg); } .wiggle-hover:hover { animation: wiggle 0.55s linear infinite; } @keyframes wiggle { 0% { transform: rotate(0deg); } 25% { transform: rotate(5deg); } 50% { transform: rotate(0deg); } 75% { transform: rotate(-5deg); } 100% { transform: rotate(0deg); } } .blink { animation: blink-animation 0.95s steps(2, start) infinite; } @keyframes blink-animation { to { visibility: hidden; } } .tossing { animation-name: tossing; animation-duration: 9s; animation-iteration-count: infinite; } @keyframes tossing { 0% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } 100% { transform: rotate(-9deg); } } .tossing-alt { animation-name: tossing-alt; animation-duration: 9s; animation-iteration-count: infinite; } @keyframes tossing-alt { 0% { transform: rotate(9deg); } 50% { transform: rotate(-9deg); } 100% { transform: rotate(9deg); } } .bobbing { animation: bobbing 2s ease-in-out infinite; animation-direction: alternate; } .bobbing-slow { animation: bobbing 4s ease-in-out infinite; animation-direction: alternate; } @keyframes bobbing { 0% { transform: translateY(10px); } 100% { transform: translateY(-10px); } } .swing, .swing-slow { animation-name: swing; animation-duration: 8s; transform-origin: top center; animation-iteration-count: infinite; } .swing-slow { animation-duration: 20s; } @keyframes swing { 0% { transform: rotate(5deg); } 50% { transform: rotate(-5deg); } 100% { transform: rotate(5deg); } } @keyframes flip { from { transform: perspective(400px) rotate3d(0, 1, 0, -360deg); animation-timing-function: ease-out; } 40% { transform: perspective(700px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -190deg); animation-timing-function: ease-out; } 50% { transform: perspective(700px) translate3d(0, 0, 150px) rotate3d(0, 1, 0, -170deg); animation-timing-function: ease-in; } 80% { transform: perspective(400px) scale3d(0.95, 0.95, 0.95); animation-timing-function: ease-in; } to { transform: perspective(400px); animation-timing-function: ease-in; } } .flip:hover img { backface-visibility: visible; animation: flip 1.3s; } .pulse { animation-fill-mode: both; animation-duration: 3s; animation-delay: 0s; animation-iteration-count: infinite; animation-name: pulse; } @keyframes pulse { from { transform: scale3d(1, 1, 1); } 50% { transform: scale3d(1.05, 1.05, 1.05); } to { transform: scale3d(1, 1, 1); } } .diagonal { animation: diagonal 60s linear infinite; } @keyframes diagonal { 0% { background-position-x: 0%; background-position-y: 0%; } 100% { background-position-x: 100%; background-position-y: 100%; } } @keyframes shake { 5% { transform: translate(7px, 7px); } 10% { transform: translateY(-7px); } 15% { transform: translate(-1px, 5px); } 20% { transform: translate(-6px, 8px); } 25% { transform: translate(-5px, -7px); } 30% { transform: translate(6px, 7px); } 35% { transform: translate(9px, -6px); } 40% { transform: translate(-3px, 9px); } 45% { transform: translate(-3px, 4px); } 50% { transform: translate(-3px, 1px); } 55% { transform: translate(-8px, 3px); } 60% { transform: translate(7px, 3px); } 65% { transform: translate(-1px); } 70% { transform: translate(7px, -4px); } 75% { transform: translate(-2px, -8px); } 80% { transform: translateY(-9px); } 85% { transform: translate(-6px, 7px); } 90% { transform: translate(9px, 1px); } 95% { transform: translate(-9px, 7px); } 100% { transform: translateY(7px); } }