li { margin: 5px 0; } .post-header { padding: 0; } .post-container { width: 80%; } .post-title { font-weight: normal; font-size: 2.2em; margin: 50px 0; width: 100%; position: relative; display: inline-block; } .post-title::before { content: ""; position: absolute; background-color: var(--topic-color, var(--text)); height: 30px; width: 2px; bottom: -10px; left: -20px; } .post-title::after { content: ""; position: absolute; background-color: var(--topic-color, var(--text)); width: 200px; height: 2px; bottom: -10px; left: -20px; } .post-meta { font-size: 1.3em; color: var(--text); margin-left: 100px; } .post-article { font-size: 1.5em; line-height: 1.5em; padding-bottom: 50px; } .post-article a { text-decoration: underline; } article h1, article h2, article h3, .post-article h1, .post-article h2, .post-article h3 { font-weight: normal; position: relative; } article h1, .post-article h1 { padding-left: 1.5em; } article h2, .post-article h2 { padding-left: 2em; } article h3, .post-article h3 { padding-left: 2.5em; } article h1::before, .post-article h1::before { content: "#"; } article h2::before, .post-article h2::before { content: "##"; } article h3::before, .post-article h3::before { content: "###"; } article h1::before, article h2::before, article h3::before, .post-article h1::before, .post-article h2::before, .post-article h3::before { position: absolute; left: 0; color: var(--topic-color, var(--text)); margin-right: 0.5em; } article img { display: block; margin: 2rem auto; max-width: 100%; height: auto; } article pre { padding: 1rem; overflow-x: auto; border-radius: 4px; border: 1px solid var(--border); } [data-theme="dark"] .astro-code, [data-theme="dark"] .astro-code span { color: var(--shiki-dark) !important; background-color: var(--shiki-dark-bg) !important; } :not(pre) > code { font-family: "Courier New", Courier, monospace; padding: 4px; margin: 0 5px; white-space: nowrap; border: 1px solid var(--border); border-radius: 4px; background: var(--code-bg); } .astro-code { font-size: 0.8em !important; } .post-article h1:has(.date), .post-article h2:has(.date) { display: flex; justify-content: space-between; align-items: baseline; } .post-article h1 .date, .post-article h2 .date { font-weight: normal; } @media (max-width: 768px) { .post-title { font-size: 1.8em; } .post-meta { font-size: 1.2em; } .post-article { font-size: 1em; } }