main.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. html {
  2. font-family: 'Exo 2', sans-serif;
  3. background-color: #f7f7f7;
  4. }
  5. .github-corner svg {
  6. fill: #272822;
  7. color: #ECF0F1;
  8. }
  9. body {
  10. font-size: 1.2em;
  11. margin: 0px;
  12. margin-top: 18px;
  13. }
  14. #container {
  15. text-align: center;
  16. }
  17. #content {
  18. max-width: 90%;
  19. width: 1000px;
  20. padding-left: 20px;
  21. padding-right: 20px;
  22. margin: 0 auto;
  23. }
  24. p.desc {
  25. margin-top: 0.6em;
  26. margin-bottom: 1.8em;
  27. }
  28. p.links {
  29. font-size: 0.8em;
  30. text-align: center;
  31. }
  32. p.links a {
  33. color: #666;
  34. }
  35. #terminal {
  36. border-radius: 4px;
  37. box-shadow: 0px 3px 8px #1a1a1a;
  38. }
  39. /* jQuery Terminal */
  40. .terminal {
  41. --color: #f1f1f0;
  42. --background: #282a36;
  43. --size: 1.5;
  44. --font: 'Fira Mono', monospace;
  45. --link-color: #59f78d;
  46. font-family: 'Fira Mono', monospace;
  47. }
  48. .terminal,
  49. .terminal .terminal-fill {
  50. padding: 1.2em;
  51. margin-bottom: 2em;
  52. }
  53. .terminal,
  54. .terminal-output> :not(.raw) span,
  55. .terminal-output> :not(.raw) a,
  56. .terminal-output> :not(.raw) div,
  57. .cmd,
  58. .cmd span,
  59. .cmd div {
  60. font-family: 'Fira Mono', monospace;
  61. }
  62. .terminal-output>div {
  63. padding-bottom: 1em;
  64. }
  65. .terminal-output>div.terminal-command {
  66. padding-bottom: 0em;
  67. }
  68. .prompt {
  69. font-weight: bold;
  70. }
  71. /* syntax highlighting */
  72. /* snazzy color scheme (https://github.com/sindresorhus/hyper-snazzy) */
  73. .hl-dimmed {
  74. color: #888 !important;
  75. }
  76. .hl-emphasized {
  77. font-weight: bold;
  78. }
  79. .hl-string {
  80. color: #59f78d !important;
  81. }
  82. .hl-keyword {
  83. font-weight: 700 !important;
  84. color: #ff69c0 !important;
  85. }
  86. .hl-value {
  87. color: #f3f99d !important;
  88. }
  89. .hl-unit {
  90. color: #99ecfe !important;
  91. }
  92. .hl-identifier {}
  93. .hl-type-identifier {
  94. color: #57c7ff !important;
  95. font-style: italic !important;
  96. }
  97. .hl-operator {
  98. font-weight: 700 !important;
  99. }
  100. .hl-decorator {
  101. color: #59f78d !important;
  102. }
  103. .hl-diagnostic-red {
  104. color: #ff5b56 !important;
  105. }
  106. .hl-diagnostic-blue {
  107. color: #56c7ff !important;
  108. }
  109. .hl-diagnostic-bold {
  110. font-weight: 700 !important;
  111. }
  112. /* Github Badge */
  113. .github-corner:hover .octo-arm {
  114. animation: octocat-wave 560ms ease-in-out
  115. }
  116. @keyframes octocat-wave {
  117. 0%,
  118. 100% {
  119. transform: rotate(0)
  120. }
  121. 20%,
  122. 60% {
  123. transform: rotate(-25deg)
  124. }
  125. 40%,
  126. 80% {
  127. transform: rotate(10deg)
  128. }
  129. }
  130. @media (max-width:600px) {
  131. html {
  132. height: 100%;
  133. }
  134. body {
  135. margin: 0px;
  136. height: 100%;
  137. }
  138. .github-corner {
  139. display: none;
  140. }
  141. #logo {
  142. display: none;
  143. }
  144. .desc {
  145. display: none;
  146. }
  147. .links {
  148. display: none;
  149. }
  150. #container {
  151. display: none;
  152. }
  153. #content {
  154. max-width: 100%;
  155. height: 100%;
  156. padding-top: 0px;
  157. padding-left: 0px;
  158. padding-right: 0px;
  159. margin: 0 auto;
  160. }
  161. .terminal,
  162. .terminal .terminal-fill {
  163. padding: 0.2em;
  164. margin-bottom: 2em;
  165. }
  166. .terminal {
  167. --size: 1.2;
  168. }
  169. #terminal {
  170. height: 100% !important;
  171. border-radius: 0px;
  172. box-shadow: none;
  173. margin: 0px;
  174. }
  175. }
  176. @media (prefers-color-scheme: dark) {
  177. html {
  178. background: #121319;
  179. color: #ECF0F1;
  180. }
  181. .github-corner svg {
  182. fill: #3e4153;
  183. color: #1A1A1A;
  184. }
  185. #terminal {
  186. box-shadow: 0px 3px 8px #121212;
  187. }
  188. }