html { scrollbar-color: #4a3650 #111; } pre, code { font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; } /* an attempt to replicate scrollbar-color for chromosome */ ::-webkit-scrollbar { width: 6px; background-color: #111; } ::-webkit-scrollbar-thumb { background-color: #4a3650; } ::-webkit-scrollbar-thumb:hover { background-color: #5b4761; } ::-webkit-scrollbar-thumb:active { background-color: #6c5872; } body { background-color: #111; color: #fff; font: 12px/20px Tahoma, Geneva, 'Dejavu Sans', Arial, Helvetica, sans-serif; display: flex; flex-direction: column; } @include sprite.css; .header, .footer { flex: 0 0 auto; } .container { flex: 1 1 auto; } .header { width: 100%; height: 200px; overflow: hidden; transition: height .5s; } .header-minimal .header { height: auto; } @media (max-width: 700px) { .header { height: auto; } } .index .header { height: 50vh; } .fullscreen-header .header { height: 100%; } .header-background { position: absolute; top: 0; bottom: 0; right: 0; left: 0; overflow: hidden; } .header-background img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(20px) brightness(80%); transform: scale(1.2); opacity: 1; transition: opacity .5s; } .header-foreground { width: 100%; height: 100%; display: flex; max-width: 1200px; margin: 0 auto; justify-content: space-between; align-items: flex-end; padding: 10px; } .header-minimal .header-foreground { align-items: center; } @media (max-width: 700px) { .header-foreground { justify-content: center; align-items: center; flex-direction: column; } } .index .header-foreground { align-items: center; justify-content: flex-end; flex-direction: column; } .header-logo { font-family: 'Electrolize', Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif; font-size: 3em; line-height: 1.2em; filter: drop-shadow(0 1px 5px #000); color: transparent; text-decoration: none; display: flex; flex: 0 0 auto; } .index .header-logo { font-size: 5em; } .header-flash { background-image: linear-gradient(180deg, #eee 0%, #ddd 50%, #ccc 50%, #aaa 100%); background-clip: text; -webkit-background-clip: text; white-space: pre; } .header-wave { background-image: linear-gradient(0deg, #281430 0%, #392540 50%, #4a3650 50%, #6c5871 100%); -webkit-background-clip: text; white-space: pre; } .header-right { display: flex; flex-direction: column; align-items: flex-end; } .header-menu { display: flex; justify-content: center; flex: 0 0 auto; margin-top: 10px; } .header-minimal .header-menu { margin-top: 0; } .index .header-menu, .fullscreen-header .header-menu, .now-playing .header-menu { display: none; } .header-menu a { display: block; color: #fff; text-decoration: none; font-size: 1.5em; line-height: 1.2em; margin: 0 2px; padding: 5px 10px; border-radius: 5px; text-shadow: 0 1px 5px #000; transition: background-color .1s; } .header-menu a:hover, .header-menu a:focus { background-color: rgba(255, 255, 255, .1); } .header-menu a:active { background-color: rgba(127, 127, 127, .1); } @media (max-width: 800px) { .header-menu { display: grid; grid-template-columns: 1fr 1fr 1fr; } .header-menu a { text-align: center; min-width: 150px; margin: 2px; padding: 10px 0; } .header-menu :first-child { display: none; } } @media (max-width: 480px) { .header-menu { grid-template-columns: 1fr 1fr; } } @media (max-width: 320px) { .header-menu { grid-template-columns: 1fr; } } .footer {} .index .footer, .fullscreen-header .footer, .now-playing .footer { display: none; } .footer-text { opacity: .2; font-size: .9em; text-align: center; max-width: 1200px; margin: 5px auto; } @include index.css; .header-now-playing { max-height: 60px; min-width: 300px; max-width: 500px; height: 100%; background-image: linear-gradient(0deg, #111c 0%, #222c 50%, #333c 50%, #555c 100%); box-shadow: 0 2px 1em #000; border-radius: 5px; overflow: hidden; align-items: center; bottom: 0; padding: 5px; display: grid; grid-template-columns: 25px 50px 1fr; column-gap: 5px; transition: bottom .5s, width .2s, max-height .5s, padding .2s; } .header-now-playing-hidden { bottom: -80px; max-height: 0; padding: 0; } .header-now-playing-icon img { vertical-align: middle; } .header-now-playing-cover { width: 50px; height: 50px; } .header-now-playing-cover img { width: 100%; height: 100%; vertical-align: middle; object-fit: cover; } .header-now-playing-details { overflow: hidden; white-space: nowrap; } .header-now-playing-details a { color: #fff; text-decoration: none; transition: width .2s; } .header-now-playing-details a:hover, .header-now-playing-details a:focus { text-decoration: underline; } .header-now-playing-title { font-size: 1.2em; } .header-now-playing-title, .header-now-playing-artist { overflow: hidden; text-overflow: ellipsis; } .http-error { text-align: center; } .http-error-head { font-family: 'Electrolize', Verdana, 'Dejavu Sans', Arial, Helvetica, sans-serif; font-size: 2.5em; line-height: 2em; font-weight: 400; } @include featured.css; @include section.css; @include socials.css; @include project.css; @include home.css; @include clock.css;