.MangaItem{ cursor: pointer; background-color: var(--secondary-color); width: 200px; height: 300px; border-radius: 5px; overflow: hidden; position: relative; flex-shrink: 0; display: grid; grid-template-columns: 200px 600px; grid-template-rows: 80px 190px 30px; grid-template-areas: "cover tags" "cover description" "cover footer"; margin: 5px; } .MangaItem[is-clicked="clicked"]{ width: 800px; } .MangaItem::after{ content: ''; position: absolute; left: 0; top: 0; border-radius: 5px; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.8), rgba(0, 0, 0, 0.7),rgba(0, 0, 0, 0.2)); z-index: 0; } .MangaItem > * { z-index: 2; position: relative; } .startSearchEntry::after{ background: initial !important; } .MangaItem-Connector { grid-area: cover; top: 10px; left: 10px; flex-grow: 0; height: 14pt; font-size: 12pt; border-radius: 9pt; background-color: var(--primary-color); padding: 2pt 17px; color: black; width: fit-content; z-index: 1; } .MangaItem-Name{ grid-area: cover; width: fit-content; font-size: 16pt; font-weight: bold; color: white; top: 50px; left: 10px; margin: 0; max-width: calc(100% - 20px); z-index: 1; } .MangaItem-Website { grid-area: cover; display: block; height: 13px; width: 13px; margin: 0px 0px auto auto; top: 12px; right: 10px; z-index: 1; } .MangaItem-Status { grid-area: cover; display:block; height: 15px; width: 15px; border-radius: 50%; position: absolute; top: 14px; right: 35px; box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 10px, rgb(51, 51, 51) 0px 0px 10px 3px; z-index: 1; } .MangaItem-Status::after { content: attr(release-status); position: absolute; top: -2.5pt; right: 0; visibility: hidden; /*Text Properties*/ font-size:10pt; font-weight:bold; color:white; text-align: center; /*Size*/ padding: 3px 8px; border-radius: 6px; border: 0px; background-color: inherit; } .MangaItem-Status:hover::after{ visibility:visible; } .MangaItem-Status[release-status="Continuing"]{ background-color: limegreen; } .MangaItem-Status[release-status="Completed"]{ background-color: blueviolet; } .MangaItem-Status[release-status="On Hiatus"]{ background-color: darkorange; } .MangaItem-Status[release-status="Cancelled"]{ background-color: firebrick; } .MangaItem-Status[release-status="Unreleased"]{ background-color: aqua; } .MangaItem-Status[release-status="Status Unavailable"]{ background-color: gray; } .MangaItem-Cover { position: absolute; top: 0; left: 0; grid-area: cover; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; z-index: 0; } .MangaItem[is-clicked="not-clicked"] .MangaItem-Description, .MangaItem[is-clicked="not-clicked"] .MangaItem-Tags, .MangaItem[is-clicked="not-clicked"] .MangaItem-Props{ display: none !important; } .MangaItem[is-clicked="clicked"] .MangaItem-Description, .MangaItem[is-clicked="clicked"] .MangaItem-Tags, .MangaItem[is-clicked="clicked"] .MangaItem-Props{ display: block; width: calc(100% - 6px); background-color: white; padding: 0 3px; overflow-y: auto; } .MangaItem-Tags { grid-area: tags; display: flex !important; flex-direction: row; flex-wrap: wrap; scrollbar-width: thin; border-bottom: 1px solid var(--secondary-color); justify-content: start; align-content: start; } .MangaItem-Tags > * { display: flex; flex-direction: row; width: max-content; margin: 1px 2px !important; white-space: nowrap; color: white; padding: 3px 2px 4px 2px; position: relative; } .MangaItem-Tags > * > * { margin: 0 2px !important; align-items: center; } .MangaItem-Tags > * > svg { margin: auto 2px !important; } .MangaItem-Tags a, .MangaItem-Tags a:visited { color: var(--primary-color); text-decoration: none; } .MangaItem-Author { background-color: green; } .MangaItem-Tag { background-color: blue; } .MangaItem-Link{ background-color: brown; } .MangaItem-Description { grid-area: description; color: black; max-height: 40vh; scrollbar-width: thin; border-bottom: 1px solid var(--secondary-color); } .MangaItem-Props { grid-area: footer; display: flex !important; flex-direction: row; justify-content: flex-end; width: 100%; height: 100%; } .MangaItem-Props > * { margin: 3px; border: 1px solid var(--primary-color); border-radius: 3px; background-color: transparent; width: fit-content; } .MangaItem-Props-Threshold { color: black; padding: 0 3px; } .MangaItem-Props-Threshold > input { margin: 0 3px; width: 50px; } .MangaItem-Props-Threshold-Available{ text-decoration: underline; }