_typography.css 620 B

123456789101112131415161718192021222324252627282930313233
  1. /* resources/css/base/_typography.css
  2. 全站基础排版。无副作用,不覆盖组件样式。
  3. Noto Serif 字体已在 library.css 入口 @import,此处只声明使用规则。
  4. */
  5. /* ── 标题 ── */
  6. h1,
  7. h2,
  8. h3,
  9. h4,
  10. h5,
  11. h6 {
  12. line-height: 1.3;
  13. font-weight: 600;
  14. }
  15. /* ── 链接基础 ── */
  16. a {
  17. text-underline-offset: 0.15em;
  18. text-decoration-thickness: 0.05em;
  19. }
  20. /* ── 行内代码 ── */
  21. code {
  22. font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
  23. font-size: 0.875em;
  24. }
  25. /* ── 图片 ── */
  26. img {
  27. max-width: 100%;
  28. height: auto;
  29. }