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.

401 lines
6.5 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
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. #overlay {
  8. position: fixed;
  9. top: 0;
  10. left: 0;
  11. width: 100%;
  12. height: 100%;
  13. background-color: #000;
  14. filter:alpha(opacity=0);
  15. -moz-opacity:0;
  16. -khtml-opacity: 0;
  17. opacity: 0;
  18. z-index: 9999;
  19. }
  20. .tooltip .arrow {
  21. display: none;
  22. }
  23. .navbar {
  24. position: absolute;
  25. top: 0;
  26. width: 100%;
  27. }
  28. #sidebar a:hover {
  29. text-decoration: none;
  30. }
  31. .wrapper {
  32. height: calc(100% - 56px);
  33. overflow: auto;
  34. position: fixed;
  35. top: 56px;
  36. width: 100%;
  37. align-items: stretch;
  38. }
  39. .cell {
  40. color: black;
  41. }
  42. .cell-button {
  43. color: gray;
  44. }
  45. .cell-button:hover {
  46. color: darkgray;
  47. }
  48. .toolbar-button {
  49. padding-left: 2rem;
  50. padding-top: .375rem;
  51. line-height: 1.5;
  52. color: white;
  53. -webkit-user-select: none;
  54. -moz-user-select: none;
  55. -ms-user-select: none;
  56. user-select: none;
  57. }
  58. .toolbar-button:hover {
  59. color: #ddd;
  60. text-decoration: none;
  61. }
  62. .back-chevron {
  63. line-height: 1.5 !important;
  64. vertical-align: middle !important;
  65. margin-bottom: 4px !important;
  66. }
  67. #sidebar {
  68. padding-left: 20px;
  69. background-color: #ecedee;
  70. height: 100vh;
  71. padding-top: 20px;
  72. border-right: 1px solid darkgray;
  73. position: fixed;
  74. width: 250px;
  75. }
  76. #sidebar ul > li {
  77. padding-bottom: 10px;
  78. }
  79. #sidebar ul > li > a {
  80. color: rgba(0,0,0,.5);
  81. }
  82. #sidebar ul > li.active > a {
  83. color: black;
  84. }
  85. #sidebar div > a {
  86. color: rgba(0,0,0,.5);
  87. }
  88. #sidebar div.active > a {
  89. color: black;
  90. }
  91. #content {
  92. width: 100%;
  93. padding: 20px;
  94. }
  95. #article pre {
  96. background-color: #fdf6e3;
  97. color: #657b83;
  98. border-radius: 5px;
  99. padding: 5px;
  100. }
  101. #type-menu {
  102. display:none;
  103. position: fixed;
  104. z-index: 10000;
  105. min-width: 300px;
  106. width: 100%;
  107. max-width: 400px;
  108. height: 250px;
  109. background-color: black;
  110. border: 1px solid gray;
  111. border-radius: 10px;
  112. padding: 10px;
  113. }
  114. @media (prefers-color-scheme: dark) {
  115. #article pre {
  116. background-color: #002b36;
  117. color: #839496;
  118. border-radius: 5px;
  119. padding: 5px;
  120. }
  121. .cell {
  122. color: white;
  123. }
  124. #sidebar {
  125. padding-left: 20px;
  126. background-color: #1a1d20;
  127. height: 100vh;
  128. padding-top: 20px;
  129. border-right: 1px solid black;
  130. }
  131. #sidebar ul > li {
  132. padding-bottom: 10px;
  133. }
  134. #sidebar ul > li > a {
  135. color: rgba(255,255,255,.5);
  136. }
  137. #sidebar ul > li.active > a {
  138. color: white;
  139. }
  140. #sidebar div > a {
  141. color: rgba(255,255,255,.5);
  142. }
  143. #sidebar div.active > a {
  144. color: white;
  145. }
  146. body {
  147. background-color: #111 !important;
  148. color: #eee;
  149. }
  150. .jumbotron {
  151. background-color: #333 !important;
  152. }
  153. .modal-content {
  154. background-color: #111 !important;
  155. color: #eee;
  156. }
  157. .modal-header {
  158. border-bottom: 1px solid #555 !important;
  159. }
  160. .modal-header .close {
  161. color: #eee !important;
  162. text-shadow: 0 1px 0 #555 !important;
  163. }
  164. .modal-footer {
  165. border-top: 1px solid #555 !important;
  166. }
  167. .bg-light {
  168. background-color: #333 !important;
  169. }
  170. .bg-white {
  171. background-color: #000 !important;
  172. }
  173. .bg-black {
  174. background-color: #eee !important;
  175. }
  176. .form-control {
  177. display: block;
  178. width: 100%;
  179. height: calc(1.5em + 0.75rem + 2px);
  180. padding: 0.375rem 0.75rem;
  181. font-size: 1rem;
  182. font-weight: 400;
  183. line-height: 1.5;
  184. color: #dee2e6;
  185. background-color: #000;
  186. background-clip: padding-box;
  187. border: 1px solid #6c757d;
  188. border-radius: 0.25rem;
  189. transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  190. }
  191. @media (prefers-reduced-motion: reduce) {
  192. .form-control {
  193. transition: none;
  194. }
  195. }
  196. .form-control::-ms-expand {
  197. background-color: transparent;
  198. border: 0;
  199. }
  200. .form-control:-moz-focusring {
  201. color: transparent;
  202. text-shadow: 0 0 0 #dee2e6;
  203. }
  204. .form-control:focus {
  205. color: #dee2e6;
  206. background-color: #191d21;
  207. border-color: #b3d7ff;
  208. outline: 0;
  209. box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
  210. }
  211. .form-control::-webkit-input-placeholder {
  212. color: #6c757d;
  213. opacity: 1;
  214. }
  215. .form-control::-moz-placeholder {
  216. color: #6c757d;
  217. opacity: 1;
  218. }
  219. .form-control::-ms-input-placeholder {
  220. color: #6c757d;
  221. opacity: 1;
  222. }
  223. .form-control::placeholder {
  224. color: #6c757d;
  225. opacity: 1;
  226. }
  227. .form-control:disabled,
  228. .form-control[readonly] {
  229. background-color: #343a40;
  230. opacity: 1;
  231. }
  232. .card {
  233. background-color: #000;
  234. border: 1px solid #6c757d;
  235. }
  236. }
  237. @media all and (display-mode: standalone) {
  238. .navbar {
  239. position: absolute;
  240. top: 0;
  241. width: 100%;
  242. padding-top: 44px !important;
  243. }
  244. #refreshButton {
  245. display: block !important;
  246. }
  247. .wrapper {
  248. height: calc(100% - 92px);
  249. overflow: auto;
  250. position: fixed;
  251. top: 92px;
  252. width: 100%;
  253. align-items: stretch;
  254. padding-left: env(safe-area-inset-left);
  255. padding-right: env(safe-area-inset-right);
  256. padding-bottom: env(safe-area-insert-bottom);
  257. }
  258. @media (min-width: 577px) {
  259. .navbar {
  260. position: absolute;
  261. top: 0;
  262. width: 100%;
  263. padding-top: 24px !important;
  264. }
  265. #navbarNavDropdown {
  266. padding-left: env(safe-area-inset-left);
  267. padding-right: env(safe-area-inset-right);
  268. }
  269. .wrapper {
  270. height: calc(100% - 72px);
  271. overflow: auto;
  272. position: fixed;
  273. top: 72px;
  274. width: 100%;
  275. align-items: stretch;
  276. padding-left: env(safe-area-inset-left);
  277. padding-right: env(safe-area-inset-right);
  278. padding-bottom: env(safe-area-insert-bottom);
  279. }
  280. }
  281. }
  282. @media (max-width: 991.98px) {
  283. #sidebar {
  284. display: none !important;
  285. }
  286. }
  287. @media (min-width: 991.98px) {
  288. .navbar-nav {
  289. display: none !important;
  290. }
  291. #sidebar {
  292. min-width: 250px;
  293. max-width: 250px;
  294. display: block !important;
  295. }
  296. #content {
  297. left: 250px;
  298. width: calc(100% - 250px) !important;
  299. position: relative;
  300. }
  301. #sidebar.active {
  302. margin-left: -250px;
  303. }
  304. }
  305. /* Fonts */
  306. #type-menu > div.font-choice {
  307. font-size: 24px;
  308. width: 100%;
  309. border-bottom: 1px solid darkgray;
  310. }
  311. #type-menu > div.font-size-choice {
  312. display: table;
  313. width: 100%;
  314. table-layout: fixed; /* For cells of equal size */
  315. }
  316. #type-menu > div.font-size-choice span {
  317. display: table-cell;
  318. text-align: center;
  319. }
  320. @font-face {
  321. font-family: Georgia;
  322. src: url('Georgia.ttf');
  323. }
  324. @font-face {
  325. font-family: Montserrat;
  326. src: url('Montserrat-Regular.otf');
  327. }
  328. @font-face {
  329. font-family: Roboto;
  330. src: url('Roboto-Regular.ttf');
  331. }
  332. @font-face {
  333. font-family: 'Source Serif Pro';
  334. src: url('SourceSerifPro-Regular.ttf');
  335. }