@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500&display=swap'); /*+ scrollbar */ ::-webkit-scrollbar { width: 0.57rem;} ::-webkit-scrollbar-thumb { background: var(--hover); border-radius: 0.13rem;} ::-webkit-scrollbar-thumb:hover { background: var(--selected); } /*- scrollbar */ :root { --text: #eceff4; --whiteText: #eceff4; --border: #e1e1e10d; --solidBorder: #393b3e; --background: #101112; --main0: #26272a; --main1: #2f3134; --hover: #393b3e; --selected: #4b4d52; } .lightMode { --text: #2E3440; --border: #b2b8c770; --solidBorder: #b2b8c7; --background: #919ca9; --main0: #E5E9F0; --main1: #D8DEE9; --hover: #c6ccd9; --selected: #b0b7c7; } .lightMode .lightmodeText{color: #eceff4} /* .lightmode ::selection{background-color: #3864d4} ::selection { background-color: yellow; } */ .Nothing, .N\/A {--status-color: #1F2325;} .Boots {--status-color: #F2766E;} .Menus {--status-color: #4288B7;} .Ingame {--status-color: #fabb44;} .Playable {--status-color: #54A396;} .skeletonAnimation { background-image: linear-gradient(90deg, var(--solidBorder), var(--main1), var(--solidBorder)) !important; background-size: 200% 100% !important; animation: skeletonLoading 2s ease-in-out infinite; } @keyframes skeletonLoading { 0% {background-position: -100% 0;} 100% {background-position: 100% 0;} } * { margin: 0; padding: 0; font-family: 'Rubik', sans-serif; scrollbar-color: var(--main1) #ffffff00; /* - FF scrollbar */ color: var(--text); text-decoration: none; font-weight: 400; -webkit-tap-highlight-color: transparent; } html { font-size: 16px; } body{ background: var(--background); flex-direction: column; align-items: center; overflow-y: scroll; overflow-x: hidden; display: flex; } .main { display: flex; flex-direction: column; position: relative; align-items: center; box-shadow: 0 0.3rem 0.7rem 0 rgba(0, 0, 0, 0.5); background: var(--main0); border-radius: 6px; margin-top: 6rem; padding: 2rem 0 1rem; width: 40rem; border: 0.2rem solid var(--main0); } .mainText {font-weight: 500;} .smolMainText { width: 37.5rem; padding: 4% 2% 3%; text-align: center; font-size: 1.1rem; } /*+ PROGRESS BAR*/ .progressContainer {width: 28rem;} .progressRow { display: flex; gap: 1rem; } .progressWrap {border: 0.05rem solid var(--border);} .progressWrap, .progressWrapb { background: var(--main1); position: relative; overflow: hidden; margin: 1.1% 0; border-radius: 0.5rem; box-sizing: border-box; height: 2rem; width: 100%; display: flex; align-items: center; transition: background 0.1s ease-in-out; cursor: pointer; user-select: none; } .progressWrap:hover, .progressWrapb:hover {background: var(--hover);} .progressWrapb::after { /*fix black progressbar*/ content: ''; position: absolute; width: 100%; height: 100%; box-sizing: border-box; border: 0.05rem solid var(--border); border-radius: 0.5rem; z-index: 4; } .progressBar { position: absolute; height: 100%; width: 0%; border-radius: 0.3rem; transition: width 0.5s ease-in-out; } .progressBarText { position: absolute; font-weight: 500; left: 1rem; z-index: 3; } .progressBarInfo { position: absolute; z-index: 4; right: 0.5rem; font-size: 0.9rem; transition: opacity 0.15s ease-in-out; } .selected .progressBarInfo{opacity: 1;} .selected, .selected:hover {background: var(--selected) !important;} /*- PROGRESS BAR*/ .searchBarContainer {display: flex;} .searchBar { padding-left: 1rem; width: 18.4rem; height: 2.15rem; margin: 1.9rem 0 0.3rem; background: var(--main1); border: 0.05rem solid var(--border); border-radius: 0.6rem; line-height: 0; font-size: 0.9rem; } input[type="number"] { -moz-appearance: textfield; appearance: textfield; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; } .searchBar:focus, .pageSelector:focus { outline: none; background: var(--hover); transition: background 0.1s ease-in-out; border-color: var(--hover); } .searchBar::placeholder {color: #8C8C8C; font-weight: 500;} .pageSelector::placeholder {color: var(--text);} .searchBar:hover, .pageSelector:hover { background-color: var(--hover); border-color: var(--hover); } .optionButtons { display: flex; justify-content: space-between; padding: 0.25rem 0; width: 100%; } .optionButton { cursor: pointer; width: 6rem; user-select: none; height: 1.3rem; background: var(--main1); padding: 0.3rem 0; text-align: center; border-radius: 0.4rem; border: 0.05rem solid var(--border); font-weight: 500; } .optionButton:hover {background: var(--hover);} .noResultsText { text-align: center; padding: 2rem 0 0rem; font-weight: 500; } .noResultsEmoji { text-align: center; font-size: 2.5rem; padding: 2rem 0 3rem; } /*+ GAME CARDS*/ .gameWrapper {width: 95%;} .gameContainer { position: relative; display: flex; width: 100%; height: 5.3rem; margin: 1rem 0; text-decoration: none; background: var(--main1); border-radius: 0.5rem; transition: background-color 0.1s ease-in-out; cursor: default; } .gameContainer::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; border: 0.05rem solid var(--solidBorder); border-radius: 0.5rem; pointer-events: none; z-index: 2; } .gameContainer:hover {background: var(--hover);} .gameImageLink { border-radius: 0.6rem 0.4rem 0.4rem 0.6rem; overflow: hidden; } .gameImageText, .gameImage { width: 5.3rem; height: 5.3rem; max-width: 5.3rem; border-radius: 0.5rem 0.4rem 0.4rem 0.5rem; transition: transform 0.2s ease-in-out; image-rendering: high-quality; } .gameImageText { background: #1F2325; font-weight: 500; /* display: flex; */ align-content: center; text-align: center; flex-wrap: wrap; justify-content: center; color: white; user-select: none; } .gameSeparator { height: 3.9rem; margin: 0.7rem 1.25rem; border-right: 0.375rem solid var(--status-color); border-radius: 0.25rem; } .gameDetails { flex: 1; display: flex; flex-direction: column; justify-content: center; } .gameName { font-weight: 500; font-size: 1.125rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: width 0.4s ease-out; width: 22rem; } .gameName:hover {width: 29.3rem;} .gameCusa { position: absolute; right: 0.94rem; padding: 0.25rem 0.38rem; font-weight: 500; font-size: 0.87rem; } .gameStatus { width: 5.7rem; height: 1.5rem; margin-top: 0.94rem; background-color: var(--status-color); border-radius: 0.25rem; user-select: none; color: var(--whiteText); font-weight: 500; display: flex; align-items: center; text-align: center; justify-content: center; } /*- GAME CARDS*/ .totalTimeText { text-align: center; font-size: 1rem; padding: 0 0 0.7rem; } .pageBarContainer { display: flex; padding: 0.8rem 0 2rem; gap: 0.35rem; text-align: center; height: 2rem; align-items: center; user-select: none; } .pageBarImage { height: 1.5rem; width: 1.5rem; padding: 0.38rem; border-radius: 0.5rem; user-select: none; filter: invert(1); cursor: pointer; } .pageBarButton, .pageBarSearch { height: 2rem; width: 2rem; border-radius: 0.5rem; /* padding: 0.13rem; */ padding: 0.1rem; font-size: 0.95rem; } .pageBarButton { display: flex; align-items: center; justify-content: center; cursor: pointer; } .pageBarSearch { background: transparent; border: transparent; text-align: center; } .pageBarSearch:focus {outline: none; background: var(--hover); transition: background 0.1s ease-in-out;} .pageBarSearch:hover, .pageBarButton:hover {background-color: var(--hover);} .pageBarImage:hover{background-color: #00000014;} .pageBarSearch::placeholder {color: var(--text);} .lightMode .pageBarImage {filter: invert(0);} @media screen and (max-width: 700px) { .main { width: 34rem; border-radius: 0.8rem; } .gameName { width: 17.5rem; } .gameName:hover { width: 23rem; } .smolMainText { width: 30rem; } .footerText { font-size: 0.89rem !important; } } @media screen and (max-width: 550px) { .optionButton:hover {background: var(--main1);} .progressWrap:hover, .progressWrapb:hover {background: var(--main1);} .menu-icon:hover, .gh-logo:hover, .dc-logo:hover, .lightModeButton:hover, .logo:hover {background-color: #00000000 !important;} .pageBarImage:hover {background-color: transparent !important;} .gameDetails:hover .gameName {width: 23rem !important;} .footerSeparator {display: flex !important;} .footerContent:hover {background-color: #00000000 !important;} .pageBarContainer {gap: 0.6rem;} .main { width: 100vw; } } @media screen and (min-width: 550px) { .progressWrap:hover .progressBarInfo, .progressWrapb:hover .progressBarInfo{opacity: 1;} }