global.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. body {
  2. margin: 0;
  3. font-family: Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell,
  4. Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
  5. line-height: 1.5;
  6. padding-bottom: 2.5rem;
  7. }
  8. h1,
  9. h2,
  10. h3,
  11. h4,
  12. h5,
  13. h6 {
  14. margin: 0 0 0.5em 0;
  15. font-weight: 400;
  16. line-height: 1.2;
  17. }
  18. h1 {
  19. font-size: 2em;
  20. }
  21. a {
  22. color: inherit;
  23. }
  24. @media (min-width: 400px) {
  25. body {
  26. font-size: 16px;
  27. }
  28. }
  29. .container {
  30. max-width: 800px;
  31. margin: 0 auto;
  32. padding: 0 2rem;
  33. box-sizing: border-box;
  34. }
  35. article {
  36. padding: 1rem 1.25rem;
  37. position: relative;
  38. border-radius: 0.2rem;
  39. border: 1px solid;
  40. }
  41. article.link a::after {
  42. content: "";
  43. position: absolute;
  44. left: 0;
  45. right: 0;
  46. top: 0;
  47. bottom: 0;
  48. }
  49. article + article {
  50. margin-top: 0.5rem;
  51. }
  52. article + h3 {
  53. margin-top: 1rem;
  54. }
  55. h3 {
  56. opacity: 0.75;
  57. }
  58. h4 {
  59. font-weight: bold;
  60. }
  61. article.down {
  62. border-left: 0.2rem solid;
  63. }
  64. article.degraded {
  65. border-left: 0.2rem solid;
  66. }
  67. article.up {
  68. border-left: 0.2rem solid;
  69. }
  70. .f {
  71. display: flex;
  72. justify-content: space-between;
  73. align-items: center;
  74. flex-wrap: wrap;
  75. }
  76. section + h2 {
  77. margin-top: 2rem;
  78. }
  79. .tag {
  80. display: inline-block;
  81. padding: 0.33rem 0.5rem;
  82. border-radius: 0.2rem;
  83. font-size: 70%;
  84. vertical-align: middle;
  85. margin-top: -0.2rem;
  86. margin-left: 0.5rem;
  87. }
  88. dl {
  89. margin-bottom: 1.5rem;
  90. }
  91. dl dt {
  92. font-weight: bold;
  93. }
  94. dl dd {
  95. margin: 0 0 1rem 0;
  96. }
  97. nav {
  98. border-bottom: 1px solid;
  99. }
  100. [aria-current] {
  101. border-bottom: 2px solid;
  102. }
  103. a.error-button {
  104. border: 0.1rem solid;
  105. }
  106. /* Theming */
  107. .submit-button {
  108. background: #01a3a4;
  109. color: #fff;
  110. border-color: transparent;
  111. }
  112. body {
  113. background: var(--body-background-color);
  114. color: var(--body-text-color);
  115. }
  116. code {
  117. color: var(--code-color);
  118. background: var(--code-background-color);
  119. }
  120. article {
  121. background: var(--card-background-color);
  122. border-color: var(--card-border-color);
  123. }
  124. article.down {
  125. border-left-color: var(--down-border-left-color) !important;
  126. color: var(--down-color-color);
  127. }
  128. article.down-active {
  129. background: var(--down-background-color);
  130. border-color: var(--down-border-left-color);
  131. }
  132. article.degraded {
  133. border-left-color: var(--degraded-border-left-color) !important;
  134. color: var(--degraded-color-color);
  135. }
  136. article.up {
  137. border-left-color: var(--up-border-left-color) !important;
  138. color: var(--up-color-color);
  139. }
  140. .tag {
  141. color: var(--tag-color);
  142. }
  143. .tag.closed,
  144. .tag.up {
  145. background: var(--tag-up-background-color) !important;
  146. }
  147. .tag.open,
  148. .tag.down {
  149. background: var(--tag-down-background-color) !important;
  150. }
  151. .tag.degraded {
  152. background: var(--tag-degraded-background-color) !important;
  153. }
  154. .changed + section .data {
  155. background: var(--change-background-color);
  156. }
  157. nav {
  158. border-bottom-color: var(--nav-border-bottom-color);
  159. background: var(--nav-background-color);
  160. }
  161. [aria-current] {
  162. border-bottom-color: var(--nav-current-border-bottom-color);
  163. }
  164. a.error-button {
  165. border-color: var(--error-button-border-color);
  166. background: var(--error-button-background-color);
  167. color: var(--error-button-color);
  168. }
  169. .submit-button {
  170. background: var(--submit-button-background-color);
  171. color: var(--submit-button-color);
  172. border-color: var(--submit-button-border-color);
  173. }
  174. article .graph {
  175. opacity: var(--graph-opacity);
  176. filter: var(--graph-filter);
  177. }