custom.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. /**
  2. * Any CSS included here will be global. The classic template
  3. * bundles Infima by default. Infima is a CSS framework designed to
  4. * work well for content-centric websites.
  5. */
  6. /* You can override the default Infima variables here. */
  7. :root {
  8. --ifm-color-primary: #6965db;
  9. --ifm-color-primary-dark: #5b57d1;
  10. --ifm-color-primary-darker: #5b57d1;
  11. --ifm-color-primary-darkest: #4a47b1;
  12. --ifm-color-primary-light: #5b57d1;
  13. --ifm-color-primary-lighter: #5b57d1;
  14. --ifm-color-primary-lightest: #5b57d1;
  15. --ifm-code-font-size: 95%;
  16. scrollbar-gutter: stable;
  17. }
  18. /* For readability concerns, you should choose a lighter palette in dark mode. */
  19. [data-theme="dark"] {
  20. --ifm-color-primary: #8784e3;
  21. --ifm-color-primary-dark: #4b46d8;
  22. --ifm-color-primary-darker: #4b46d8;
  23. --ifm-color-primary-darkest: #3e39be;
  24. --ifm-color-primary-light: #3f3d64;
  25. --ifm-color-primary-lighter: #3f3d64;
  26. --ifm-color-primary-lightest: #3f3d64;
  27. }
  28. .docusaurus-highlight-code-line {
  29. background-color: rgba(0, 0, 0, 0.1);
  30. display: block;
  31. margin: 0 calc(-1 * var(--ifm-pre-padding));
  32. padding: 0 var(--ifm-pre-padding);
  33. }
  34. [data-theme="dark"] .docusaurus-highlight-code-line {
  35. background-color: rgba(0, 0, 0, 0.3);
  36. }
  37. [data-theme="dark"] .navbar__logo {
  38. filter: invert(93%) hue-rotate(180deg);
  39. }
  40. pre a {
  41. color: #5dccff;
  42. &:hover {
  43. color: #8fd3f3;
  44. }
  45. }
  46. .custom-button {
  47. height: 40px;
  48. max-width: 200px;
  49. margin: 10px 0;
  50. padding: 5px;
  51. background: #70b1ec;
  52. color: white;
  53. font-weight: 700;
  54. border: none;
  55. }
  56. .custom-styles .excalidraw {
  57. --color-primary: #fcc6d9;
  58. --color-primary-darker: #f783ac;
  59. --color-primary-darkest: #e64980;
  60. --color-primary-light: #f2a9c4;
  61. }
  62. .custom-styles .excalidraw.theme--dark {
  63. --color-primary: #d494aa;
  64. --color-primary-darker: #d64c7e;
  65. --color-primary-darkest: #e86e99;
  66. --color-primary-light: #dcbec9;
  67. }
  68. /* The global css conflicts with Excal css hence overriding */
  69. .excalidraw .context-menu-item__shortcut {
  70. background-color: transparent;
  71. border: none;
  72. box-shadow: none;
  73. padding: 0;
  74. }
  75. .excalidraw .Stats table td,
  76. .excalidraw .Stats table th,
  77. .excalidraw .Stats table tr {
  78. border: none;
  79. background: none;
  80. padding: 0;
  81. }
  82. .excalidraw .Stats .close {
  83. padding: 0;
  84. }
  85. .excalidraw .Stats table {
  86. display: table;
  87. }