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.

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