Newer
Older
express-blog / public / css / post.css
@Jason Jason on 3 Jun 737 bytes modified: ecosystem.config.js
.post-content h1 { font-size: 2.5rem; font-weight: 700; }
.post-content h2 { font-size: 1.8rem; margin-top: 2rem; }
.post-content p { max-width: 60ch; margin-bottom: 1.25rem; }
.post-content pre { background: #2d2d2d; color: #ccc; padding: 1rem; border-radius: 6px; overflow-x: auto; }
.post-content code { font-family: monospace; }
.post-content > * + * {
    margin-top: 1.5rem;
  }
  .post-content p, .post-content li {
    line-height: 1.6;
    letter-spacing: 0.02em;
  }
  .post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
  }
  .post-content blockquote {
    border-left: 4px solid #ccc;
    padding-left: 1rem;
    color: #666;
    font-style: italic;
    margin: 1rem 0;
  }