@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@1,900&display=swap'); :root { --card-color: rgb(23, 23, 23); } /* 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 { padding: 0; margin: 0; width: 100%; justify-content: center; background-color: #071c24; } #userWrapper { display: flex; flex-wrap: wrap; gap: 1em; justify-content: center; margin-top:3vh; margin-left: 10%; text-align: center; align-items: center; height: 15vh; width: 80%; background-color: var(--card-color); border-radius: 10px; border: 1px solid #fffff042; } #avatar { flex-direction: column; background-color: ivory; height: 10vh; width: 10vh; background-size: 10vh 10vh; border-radius: 10px; } .userNameWrapper { display: flex; flex-direction: column; min-width: 20vh; max-width: 70%; height: 15vh; justify-content: center; text-align: center; } #userName { margin: 0; position: relative; font-size: 2.5em; font-family: 'Lato'; font-weight: bolder; white-space: pre-wrap; color: rgb(15, 98, 131); } #maindisplay { width: 90%; margin-top: 2vh; margin-left: 5%; color:white; display: flex; justify-content: center; align-items: center; text-align: center; flex-wrap: wrap; } .strike { width: 100%; color: white; display: flex; justify-content: space-between; background-color: var(--card-color); border-radius: 10px; border: 1px solid #fffff042; margin-bottom: 1vh; } .strike-info { flex: 4; } .strike-info > h3 > span> img, .strike-info > h4 > span> img { border: none; border-radius: 50%; width: 1em; height: 1em; transform: translateY(0.25em); } .strike-info > h3 > span, .strike-info > h4 > span { background-color: rgb(44, 151, 238); height: 5em; border: none; border-radius: 5px; padding-left: 0.2em; padding-right: 0.2em; padding-bottom: 0.2em; } .strike-info > h3 > span.stroke { background-color: rgb(58, 23, 23); } .strike-info > h4 { color:green } .actions { flex:2; display: flex; flex-direction: column; justify-content: space-evenly; color:white; cursor: pointer; margin-right: 1em; } .actions >div:hover { background-color: darkslategray; border:none; border-radius: 5px; } .NoStrikes { background-color: var(--card-color); height: 5em; width: 50%; border:none; border-radius: 10px; } .NoStrikes > h2 { color:rgb(15, 98, 131); font-family: 'Lato'; font-weight: bolder; }