content.css 1.4 KB

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