html, body { padding: 0; margin: 0; font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif; height: 100%; color: white; background-color: #2c3e50; } a { color: inherit; text-decoration: none; } a:hover { color: lightskyblue; } * { box-sizing: border-box; } main { display: flex; flex-direction: row; gap: 10rem; } nav { background-color: #2d2d2d; position: -webkit-sticky; position: sticky; top: 0; display: flex; flex-direction: column; justify-content: space-evenly; padding-left: 3rem; padding-right: 3rem; height: 100vh; box-shadow: #111111 0.3rem 0rem 1rem; } .social { display: flex; flex-direction: row; justify-content: space-between; } .categories { display: flex; flex-direction: row; justify-content: flex-start; gap: 0.5rem; font-size: 12px; margin: 0; padding: 0.3rem; padding-top: 1.3rem; } .post { /*border: 0.2rem solid #BDC3C7; border-top-right-radius: 5%; border-top-left-radius: 5%;*/ padding-bottom: 0.3rem; margin-right: 10rem; } .post > h1 { width: 100%; border: 0.1rem solid #34495E; border-radius: 1.3rem; border-bottom-left-radius: 0; border-bottom-right-radius: 0; color: #ECF0F1; padding-left: 0.3rem; padding-right: 0.3rem; margin: 0; text-align: center; background-color: #34495E; box-shadow: #111111 0.3rem 0.3rem 0.3rem; } .postList { width: 100%; display: flex; flex-direction: column; gap: 0.3rem; align-content: center; } .postContent { padding-left: 0.3rem; padding-right: 0.3rem; margin: 0; border: 0.1rem solid #34495E; box-shadow: #111111 0.3rem 0.3rem 0.3rem; } .postParagraph { margin-bottom: 0.5rem; } @media (prefers-color-scheme: dark) { html { color-scheme: dark; } body { color: white; background-color: #2c3e50; } }