Simple file-based wiki with fulltext-search.
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.

167 lines
2.4 KiB

7 months ago
7 months ago
7 months ago
  1. :root {
  2. --error: rgb(255,0,0);
  3. --transtime: 0.7s;
  4. }
  5. * {
  6. margin: 0;
  7. padding: 0;
  8. }
  9. a {
  10. text-decoration: none;
  11. transition: var(--transtime);
  12. }
  13. a:hover {
  14. cursor: pointer;
  15. }
  16. body {
  17. margin: 0;
  18. }
  19. body,
  20. html {
  21. font-family: sans-serif;
  22. height: 100%;
  23. max-width: 100%;
  24. overflow-x: hidden;
  25. }
  26. code {
  27. border-radius: 25px;
  28. padding-left: 20px;
  29. padding-right: 20px;
  30. page-break-inside: avoid;
  31. font-family: monospace;
  32. white-space: pre;
  33. display: inline-block
  34. }
  35. footer {
  36. height: 100px;
  37. padding-top: 20px;
  38. }
  39. footer .center {
  40. text-align: center;
  41. }
  42. ul {
  43. padding-left: 10px;
  44. }
  45. .container {
  46. min-height: 100%;
  47. padding-bottom: 50px;
  48. padding-left: 10%;
  49. padding-right: 10%;
  50. padding-top: 5%;
  51. }
  52. .container .flash {
  53. padding: 10px;
  54. width: 400px;
  55. }
  56. .hide-menu,
  57. .show-menu {
  58. cursor: pointer;
  59. display: none;
  60. font-size: 30px;
  61. transition: var(--transtime);
  62. }
  63. .important {
  64. font-size: xx-large;
  65. padding-left: 25vw;
  66. padding-right: 25vw;
  67. padding-top: 30vh;
  68. text-align: left;
  69. }
  70. .important span {
  71. font-weight: bold;
  72. }
  73. .logo {
  74. height: 80px;
  75. padding-top: 10px;
  76. }
  77. .main-menu-dropdown span {
  78. float: left;
  79. font-family: monospace;
  80. font-size: 30px;
  81. font-weight: bold;
  82. line-height: 100px;
  83. padding: 0 10px;
  84. text-decoration: none;
  85. text-transform: uppercase;
  86. transition: 0.7s;
  87. }
  88. .main-menu {
  89. float: right;
  90. font-family: monospace;
  91. font-size: 30px;
  92. font-weight: bold;
  93. line-height: 100px;
  94. }
  95. .main-menu a {
  96. padding: 0 10px;
  97. text-decoration: none;
  98. text-transform: uppercase;
  99. transition: 0.7s;
  100. }
  101. .main-menu-dropdown {
  102. height: 100px;
  103. padding: 0 20px;
  104. }
  105. .show-menu {
  106. float: right;
  107. line-height: 100px;
  108. }
  109. #main-menu-check {
  110. position: absolute;
  111. visibility: hidden;
  112. z-index: -1111;
  113. }
  114. @media screen and (max-width:800px) {
  115. .hide-menu {
  116. position: absolute;
  117. right: 40px;
  118. top: 40px;
  119. }
  120. .hide-menu,
  121. .show-menu {
  122. display: block;
  123. }
  124. .main-menu {
  125. height: 100vh;
  126. line-height: normal;
  127. padding: 80px 0;
  128. position: fixed;
  129. right: -100%;
  130. text-align: center;
  131. top: 0;
  132. transition: var(--transtime);
  133. width: 100%;
  134. }
  135. .main-menu a {
  136. display: block;
  137. padding: 20px;
  138. }
  139. #main-menu-check:checked ~ .main-menu {
  140. right: 0;
  141. }
  142. }