Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
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.

clock_styles.css 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .clockGrid {
  2. display: inline-flex;
  3. gap: 15px;
  4. }
  5. .clockGrid--left {
  6. flex-direction: row;
  7. }
  8. .clockGrid--right {
  9. flex-direction: row-reverse;
  10. }
  11. .clockGrid--top {
  12. flex-direction: column;
  13. }
  14. .clockGrid--bottom {
  15. flex-direction: column-reverse;
  16. }
  17. .clockCircle {
  18. place-self: center;
  19. position: relative;
  20. border-radius: 50%;
  21. background-size: 100%;
  22. }
  23. .clockFace {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. .clockFace::after {
  28. position: absolute;
  29. top: 50%;
  30. left: 50%;
  31. width: 6px;
  32. height: 6px;
  33. margin: -3px 0 0 -3px;
  34. background: var(--color-text-bright);
  35. border-radius: 3px;
  36. content: "";
  37. display: block;
  38. }
  39. .clockHour {
  40. width: 0;
  41. height: 0;
  42. position: absolute;
  43. top: 50%;
  44. left: 50%;
  45. margin: -2px 0 -2px -25%; /* numbers must match negative length & thickness */
  46. padding: 2px 0 2px 25%; /* indicator length & thickness */
  47. background: var(--color-text-bright);
  48. transform-origin: 100% 50%;
  49. border-radius: 3px 0 0 3px;
  50. }
  51. .clockMinute {
  52. width: 0;
  53. height: 0;
  54. position: absolute;
  55. top: 50%;
  56. left: 50%;
  57. margin: -35% -2px 0; /* numbers must match negative length & thickness */
  58. padding: 35% 2px 0; /* indicator length & thickness */
  59. background: var(--color-text-bright);
  60. transform-origin: 50% 100%;
  61. border-radius: 3px 0 0 3px;
  62. }
  63. .clockSecond {
  64. width: 0;
  65. height: 0;
  66. position: absolute;
  67. top: 50%;
  68. left: 50%;
  69. margin: -38% -1px 0 0; /* numbers must match negative length & thickness */
  70. padding: 38% 1px 0 0; /* indicator length & thickness */
  71. background: var(--color-text);
  72. transform-origin: 50% 100%;
  73. }
  74. .module.clock .sun,
  75. .module.clock .moon {
  76. display: flex;
  77. }
  78. .module.clock .sun > *,
  79. .module.clock .moon > * {
  80. flex: 1;
  81. }