custom.less 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. /*@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;700&display=swap');*/
  11. :root {
  12. --color-text: #999;
  13. --color-text-dimmed: #666;
  14. --color-text-bright: #fff;
  15. --color-background: black;
  16. --font-primary: "Roboto Condensed";
  17. --font-secondary: "Roboto";
  18. --font-size: 20px;
  19. --font-size-small: 0.75rem;
  20. --gap-body-top: 60px;
  21. --gap-body-right: 60px;
  22. --gap-body-bottom: 60px;
  23. --gap-body-left: 60px;
  24. --gap-modules: 30px;
  25. }
  26. div.calendar {
  27. div.module-content {
  28. min-height: 5em;
  29. }
  30. }
  31. table {
  32. &.daily-overview-table {
  33. font-size: 2.5em !important;
  34. border-collapse: collapse;
  35. tr {
  36. opacity: 1 !important;
  37. font-size: 100% !important;
  38. td {
  39. font-size: 100% !important;
  40. text-align: left;
  41. border-bottom: 5px solid #999 !important;
  42. padding: 0.2em;
  43. &.symbol {
  44. display: table-cell;
  45. color: #fff;
  46. padding-right: 0;
  47. min-width: 1.2em;
  48. max-width: 1.2em;
  49. span {
  50. &.fa {
  51. font-family: 'Font Awesome 6 Pro';
  52. font-weight: 300;
  53. }
  54. }
  55. }
  56. &.time {
  57. font-size: 90%;
  58. }
  59. }
  60. }
  61. }
  62. }
  63. div {
  64. &.daily-overview,
  65. &.rtw-overview,
  66. &.nktw-overview,
  67. &.ktw-overview {
  68. header {
  69. &.module-header {
  70. color: #fff;
  71. font-size: 2.5em !important;
  72. border-bottom: none;
  73. margin-bottom: 1em;
  74. }
  75. }
  76. }
  77. }