/* width */ ::-webkit-scrollbar { width: 10px; } /* Track */ ::-webkit-scrollbar-track { background: #020a0e91; } /* Handle */ ::-webkit-scrollbar-thumb { background: #076969; } /* Handle on hover */ ::-webkit-scrollbar-thumb:hover { background: #064e4e; } body { --bgColor: #051c25; --borderSize: 3px; background: var(--bgColor); font-size: 16px; } html, body { margin: 0; padding: 0; height: 100%; background-repeat: no-repeat; background-size: cover; } body { display: flex; width: 100%; align-items: center; justify-content: center; } h1 { position: absolute; top: -0.5em; color: #9fc3c3; font-family: 'Eczar', serif; font-weight: bold; text-transform: uppercase; font-size: 3em; } h2 { position: absolute; top: 1em; color: #9fc3c3; font-family: 'Eczar', serif; font-weight: bold; text-transform: uppercase; font-size: 2em; } .wrapper { position: absolute; height: 80%; width: 80%; top:14%; left:10%; } .card { position: relative; float:left; border: 3px solid #7A6B43; margin: 2vw; } .ability { float:left; height: 4vh; width: 4vh; margin: 1vw; margin-top: 2vw; margin-bottom: 3vh; background-repeat: no-repeat; background-size: 4vh 4vh; cursor: pointer; } .active { border: 3px solid #d1cab8; } .abilityInfo { position: absolute; top:9vh; height: 30vh; width: 65%; left:21vmin; margin-left: 5vw; } .spellName { margin-bottom: -2vmin; } .description { padding-top: 1vmin; } .champion { background-repeat: no-repeat; background-size: 20vmin 36.2vmin; width: 20vmin; height: 36vmin; } .lore { position: absolute; top:24vmin; left:-15vw; float:right; margin-top: 4vmax; height: 25vh; } .lore_title { color: #9fc3c3; font-family: 'Eczar', serif; font-weight: bold; text-transform: uppercase; font-size: 2em; } p { font-family: 'Eczar', serif; font-weight: bold; color: #adc0c0; text-transform: uppercase; } .bt_skins { display: block; position: relative; top:calc(100% - 5.3vmin); height: 3.5vmin; width: 3.5vmin; left:3.5vmin; float: left; margin-right: 1vmin; } .bt_skins span { color:ivory; position: relative; top:0.5vmin; cursor: pointer; } .next { margin-left:1vmin ; } .chroma { height: 3.5vmin; width: 3.5vmin; border-radius: 50%; box-shadow: 0px 0px 0px 2px #7A6B43; background: #9fc3c3; background-image: radial-gradient( white, rgba(255, 255, 255, 0) 85% ), conic-gradient(yellow,red , blue, green,yellow) ; } .chroma .center { background-color: #051c25; border-radius: 50%; height: 1.5vh; width: 1.5vh; position: relative; top: calc(50% - 0.75vh); left: calc(50% - 0.75vh); } .hidden { display: none; }