2
0

max80.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. @font-face {
  2. font-family: "Prisma";
  3. src: url(Prisma-MAX.woff2);
  4. }
  5. @font-face {
  6. font-family: "Charm";
  7. font-weight: 700;
  8. src: url(Charm-Bold-PoP.woff2);
  9. }
  10. body {
  11. background: #e6c185;
  12. font-family: "arial", "helvetica", "sans-serif";
  13. }
  14. .mono, pre, output, tt, code, samp {
  15. font-family: "source code pro", "monospace";
  16. }
  17. div.title {
  18. display: flex;
  19. width: 100%;
  20. white-space: nowrap;
  21. padding: 1em 0em;
  22. overflow: hidden;
  23. align-items: center;
  24. }
  25. div.title svg {
  26. padding: 0 20px;
  27. }
  28. div.title *, nav * {
  29. display: flex;
  30. margin: 0;
  31. }
  32. div.title .logo2 {
  33. text-align: right;
  34. padding: 0 25px;
  35. font-weight: 700;
  36. font-size: 50px;
  37. font-family: "Charm","Brush Script MT","cursive";
  38. }
  39. nav {
  40. display: flex;
  41. border-style: solid none solid none;
  42. border-width: 5px;
  43. border-color: white;
  44. width: 100%;
  45. white-space: nowrap;
  46. overflow: hidden;
  47. align-items: stretch;
  48. }
  49. nav a {
  50. color: black;
  51. font-weight: 600;
  52. text-align: center;
  53. text-decoration: none;
  54. padding-left: 1.5em;
  55. padding-right: 1.5em;
  56. align-items: center;
  57. }
  58. nav a:hover {
  59. background: #af9365;
  60. }
  61. .pad {
  62. flex-grow: 1;
  63. }
  64. nav .text {
  65. padding-top: 1em;
  66. padding-bottom: 1em;
  67. }
  68. nav img {
  69. align-items: center;
  70. border: 1px solid black;
  71. object-fit: none;
  72. }
  73. form fieldset {
  74. border: 5px solid white;
  75. border-radius: 1em;
  76. margin: 1em;
  77. padding: 0.5em 1em;
  78. }
  79. form fieldset legend {
  80. font-weight: bold;
  81. padding: 0.25em;
  82. background: #af9365;
  83. }
  84. fieldset > div, fieldset > label {
  85. margin: 0;
  86. padding: 0.5ch;
  87. display: flex;
  88. }
  89. fieldset > p {
  90. font-style: italic;
  91. font-size: 90%;
  92. margin: 0 0 0 33ch;
  93. padding: 0.5em 0.5ch;
  94. }
  95. fieldset b {
  96. /* Abusing <b> as a kind of superlabel tag */
  97. width: 30ch;
  98. font-weight: normal;
  99. }
  100. fieldset b::after {
  101. content: ":";
  102. }
  103. fieldset span.sep {
  104. padding: 0 0.5ch;
  105. }
  106. input[type='text'], input[type='password'] {
  107. flex: 1;
  108. }
  109. input.port {
  110. flex: 0.2;
  111. width: 8ch;
  112. }
  113. .tz select {
  114. padding: 0;
  115. margin: 0 0 0 1px;
  116. }
  117. button.show, button.hide {
  118. width: 6ch;
  119. padding: 0;
  120. margin: 0 0 0 1px;
  121. font-size: 70%;
  122. }
  123. button.show .hide {
  124. display: none;
  125. }
  126. button.hide .show {
  127. display: none;
  128. }
  129. button {
  130. width: 28ch;
  131. margin: 1em;
  132. padding: 0.25em;
  133. vertical-align: middle;
  134. font-family: "arial", "sans-serif";
  135. font-size: 100%;
  136. }
  137. progress {
  138. display: block;
  139. width: 100%;
  140. margin: 0.5em 0;
  141. }
  142. output {
  143. display: none;
  144. border: 2px solid black;
  145. margin: 1em;
  146. padding: 0.75em 1.25em;
  147. border-radius: 1em;
  148. white-space: pre-wrap;
  149. }
  150. .ok output {
  151. display: block;
  152. background: #e0ffe0;
  153. }
  154. .err output {
  155. display: block;
  156. background: #ffe0e0;
  157. }
  158. .onerr {
  159. display: none;
  160. }
  161. .err .onerr {
  162. display: block;
  163. }
  164. .onerr h3 {
  165. font-weight: bold;
  166. text-decoration: underline;
  167. }
  168. .ro input:disabled {
  169. font-family: inherit;
  170. font-size: inherit;
  171. background: inherit;
  172. color: inherit;
  173. border: 0;
  174. opacity: 1;
  175. }
  176. .wip {
  177. width: 80%;
  178. margin: 2em auto;
  179. border: 10px solid #e00000;
  180. padding: 10px 50px;
  181. font-weight: 600;
  182. font-style: italic;
  183. text-align: center;
  184. font-size: 110%;
  185. min-height: 80px;
  186. background-color: #f0c000;
  187. background-image: url("wip.png");
  188. background-repeat: no-repeat;
  189. background-position: 20px 50%;
  190. display: flex;
  191. align-items: center;
  192. }
  193. .wip p {
  194. flex: 1;
  195. }
  196. p.norev {
  197. font-weight: 600;
  198. font-size: 100%;
  199. margin: 0 0;
  200. }
  201. .hidden {
  202. display: none;
  203. }