:root { --beetbox-red: #9e0008; --beetbox-pink: #d93370; --beetbox-purple: #ac65cb; --beetbox-green: #003f56; --beetbox-blue: #5fcfd0; --light: #F8F8FF; --background: #1f2835; --text: var(--light); --links: var(--beetbox-blue); --link-hover: var(--beetbox-pink); --header: #F8F8FFCC; --header-link: #5C2673; /* darker beetbox-purple */ } body { background-color: var(--background); color: var(--text); font-family: sans-serif; line-height: 1.5; padding: 0; margin: 0; } header { background-color: var(--header); } header div, main, footer { max-width: 1200px; margin: 0 auto; padding: 1rem; } header div { display: flex; align-items: baseline; justify-content: space-between; } header ul { margin: 0; } header a { color: var(--header-link); } header li { display: inline; font-weight: 600; margin-right: 8px; } footer { border-top: 1px solid var(--light); } section.index { display: flex; flex-direction: row; } section.index aside { flex-shrink: 4; } aside { display: flex; justify-content: flex-end; flex-wrap: wrap; flex-direction: row; gap: 20px; } article { width: 256px; height: 414px; padding: 1rem; border-radius: 10px; background-color: #111; } @media(max-width: 700px) { aside { display: none; } } article img { height: 50%; width: 100%; border-radius: 10px; object-fit: cover; } article h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .float-on-hover{ transition: all .25s cubic-bezier(.2,.1,.47,1) } .float-on-hover:hover{ transform: translateY(-10px); } a { color: var(--links); text-decoration: none; } a:visited, a:hover { color: var(--link-hover); text-decoration: underline; } p { margin-bottom: 1.5rem; } code { white-space: nowrap; } pre { border-radius: .4rem; max-width: 100%; } pre code { display: block; tab-size: 4; padding: 1rem 1.5rem; font-size: 1.05rem; white-space: pre; max-width: 100%; overflow-x: auto; border-left: .3rem solid var(--beetbox-purple); border-radius: .4rem; }