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.

153 lines
2.2 KiB

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. footer {
  27. height: 100px;
  28. padding-top: 20px;
  29. }
  30. footer .center {
  31. text-align: center;
  32. }
  33. .container {
  34. min-height: 100%;
  35. padding-bottom: 50px;
  36. padding-left: 10%;
  37. padding-right: 10%;
  38. padding-top: 5%;
  39. }
  40. .container .flash {
  41. padding: 10px;
  42. width: 400px;
  43. }
  44. .hide-menu,
  45. .show-menu {
  46. cursor: pointer;
  47. display: none;
  48. font-size: 30px;
  49. transition: var(--transtime);
  50. }
  51. .important {
  52. font-size: xx-large;
  53. padding-left: 25vw;
  54. padding-right: 25vw;
  55. padding-top: 30vh;
  56. text-align: left;
  57. }
  58. .important span {
  59. font-weight: bold;
  60. }
  61. .logo {
  62. height: 80px;
  63. padding-top: 10px;
  64. }
  65. .main-menu-dropdown span {
  66. float: left;
  67. font-family: monospace;
  68. font-size: 30px;
  69. font-weight: bold;
  70. line-height: 100px;
  71. padding: 0 10px;
  72. text-decoration: none;
  73. text-transform: uppercase;
  74. transition: 0.7s;
  75. }
  76. .main-menu {
  77. float: right;
  78. font-family: monospace;
  79. font-size: 30px;
  80. font-weight: bold;
  81. line-height: 100px;
  82. }
  83. .main-menu a {
  84. padding: 0 10px;
  85. text-decoration: none;
  86. text-transform: uppercase;
  87. transition: 0.7s;
  88. }
  89. .main-menu-dropdown {
  90. height: 100px;
  91. padding: 0 20px;
  92. }
  93. .show-menu {
  94. float: right;
  95. line-height: 100px;
  96. }
  97. #main-menu-check {
  98. position: absolute;
  99. visibility: hidden;
  100. z-index: -1111;
  101. }
  102. @media screen and (max-width:800px) {
  103. .hide-menu {
  104. position: absolute;
  105. right: 40px;
  106. top: 40px;
  107. }
  108. .hide-menu,
  109. .show-menu {
  110. display: block;
  111. }
  112. .main-menu {
  113. height: 100vh;
  114. line-height: normal;
  115. padding: 80px 0;
  116. position: fixed;
  117. right: -100%;
  118. text-align: center;
  119. top: 0;
  120. transition: var(--transtime);
  121. width: 100%;
  122. }
  123. .main-menu a {
  124. display: block;
  125. padding: 20px;
  126. }
  127. #main-menu-check:checked ~ .main-menu {
  128. right: 0;
  129. }
  130. }