custom.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. html, body.crt {
  2. height: auto;
  3. width: auto;
  4. min-height: 100vh;
  5. min-width: 100vw;
  6. max-width: 100vw;
  7. }
  8. p > img {
  9. max-width: 100%;
  10. }
  11. p > img + btn {
  12. float: right;
  13. transform: translateY(-100%);
  14. }
  15. .expand-img {
  16. width: 100vw;
  17. height: 100vh;
  18. position: fixed;
  19. top: 0;
  20. left: 0;
  21. z-index: 1;
  22. pointer-events: none;
  23. }
  24. .expand-img > .expand-img-wrapper {
  25. width: auto;
  26. height: auto;
  27. position: absolute;
  28. top:50%;
  29. left:50%;
  30. transform: translate(-50%, -50%);
  31. }
  32. .expand-img > .expand-img-wrapper > img {
  33. max-width: 90vw;
  34. max-height: 90vh;
  35. width: auto;
  36. height: auto;
  37. }
  38. .expand-img > .expand-img-wrapper > button,
  39. .expand-img > .expand-img-wrapper > .btn-primary.btn-lg:not(:disabled):not(.disabled):active {
  40. position: absolute;
  41. bottom: 0;
  42. right: 0;
  43. top: auto;
  44. left: auto;
  45. pointer-events: all;
  46. }
  47. p > a {
  48. overflow-wrap: break-word;
  49. }
  50. .crt::after {
  51. animation: vm-flicker 1s infinite;
  52. animation-delay: 1s;
  53. }
  54. body *, .lead, .display-3 {
  55. line-height: 20px;
  56. font-size: 22px;
  57. }
  58. pre code {
  59. line-height: 18px;
  60. font-size: 20px;
  61. }
  62. .bootstra-enable-cursor *, body.bootstra-enable-cursor {
  63. cursor:text!important;
  64. }
  65. .bootstra-enable-cursor .nav-link *, .bootstra-enable-cursor a {
  66. cursor:pointer!important;
  67. }
  68. pre > code {
  69. color: #bbb;
  70. width: 100%;
  71. }
  72. pre {
  73. background-color: #272822;
  74. }
  75. .card-body > a {
  76. white-space: nowrap;
  77. overflow:hidden;
  78. text-overflow: ellipsis;
  79. max-width: 100%;
  80. }