A simple pastebin you can run on any server with Apache and PHP.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

textfiles.css 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. html {
  2. box-sizing: border-box;
  3. font-size: 20px;
  4. }
  5. *, *::before, *::after {
  6. box-sizing: inherit;
  7. }
  8. html, body {
  9. margin: 0;
  10. padding: 0;
  11. }
  12. .compensator {
  13. width: 15rem;
  14. height: 4.5rem;
  15. float: right;
  16. pointer-events: none;
  17. }
  18. @media only screen and (max-width: 520px) {
  19. .compensator {
  20. display: none;
  21. }
  22. }
  23. pre {
  24. font-family: Inconsolata, monospace;
  25. -moz-tab-size: 4;
  26. tab-size: 4;
  27. white-space: pre-wrap;
  28. overflow-wrap: break-word;
  29. padding: 0.5em;
  30. }
  31. #ui-elements-container {
  32. position: fixed;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100vh;
  37. pointer-events: none;
  38. }
  39. #ui-elements-container > * {
  40. pointer-events: auto;
  41. }
  42. #controls {
  43. position: absolute;
  44. top: 0;
  45. right: 0;
  46. -webkit-user-select: none;
  47. -moz-user-select: none;
  48. user-select: none;
  49. }
  50. @media only screen and (max-width: 520px) {
  51. #controls {
  52. display: flex;
  53. flex-flow: row-reverse;
  54. align-items: flex-end;
  55. width: 100%;
  56. top: unset;
  57. bottom: 0;
  58. }
  59. }
  60. #controls .buttons {
  61. display: flex;
  62. flex-flow: row-reverse wrap;
  63. background-color: #fff;
  64. padding: 1px;
  65. }
  66. @media only screen and (max-width: 520px) {
  67. #controls .buttons {
  68. flex-flow: column;
  69. }
  70. }
  71. #controls .button {
  72. background-color: #e00;
  73. font-size: 1.5em;
  74. display: flex;
  75. flex-flow: column;
  76. justify-content: center;
  77. align-items: center;
  78. width: 3.5rem;
  79. height: 3.5rem;
  80. text-decoration: none;
  81. font-family: Font Awesome;
  82. color: #fff;
  83. padding: 1px 0 0 0;
  84. border: none;
  85. -webkit-appearance: none;
  86. -moz-appearance: none;
  87. cursor: pointer;
  88. }
  89. #controls .button + .button {
  90. margin: 0 1px 0 0;
  91. }
  92. @media only screen and (max-width: 520px) {
  93. #controls .button + .button {
  94. margin: 1px 0 0 0;
  95. }
  96. }
  97. @media only screen and (hover:hover) and (pointer:fine) {
  98. #controls .button:hover {
  99. color: gold;
  100. }
  101. }
  102. #controls .button:active {
  103. transform: scale(0.975);
  104. }
  105. #controls .button:focus {
  106. outline: none;
  107. }
  108. #controls .button::after {
  109. content: attr(data-label);
  110. display: block;
  111. font-family: sans-serif;
  112. font-size: 0.5rem;
  113. font-weight: bold;
  114. margin: 6px 0 0 0;
  115. text-transform: uppercase;
  116. }
  117. #controls .message {
  118. display: block;
  119. margin: 1px 0 0 0;
  120. padding: 0.25em 0.5em;
  121. text-align: center;
  122. font-family: sans-serif;
  123. font-size: 0.75em;
  124. color: #b00;
  125. }
  126. #controls .message:not(:empty) {
  127. background-color: #fff;
  128. }
  129. @media only screen and (max-width: 520px) {
  130. #controls .message {
  131. margin: 0 0 1px 1px;
  132. flex: 1 1 100%;
  133. padding: 0.5em 0.75em;
  134. font-size: 0.875em;
  135. }
  136. #controls .message:not(:empty) {
  137. outline: 1px solid #fff;
  138. border: 1px solid #e00;
  139. }
  140. }
  141. #scratchpad {
  142. opacity: 0;
  143. z-index: -1;
  144. pointer-events: none;
  145. }