custom.css 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /* Magic Mirror Custom CSS Sample
  2. *
  3. * Change color and fonts here.
  4. *
  5. * Beware that properties cannot be unitless, so for example write '--gap-body: 0px;' instead of just '--gap-body: 0;'
  6. *
  7. * MIT Licensed.
  8. */
  9. /* Uncomment and adjust accordingly if you want to import another font from the google-fonts-api: */
  10. @font-face {
  11. font-family: 'Poppins';
  12. font-style: normal;
  13. font-weight: 100;
  14. font-display: swap;
  15. src: url(https://fonts.gstatic.com/s/poppins/v19/pxiGyp8kv8JHgFVrLPTedw.ttf) format('truetype');
  16. }
  17. @font-face {
  18. font-family: 'Poppins';
  19. font-style: normal;
  20. font-weight: 300;
  21. font-display: swap;
  22. src: url(https://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLDz8V1s.ttf) format('truetype');
  23. }
  24. @font-face {
  25. font-family: 'Poppins';
  26. font-style: normal;
  27. font-weight: 400;
  28. font-display: swap;
  29. src: url(https://fonts.gstatic.com/s/poppins/v19/pxiEyp8kv8JHgFVrFJA.ttf) format('truetype');
  30. }
  31. @font-face {
  32. font-family: 'Poppins';
  33. font-style: normal;
  34. font-weight: 700;
  35. font-display: swap;
  36. src: url(https://fonts.gstatic.com/s/poppins/v19/pxiByp8kv8JHgFVrLCz7V1s.ttf) format('truetype');
  37. }
  38. :root {
  39. --color-text: #999;
  40. --color-text-dimmed: #666;
  41. --color-text-bright: #fff;
  42. --color-background: black;
  43. --font-primary: "Roboto Condensed";
  44. --font-secondary: "Roboto";
  45. --font-size: 20px;
  46. --font-size-small: 0.75rem;
  47. --gap-body-top: 60px;
  48. --gap-body-right: 60px;
  49. --gap-body-bottom: 60px;
  50. --gap-body-left: 60px;
  51. --gap-modules: 30px;
  52. }
  53. /* #module_2_MMM-ImageSlideshow img {
  54. width: 50%;
  55. height: auto;
  56. } */