custom.css 1.8 KB

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