/* Base styles */ body { margin: 0; font-family: Verdana, sans-serif; font-size: 1rem; line-height: 1.6; color: black; background-color: #f4f4f4; } main { max-width: 50rem; margin: 0 auto; padding: 0 1em; padding-top: 2em; } /* Typography */ h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.25; font-weight: 600; } h1 { font-size: 1.4rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.2rem; } p { margin: 0 0 1em; } /* Links */ a { color: #047bc2; text-decoration: underline; } a:hover, a:focus, a:active { text-decoration: underline; } div.metadata { font-size: 90%; margin-bottom: 0.4em; } span.tag { } span.date { } /* Lists */ ul { display: block; padding-left: 1em; } /* Code blocks */ p code { font-family: monospace; font-size: 90%; border-radius: 0.3rem; padding: 0.025rem 0.3rem; border: 1px solid #52576f; background-color: #eeeaaa; } pre { overflow-x: auto; } pre > code { display: block; font-family: monospace; font-size: 90%; padding: 0.5rem; } p > code { padding: 0.1em 0.3em; } /* Tables */ table { width: 100%; border-collapse: collapse; } th, td { border: 1px solid #ddd; padding: 8px; text-align: left; } th { background-color: #f5f5f5; font-weight: bold; } tr:nth-child(even) { background-color: #f9f9f9; } /* Blockquotes */ blockquote { font-style: italic; margin: 0 0 1.5em; padding-left: 1em; border-left: 0.2em solid #bdbdbd; } /* Post list */ .post-list { list-style-type: none; padding: 0; margin: 0; } .post-list li { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5em; } .post-list a { max-width: 70%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .post-list a:hover { text-decoration: underline; } .post-date { font-size: 0.9em; color: #666; } /* Navigation */ .main-nav { padding: 1em 0; margin-bottom: 0.2em; } .main-nav ul { list-style-type: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; } .main-nav li { margin: 0 1.5em 0.5em 0; } .main-nav a { color: #047bc2; transition: color 0.3s; } .main-nav a:hover { color: #035891; } /* Responsive layout */ @media (max-width: 768px) { .main-nav { padding: 0.5em 0em; } .main-nav li { margin-right: 1em; } .post-list li { flex-direction: column; align-items: flex-start; } .post-list a { max-width: 100%; margin-bottom: 0.2em; } }