You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

93 lines
2.0 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. [data-md-color-primary=hello-robot-light]{
  2. --md-primary-fg-color: #122837;
  3. --md-primary-fg-color--light: hsla(0,0%, 100%, 0.7);
  4. --md-primary-fg-color--dark: hsla(0, 0%, 0%, 0.07);
  5. --md-primary-bg-color: #FDF1F5;
  6. --md-typeset-a-color: #0550b3;
  7. --md-code-hl-number-color: hsla(196, 86%, 29%, 1); /* Make code block magic numbers less bright in light theme */
  8. }
  9. [data-md-color-primary=hello-robot-dark]{
  10. --md-primary-fg-color: #122837;
  11. --md-primary-fg-color--light: hsla(0,0%, 100%, 0.7);
  12. --md-primary-fg-color--dark: hsla(0, 0%, 0%, 0.07);
  13. --md-primary-bg-color: #FDF1F5;
  14. --md-typeset-a-color: hsla(341, 85%, 89%, 1.0); /* Make links more visible in dark theme */
  15. }
  16. [data-md-color-primary=hello-robot-light] .md-typeset h1,
  17. .md-typeset h2 {
  18. color: hsla(237, 100%, 28%, 1);
  19. }
  20. [data-md-color-primary=hello-robot-dark] .md-typeset h1,
  21. .md-typeset h2 {
  22. color: hsla(213, 100%, 68%, 1);
  23. }
  24. [data-md-color-scheme="slate"] {
  25. --md-hue: 210; /* [0, 360] */
  26. }
  27. th, td {
  28. border: 1px solid var(--md-typeset-table-color);
  29. border-spacing: 0;
  30. border-bottom: none;
  31. border-left: none;
  32. border-top: none;
  33. }
  34. .md-typeset__table {
  35. line-height: 1;
  36. }
  37. .md-typeset__table table:not([class]) {
  38. font-size: .74rem;
  39. border-right: none;
  40. }
  41. .md-typeset__table table:not([class]) td,
  42. .md-typeset__table table:not([class]) th {
  43. padding: 9px;
  44. }
  45. /* light mode alternating table bg colors */
  46. .md-typeset__table tr:nth-child(2n) {
  47. background-color: #f8f8f8;
  48. }
  49. /* dark mode alternating table bg colors */
  50. [data-md-color-scheme="slate"] .md-typeset__table tr:nth-child(2n) {
  51. background-color: hsla(var(--md-hue),25%,25%,1)
  52. }
  53. /*
  54. .md-header__topic:first-child {
  55. font-weight: normal;
  56. }
  57. /* Indentation.
  58. div.doc-contents {
  59. padding-left: 25px;
  60. border-left: 4px solid rgba(230, 230, 230);
  61. margin-bottom: 20px;
  62. }
  63. .md-typeset__table {
  64. min-width: 100%;
  65. }
  66. .md-typeset table:not([class]) {
  67. display: table;
  68. }
  69. */
  70. .shell-prompt code::before {
  71. content: "$ ";
  72. color: grey;
  73. }
  74. .highlight.no-copy .md-clipboard {
  75. display: none;
  76. }