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.

main.css 3.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. :root {
  2. --color-text: #999;
  3. --color-text-dimmed: #666;
  4. --color-text-bright: #fff;
  5. --color-background: #000;
  6. --font-primary: "Roboto Condensed";
  7. --font-secondary: "Roboto";
  8. --font-size: 20px;
  9. --font-size-small: 0.75rem;
  10. --gap-body-top: 60px;
  11. --gap-body-right: 60px;
  12. --gap-body-bottom: 60px;
  13. --gap-body-left: 60px;
  14. --gap-modules: 30px;
  15. }
  16. html {
  17. cursor: none;
  18. overflow: hidden;
  19. background: var(--color-background);
  20. user-select: none;
  21. font-size: var(--font-size);
  22. }
  23. ::-webkit-scrollbar {
  24. display: none;
  25. }
  26. body {
  27. margin: var(--gap-body-top) var(--gap-body-right) var(--gap-body-bottom) var(--gap-body-left);
  28. position: absolute;
  29. height: calc(100% - var(--gap-body-top) - var(--gap-body-bottom));
  30. width: calc(100% - var(--gap-body-right) - var(--gap-body-left));
  31. background: var(--color-background);
  32. color: var(--color-text);
  33. font-family: var(--font-primary), sans-serif;
  34. font-weight: 400;
  35. line-height: 1.5;
  36. -webkit-font-smoothing: antialiased;
  37. }
  38. /**
  39. * Default styles.
  40. */
  41. .dimmed {
  42. color: var(--color-text-dimmed);
  43. }
  44. .normal {
  45. color: var(--color-text);
  46. }
  47. .bright {
  48. color: var(--color-text-bright);
  49. }
  50. .xsmall {
  51. font-size: var(--font-size-small);
  52. line-height: 1.275;
  53. }
  54. .small {
  55. font-size: 1rem;
  56. line-height: 1.25;
  57. }
  58. .medium {
  59. font-size: 1.5rem;
  60. line-height: 1.225;
  61. }
  62. .large {
  63. font-size: 3.25rem;
  64. line-height: 1;
  65. }
  66. .xlarge {
  67. font-size: 3.75rem;
  68. line-height: 1;
  69. letter-spacing: -3px;
  70. }
  71. .thin {
  72. font-family: var(--font-secondary), sans-serif;
  73. font-weight: 100;
  74. }
  75. .light {
  76. font-family: var(--font-primary), sans-serif;
  77. font-weight: 300;
  78. }
  79. .regular {
  80. font-family: var(--font-primary), sans-serif;
  81. font-weight: 400;
  82. }
  83. .bold {
  84. font-family: var(--font-primary), sans-serif;
  85. font-weight: 700;
  86. }
  87. .align-right {
  88. text-align: right;
  89. }
  90. .align-left {
  91. text-align: left;
  92. }
  93. header {
  94. text-transform: uppercase;
  95. font-size: var(--font-size-small);
  96. font-family: var(--font-primary), Arial, Helvetica, sans-serif;
  97. font-weight: 400;
  98. border-bottom: 1px solid var(--color-text-dimmed);
  99. line-height: 15px;
  100. padding-bottom: 5px;
  101. margin-bottom: 10px;
  102. color: var(--color-text);
  103. }
  104. sup {
  105. font-size: 50%;
  106. line-height: 50%;
  107. }
  108. /**
  109. * Module styles.
  110. */
  111. .module {
  112. margin-bottom: var(--gap-modules);
  113. }
  114. .region.bottom .module {
  115. margin-top: var(--gap-modules);
  116. margin-bottom: 0;
  117. }
  118. .no-wrap {
  119. white-space: nowrap;
  120. overflow: hidden;
  121. text-overflow: ellipsis;
  122. }
  123. .pre-line {
  124. white-space: pre-line;
  125. }
  126. /**
  127. * Region Definitions.
  128. */
  129. .region {
  130. position: absolute;
  131. }
  132. .region.fullscreen {
  133. position: absolute;
  134. top: calc(-1 * var(--gap-body-top));
  135. left: calc(-1 * var(--gap-body-left));
  136. right: calc(-1 * var(--gap-body-right));
  137. bottom: calc(-1 * var(--gap-body-bottom));
  138. pointer-events: none;
  139. }
  140. .region.fullscreen * {
  141. pointer-events: auto;
  142. }
  143. .region.right {
  144. right: 0;
  145. text-align: right;
  146. }
  147. .region.top {
  148. top: 0;
  149. }
  150. .region.top.center,
  151. .region.bottom.center {
  152. left: 50%;
  153. transform: translateX(-50%);
  154. }
  155. .region.top.right,
  156. .region.top.left,
  157. .region.top.center {
  158. top: 100%;
  159. }
  160. .region.bottom {
  161. bottom: 0;
  162. }
  163. .region.bottom.right,
  164. .region.bottom.center,
  165. .region.bottom.left {
  166. bottom: 100%;
  167. }
  168. .region.bar {
  169. width: 100%;
  170. text-align: center;
  171. }
  172. .region.third,
  173. .region.middle.center {
  174. width: 100%;
  175. text-align: center;
  176. transform: translateY(-50%);
  177. }
  178. .region.upper.third {
  179. top: 33%;
  180. }
  181. .region.middle.center {
  182. top: 50%;
  183. }
  184. .region.lower.third {
  185. top: 66%;
  186. }
  187. .region.left {
  188. text-align: left;
  189. }
  190. .region table {
  191. width: 100%;
  192. border-spacing: 0;
  193. border-collapse: separate;
  194. }