@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap); @import url(https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css); @font-face { font-family: Ebrima; src: url(../fonts/ebrima.8d82d8a1.ttf) format("woff"); } @font-face { font-family: newFont; src: url(../fonts/TTLakesNeue-Medium.111513f6.otf) format("woff"); } @font-face { font-family: newFontBold; src: url(../fonts/TTLakesNeue-Bold.1c3f31e5.otf) format("woff"); } * { box-sizing: border-box; margin: 0; padding: 0; user-select: none; } body { font-family: Ebrima, sans-serif; } .main { float: right; padding: 2rem; height: 80vh; overflow: hidden; } .container { display: flex; flex-direction: column; width: 18vw; height: 100%; background-color: #1a1a1a; border-radius: 12px; padding: 1rem; gap: 1rem; } .container .header { width: 100%; display: flex; flex-direction: column; align-items: center; } .title-with-logo { display: flex; align-items: center; gap: 0.8vw; width: 100%; justify-content: center; padding: 0.5rem 0; } .title-with-logo img.inline-logo { width: 2.5vh; height: 2.5vh; object-fit: contain; filter: brightness(0.8); } .title-with-logo p { font-family: newFontBold; font-size: 1.8vh; color: #ddd; letter-spacing: 0.5px; margin: 0; text-shadow: 0 0 5px rgba(255, 255, 255, 0.1); } .container .header .bottom-line { height: 1px; width: 100%; background-color: #333; margin-top: 0.5rem; } .container .category { display: flex; flex-wrap: wrap; gap: 0.5vh 0.5vw; margin-top: 1vh; justify-content: flex-start; width: 100%; } .container .category .category-button { padding: 0 0.9vw; height: 2.8vh; font-size: 1.25vh; background: #2a2a2a; border: 1px solid #444; border-radius: 4px; color: #bbb; display: flex; align-items: center; justify-content: center; white-space: nowrap; transition: 0.2s; cursor: pointer; } .container .category .category-button:hover { background: #3a3a3a; color: #fff; } .container .category .category-button.selected { background: #555; color: #fff; border-color: #888; } .container .search-bar { display: flex; align-items: center; height: 4vh; background: #222; border-radius: 6px; padding: 0 0.5rem; margin-top: 0.5rem; } .container .search-bar img { width: 1vw; height: 1vw; margin-right: 0.5rem; } .container .search-bar input { flex: 1; background: transparent; border: none; outline: none; color: #ccc; font-size: 1.3vh; } .container .search-bar input::placeholder { color: #777; font-size: 1.3vh; } /* === MAIN LIST === */ .container .main-part { flex: 1; overflow-y: auto; width: 100%; padding-right: 0.5rem; } .container .main-part .main-part-box { display: flex; justify-content: space-between; align-items: center; background: #1e1e1e; padding: 0.5rem; margin-bottom: 0.4vh; border-radius: 6px; transition: background 0.2s; cursor: pointer; } .container .main-part .main-part-box:hover { background: #2a2a2a; } .container .main-part .main-part-box .info { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-left: 0.5rem; } .container .main-part .main-part-box .info .name { font-size: 1.4vh; color: #ddd; font-weight: 600; } .container .main-part .main-part-box .info p { font-size: 1.2vh; color: #777; font-weight: 400; } .container .main-part .main-part-box i { color: #555; margin-right: 0.5rem; transition: 0.2s; } .container .main-part .main-part-box i:hover { color: #ffbf00; } ::-webkit-scrollbar { width: 15px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; min-height: 50px; } ::-webkit-scrollbar-thumb:hover { background: #666; } .fas.fa-star { color: #444; transition: color 0.2s; cursor: pointer; } .fas.fa-star.selected { color: #ffbf00 !important; }