content.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. @media screen {
  2. html {
  3. background: #f4f4f4;
  4. min-height: 100%;
  5. }
  6. }
  7. body {
  8. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  9. }
  10. @media screen {
  11. body {
  12. background-color: #fff;
  13. box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  14. box-sizing: border-box;
  15. margin: 1rem auto 0;
  16. max-width: 820px;
  17. min-height: calc(100vh - 1rem);
  18. padding: 4rem 6rem 6rem 6rem;
  19. }
  20. }
  21. table {
  22. border-collapse: collapse;
  23. }
  24. /* Apply a default padding if legacy cellpadding attribute is missing */
  25. table:not([cellpadding]) th,
  26. table:not([cellpadding]) td {
  27. padding: 0.4rem;
  28. }
  29. /* Set default table styles if a table has a positive border attribute
  30. and no inline css */
  31. table[border]:not([border="0"]):not([style*="border-width"]) th,
  32. table[border]:not([border="0"]):not([style*="border-width"]) td {
  33. border-width: 1px;
  34. }
  35. /* Set default table styles if a table has a positive border attribute
  36. and no inline css */
  37. table[border]:not([border="0"]):not([style*="border-style"]) th,
  38. table[border]:not([border="0"]):not([style*="border-style"]) td {
  39. border-style: solid;
  40. }
  41. /* Set default table styles if a table has a positive border attribute
  42. and no inline css */
  43. table[border]:not([border="0"]):not([style*="border-color"]) th,
  44. table[border]:not([border="0"]):not([style*="border-color"]) td {
  45. border-color: #ccc;
  46. }
  47. hr {
  48. border-color: #ccc;
  49. border-style: solid;
  50. border-width: 1px 0 0 0;
  51. }