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.

301 lines
5.0 KiB

4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
  1. html {
  2. width: 100%;
  3. height: 100%;
  4. overflow: hidden;
  5. position: fixed;
  6. }
  7. .navbar {
  8. position: absolute;
  9. top: 0;
  10. width: 100%;
  11. }
  12. .wrapper {
  13. height: calc(100% - 56px);
  14. overflow: auto;
  15. position: fixed;
  16. top: 56px;
  17. width: 100%;
  18. align-items: stretch;
  19. }
  20. .toolbar-button {
  21. padding-left: 2rem;
  22. padding-top: .375rem;
  23. line-height: 1.5;
  24. color: white;
  25. }
  26. .back-chevron {
  27. line-height: 1.5 !important;
  28. vertical-align: middle !important;
  29. margin-bottom: 4px !important;
  30. }
  31. #sidebar {
  32. padding-left: 20px;
  33. background-color: #ecedee;
  34. height: 100vh;
  35. padding-top: 20px;
  36. border-right: 1px solid darkgray;
  37. position: fixed;
  38. width: 250px;
  39. }
  40. #sidebar ul > li {
  41. padding-bottom: 10px;
  42. }
  43. #sidebar ul > li > a {
  44. color: rgba(0,0,0,.5);
  45. }
  46. #sidebar ul > li.active > a {
  47. color: black;
  48. }
  49. #sidebar div > a {
  50. color: rgba(0,0,0,.5);
  51. }
  52. #sidebar div.active > a {
  53. color: black;
  54. }
  55. #content {
  56. width: 100%;
  57. padding: 20px;
  58. }
  59. #article pre {
  60. background-color: #fdf6e3;
  61. color: #657b83;
  62. border-radius: 5px;
  63. padding: 5px;
  64. }
  65. @media (prefers-color-scheme: dark) {
  66. #article pre {
  67. background-color: #002b36;
  68. color: #839496;
  69. border-radius: 5px;
  70. padding: 5px;
  71. }
  72. #sidebar {
  73. padding-left: 20px;
  74. background-color: #1a1d20;
  75. height: 100vh;
  76. padding-top: 20px;
  77. border-right: 1px solid black;
  78. }
  79. #sidebar ul > li {
  80. padding-bottom: 10px;
  81. }
  82. #sidebar ul > li > a {
  83. color: rgba(255,255,255,.5);
  84. }
  85. #sidebar ul > li.active > a {
  86. color: white;
  87. }
  88. #sidebar div > a {
  89. color: rgba(255,255,255,.5);
  90. }
  91. #sidebar div.active > a {
  92. color: white;
  93. }
  94. body {
  95. background-color: #111 !important;
  96. color: #eee;
  97. }
  98. .jumbotron {
  99. background-color: #333 !important;
  100. }
  101. .modal-content {
  102. background-color: #111 !important;
  103. color: #eee;
  104. }
  105. .modal-header {
  106. border-bottom: 1px solid #555 !important;
  107. }
  108. .modal-header .close {
  109. color: #eee !important;
  110. text-shadow: 0 1px 0 #555 !important;
  111. }
  112. .modal-footer {
  113. border-top: 1px solid #555 !important;
  114. }
  115. .bg-light {
  116. background-color: #333 !important;
  117. }
  118. .bg-white {
  119. background-color: #000 !important;
  120. }
  121. .bg-black {
  122. background-color: #eee !important;
  123. }
  124. .form-control {
  125. display: block;
  126. width: 100%;
  127. height: calc(1.5em + 0.75rem + 2px);
  128. padding: 0.375rem 0.75rem;
  129. font-size: 1rem;
  130. font-weight: 400;
  131. line-height: 1.5;
  132. color: #dee2e6;
  133. background-color: #000;
  134. background-clip: padding-box;
  135. border: 1px solid #6c757d;
  136. border-radius: 0.25rem;
  137. transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  138. }
  139. @media (prefers-reduced-motion: reduce) {
  140. .form-control {
  141. transition: none;
  142. }
  143. }
  144. .form-control::-ms-expand {
  145. background-color: transparent;
  146. border: 0;
  147. }
  148. .form-control:-moz-focusring {
  149. color: transparent;
  150. text-shadow: 0 0 0 #dee2e6;
  151. }
  152. .form-control:focus {
  153. color: #dee2e6;
  154. background-color: #191d21;
  155. border-color: #b3d7ff;
  156. outline: 0;
  157. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  158. }
  159. .form-control::-webkit-input-placeholder {
  160. color: #6c757d;
  161. opacity: 1;
  162. }
  163. .form-control::-moz-placeholder {
  164. color: #6c757d;
  165. opacity: 1;
  166. }
  167. .form-control::-ms-input-placeholder {
  168. color: #6c757d;
  169. opacity: 1;
  170. }
  171. .form-control::placeholder {
  172. color: #6c757d;
  173. opacity: 1;
  174. }
  175. .form-control:disabled,
  176. .form-control[readonly] {
  177. background-color: #343a40;
  178. opacity: 1;
  179. }
  180. .card {
  181. background-color: #000;
  182. border: 1px solid #6c757d;
  183. }
  184. }
  185. @media all and (display-mode: standalone) {
  186. .navbar {
  187. position: absolute;
  188. top: 0;
  189. width: 100%;
  190. padding-top: 44px !important;
  191. }
  192. #refreshButton {
  193. display: block !important;
  194. }
  195. .wrapper {
  196. height: calc(100% - 92px);
  197. overflow: auto;
  198. position: fixed;
  199. top: 92px;
  200. width: 100%;
  201. align-items: stretch;
  202. padding-left: env(safe-area-inset-left);
  203. padding-right: env(safe-area-inset-right);
  204. padding-bottom: env(safe-area-insert-bottom);
  205. }
  206. @media (min-width: 577px) {
  207. .navbar {
  208. position: absolute;
  209. top: 0;
  210. width: 100%;
  211. padding-top: 24px !important;
  212. }
  213. #navbarNavDropdown {
  214. padding-left: env(safe-area-inset-left);
  215. padding-right: env(safe-area-inset-right);
  216. }
  217. .wrapper {
  218. height: calc(100% - 72px);
  219. overflow: auto;
  220. position: fixed;
  221. top: 72px;
  222. width: 100%;
  223. align-items: stretch;
  224. padding-left: env(safe-area-inset-left);
  225. padding-right: env(safe-area-inset-right);
  226. padding-bottom: env(safe-area-insert-bottom);
  227. }
  228. }
  229. }
  230. @media (max-width: 991.98px) {
  231. #sidebar {
  232. display: none !important;
  233. }
  234. }
  235. @media (min-width: 991.98px) {
  236. .navbar-nav {
  237. display: none !important;
  238. }
  239. #sidebar {
  240. min-width: 250px;
  241. max-width: 250px;
  242. display: block !important;
  243. }
  244. #content {
  245. left: 250px;
  246. width: calc(100% - 250px) !important;
  247. position: relative;
  248. }
  249. #sidebar.active {
  250. margin-left: -250px;
  251. }
  252. }