extra.css 571 B

123456789101112131415161718192021222324252627282930313233
  1. /* Images */
  2. img {
  3. display: block;
  4. margin-left: auto;
  5. margin-right: auto;
  6. }
  7. .md-content img {
  8. background-color: rgba(255, 255, 255, 0.64);
  9. }
  10. /* Tables */
  11. table {
  12. margin-bottom: 24px;
  13. width: 100%;
  14. }
  15. th {
  16. padding: 6px;
  17. font-weight: bold;
  18. }
  19. td {
  20. padding: 6px;
  21. }
  22. /* Remove table header coloring. */
  23. .md-typeset table:not([class]) th {
  24. color: unset !important;
  25. background-color: unset !important;
  26. }
  27. thead tr {
  28. /* Colorize table headers. */
  29. background-color: var(--md-code-bg-color);
  30. color: var(--md-code-fg-color);
  31. }