:root { --idre-white: #f4f4f4; --idre-salmon: #ff6188; --idre-green: #a9dc76; --idre-orange: #fc9867; --idre-purple: #ab9df2; --idre-cyan: #78dce8; } @font-face { font-family: 'Neuton'; src: url('/static/label/Neuton-Regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } body { margin: 0; width: 100%; background-color: black; color: var(--idre-white); font-family: "Lato", "Open Sans", "Arial", sans-serif; font-size: 16px; } .release-list { display: flex; flex-flow: row wrap; width: 100%; } .release { position: relative; margin: 0; width: 100%; height: auto; } .release img { margin: 0; width: 100%; height: 100%; object-fit: cover; } @media screen and (min-width: 576px) { .release { width: 50%; } } @media screen and (min-width: 992px) { .release { width: 25%; } } .release-infos-slab { position: absolute; bottom: 0; right: 0; width: 100%; background: rgba(0, 0, 0, 0.4); } .release-infos { position: relative; display: flex; flex-flow: column nowrap; justify-content: center; align-items: center; padding: 1em; font-family: "Neuton", serif; text-align: center; text-shadow: 0px 0px 4px #000000; } .release-infos .title { margin: 0; font-size: 1.5em; } .release-infos .contributors, .release-infos .extras { margin: 0; font-size: 1.2em; } @media screen and (min-width: 992px) { .release-infos-slab { top: 0; margin: 10%; width: 80%; height: 80%; border-radius: 1em; opacity: 0; transition: opacity 0.1s linear; background: rgba(0, 0, 0, 0.8); } .release-infos-slab:hover { opacity: 1; } .release-infos { padding: 2em; height: 80%; } .release-infos .title { font-size: 2em; } .release-infos .contributors, .release-infos .extras { font-size: 1.4em; } } @keyframes fadeColor { 0% { color: var(--idre-white); } 16% { color: var(--idre-salmon); } 32% { color: var(--idre-green); } 48% { color: var(--idre-orange); } 64% { color: var(--idre-purple); } 80% { color: var(--idre-cyan); } 100% { color: var(--idre-white); } } .release-infos .contributors { animation: fadeColor 10s infinite; }