content.css 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. body {
  2. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  3. line-height: 1.4;
  4. margin: 1rem;
  5. }
  6. table {
  7. border-collapse: collapse;
  8. }
  9. /* Apply a default padding if legacy cellpadding attribute is missing */
  10. table:not([cellpadding]) th,
  11. table:not([cellpadding]) td {
  12. padding: 0.4rem;
  13. }
  14. /* Set default table styles if a table has a positive border attribute
  15. and no inline css */
  16. table[border]:not([border="0"]):not([style*="border-width"]) th,
  17. table[border]:not([border="0"]):not([style*="border-width"]) td {
  18. border-width: 1px;
  19. }
  20. /* Set default table styles if a table has a positive border attribute
  21. and no inline css */
  22. table[border]:not([border="0"]):not([style*="border-style"]) th,
  23. table[border]:not([border="0"]):not([style*="border-style"]) td {
  24. border-style: solid;
  25. }
  26. /* Set default table styles if a table has a positive border attribute
  27. and no inline css */
  28. table[border]:not([border="0"]):not([style*="border-color"]) th,
  29. table[border]:not([border="0"]):not([style*="border-color"]) td {
  30. border-color: #ccc;
  31. }
  32. figure {
  33. display: table;
  34. margin: 1rem auto;
  35. }
  36. hr {
  37. border-color: #ccc;
  38. border-style: solid;
  39. border-width: 1px 0 0 0;
  40. }
  41. code {
  42. background-color: #e8e8e8;
  43. border-radius: 3px;
  44. padding: 0.1rem 0.2rem;
  45. }