@import url('https://fonts.googleapis.com/css?family=Orbitron:400,500'); .custom.controller { width: 1900px; height: 360px; font-family: 'Orbitron', sans-serif; } .custom .bumper.pressed:after, .custom .button.pressed:after{ background: red; color: black; border-color: black; transition: none } .custom .stick{ width: 20px; height: 20px; background: #fd1601; display: inline-block; position: absolute; transform: translate(-50%, -50%); border-radius: 10px; } .custom .bumper:after, .custom .button:after{ position: absolute; display: inline-block; background: black; border: 2px solid hsla(193, 97%, 27%, 1); color: hsla(193, 97%, 27%, 1); font-size: 12px; font-weight: 500; padding: 10px; border-radius: 25px; text-align: center; white-space: nowrap; transition: 5s all linear } /* - END COMMON STUFF - */ .custom .sticks{ width: 135px; height: 135px; display: inline-block; position: relative; background: black; border: 2px solid #03b2e1; border-radius: 15px; background-image: linear-gradient(0deg, transparent 48%, #002f3b 49%, #002f3b 50%, #002f3b 51%, transparent 52%, transparent), linear-gradient(90deg, transparent 48%, #002f3b 49%, #002f3b 50%, #002f3b 51%, transparent 52%, transparent); top: calc(42px); background-size: calc(100% - 15px) 100%, 100% calc(100% - 15px); background-repeat: no-repeat; background-position: center; padding: 2px } .custom .triggers{ width: 20px; height: 135px; display: inline-block; background: black; position: relative; border: 2px solid #03b2e1; border-radius: 20px; background-image: linear-gradient(0deg, transparent 48%, #002f3b 49%, #002f3b 50%, #002f3b 51%, transparent 52%, transparent); background-size: calc(100% - 10px) 100%; background-repeat: no-repeat; background-position: center; padding: 5px } .custom .triggers:after{ content: "THROTTLE"; display: inline-block; position: absolute; font-size: 14px; color: #03b2e1; top: 50%; right: calc(-200%); transform-origin: center; transform: translateY(-50%) rotate(-90deg); } .custom .sticks:before{ content: "LATERAL"; display: inline-block; position: absolute; font-size: 15px; color: #03b2e1; top: -1.5em; left: 50%; transform: translateX(-50%); } .custom .sticks:after{ content: "VERTICAL"; display: inline-block; position: absolute; font-size: 15px; color: #03b2e1; top: 50%; right: calc(-30% - 1.25em); transform-origin: center; transform: translateY(-50%) rotate(-90deg); } .custom .stick.left{ top: 50%; left: 50%; } .custom .stick.right{ top: calc(-120px); left: 15px; } .custom .bumpers{ position: absolute; top: 0; left: 0; } .custom .abxy{ position: absolute; width: 100%; top: 0; } .custom .bumper.left:after{ content: "BOOST"; left: 68px; } .custom .button.a:after{ content: "ECM"; right: 0; width: 51px; } .custom .button.b:after{ content: "SHIELD"; right: 0; top: 45px; } .custom .button.x:after{ content: "HEAT"; right: 80px; top: 45px; width: 47px }