brainfuck.css 2.7 KB

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