Presentation.module.scss 871 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. :root {
  2. :global {
  3. /* stylelint-disable-next-line no-invalid-position-at-import-rule */
  4. @import 'reveal.js/dist/reveal.css';
  5. }
  6. }
  7. .grw-presentation {
  8. // workaround from https://github.com/css-modules/css-modules/issues/295#issuecomment-952885628
  9. &:global(.reveal) :global {
  10. .slides {
  11. text-align: unset;
  12. section {
  13. position: absolute;
  14. width: 100%;
  15. }
  16. }
  17. .controls {
  18. bottom: 24px;
  19. color: var(--bs-body-color);
  20. }
  21. .progress {
  22. color: var(--bs-primary);
  23. }
  24. }
  25. }
  26. // adjust marp default theme
  27. :root[data-bs-theme='light'] {
  28. .grw-presentation {
  29. &:global {
  30. &.reveal-viewport {
  31. background-color: #fff;
  32. }
  33. }
  34. }
  35. }
  36. :root[data-bs-theme='dark'] {
  37. .grw-presentation {
  38. &:global {
  39. &.reveal-viewport {
  40. background-color: #0d1117;
  41. }
  42. }
  43. }
  44. }