/* god bless you */ @font-face { font-family: 'Lato'; src: url('/fonts/Lato-Regular.ttf'); font-display: swap; } :root { --text: #fff; --background: #252525; --secondary-background: #353535; --background-darker: #151515; --accent: #00b7c3; } body { font-family: 'Lato', sans-serif; color: #FFF; background-color: #151515; min-height: 100vh; } ::-webkit-scrollbar { width: 8px; height: 10px; } ::-webkit-scrollbar-thumb { border-radius: 8px; background: #252525; } .main { margin: 0 24vw; } .navbar { display: flex; align-items: center; justify-content: space-between; flex-direction: row; padding: 8px; } .navbarImg { height: 30px; } .brand { display: flex; align-items: center; gap: 8px; transition: opactiy .25s; color: var(--text); } .navbarSlogan:hover { color: var(--accent); } .brand:hover { opacity: .95; } .center { text-align: center; } a { color: white; text-decoration: underline; text-underline-offset: 5px; } .instance-card { background-color: var(--background); padding: 8px; border-radius: 4px; margin: 8px 0 8px 0; text-overflow: ellipsis; white-space: wrap; text-decoration: none; display: flex; flex-direction: column; gap: 4px; transition: ease-in-out 0.25s; } .instance-header > p { font-weight: 700; margin-top: 2px; margin-bottom: 0; margin-left: 0; margin-right: 0; } .instance-card:hover { background-color: var(--secondary-background); color: var(--text); } .instance-body { display: flex; flex-direction: column; } .instance-body > p { margin: 2px; } a:hover { color: #00b7c3; } .header-container { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 8px; } .header-container > h1 { margin: 0; } footer { position: sticky; top: 100%; text-align: center; padding: 8px; } @media screen and (prefers-color-scheme: light) { :root { --text: #000; --background: #f1f1f1; --secondary-background: #e1e1e1; --background-darker: #fff; } body { background-color: #fff; color: #000; } .navbarSlogan { color: #00b7c3; } .brand:hover { opacity: .75; } a { color: black; } a:hover { color: #00b7c3; } ::-webkit-scrollbar { width: 8px; height: 10px; } ::-webkit-scrollbar-thumb { border-radius: 8px; background: #f1f1f1; } } @media screen and (max-width: 900px) { .main { margin: 8px; } .navbarSlogan { display: none; } .navbarImg { height: 40px; } .instance-card { margin-left: 0; margin-bottom: 8px; margin-right: 0; } }