brainfuck.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. .memorycell
  2. {
  3. border-radius: 5px;
  4. margin: 2px;
  5. text-align: center;
  6. background-color: #707070;
  7. display: inline-block;
  8. width: calc(10% - 4px);
  9. }
  10. @media (max-width: 768px)
  11. {
  12. .memorycell
  13. {
  14. width: calc(20% - 4px);
  15. }
  16. }
  17. .active_cell
  18. {
  19. background-color: #909090;
  20. }
  21. .active_code
  22. {
  23. color: #C02020;
  24. }
  25. #input
  26. {
  27. width: 100%;
  28. height: 300px;
  29. resize: none;
  30. background-color: #D0D0D0;
  31. border-radius: 5px;
  32. border-style: none;
  33. padding: 10px;
  34. }
  35. #outputcode
  36. {
  37. margin-top: 6px;
  38. margin-bottom: 6px;
  39. width: 100%;
  40. height: 300px;
  41. color: #000000;
  42. background-color: #707070;
  43. border-radius: 5px;
  44. padding: 10px;
  45. word-wrap: break-word;
  46. overflow: hidden;
  47. }
  48. #output
  49. {
  50. margin-top: 6px;
  51. margin-bottom: 6px;
  52. width: 100%;
  53. height: 300px;
  54. color: #000000;
  55. background-color: #707070;
  56. border-radius: 5px;
  57. padding: 10px;
  58. word-wrap: break-word;
  59. overflow: hidden;
  60. }
  61. @media (max-width: 992px)
  62. {
  63. #input
  64. {
  65. height: 200px;
  66. }
  67. #outputcode
  68. {
  69. height: 200px;
  70. }
  71. #output
  72. {
  73. height: 200px;
  74. }
  75. }
  76. @media (max-width: 768px)
  77. {
  78. #input
  79. {
  80. height: 100px;
  81. }
  82. #outputcode
  83. {
  84. height: 100px;
  85. }
  86. #output
  87. {
  88. height: 100px;
  89. }
  90. }
  91. #delay
  92. {
  93. width: 100%;
  94. -webkit-appearance: none;
  95. border-radius: 5px;
  96. height: 10px;
  97. background-color: #D0D0D0;
  98. opacity: 0.7;
  99. -webkit-transition: 0.2s;
  100. transition: opacity 0.2s;
  101. }
  102. #delay::-webkit-slider-thumb
  103. {
  104. -webkit-appearance: none;
  105. appearance: none;
  106. width: 10px;
  107. height: 20px;
  108. border-radius: 5px;
  109. background: #601010;
  110. cursor: pointer;
  111. }
  112. #delay::-moz-range-thumb
  113. {
  114. -webkit-appearance: none;
  115. appearance: none;
  116. width: 10px;
  117. height: 20px;
  118. border-radius: 5px;
  119. background: #601010;
  120. cursor: pointer;
  121. }
  122. #delay:hover
  123. {
  124. opacity: 1;
  125. }
  126. #delaydiv
  127. {
  128. background-color: #707070;
  129. width: 100%;
  130. padding-top: 6px;
  131. padding-left: 10px;
  132. padding-right: 10px;
  133. padding-bottom: 6px;
  134. margin-top: 6px;
  135. margin-bottom: 16px;
  136. border-radius: 5px;
  137. }
  138. #reset
  139. {
  140. width: calc(50% - 2px);
  141. float: left;
  142. }
  143. #start
  144. {
  145. margin-right: 4px;
  146. width: calc(50% - 2px);
  147. float: left;
  148. }
  149. .brainfuckTitle
  150. {
  151. background-color: #602020;
  152. margin-top: 10px;
  153. margin-bottom: 10px;
  154. padding-top: 8px;
  155. padding-bottom: 8px;
  156. text-align: center;
  157. color: #FFFFFF;
  158. border-radius: 5px;
  159. border-width: 2px;
  160. border-color: #202020;
  161. border-style: solid;
  162. font-weight: bold;
  163. }