style.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. body {
  2. margin: 0;
  3. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  4. --bg: #1D1F21;
  5. --border: #333;
  6. }
  7. #header {
  8. position: absolute;
  9. top: 0;
  10. left: 0;
  11. right: 0;
  12. height: 60px;
  13. box-sizing: border-box;
  14. background-color: var(--bg);
  15. border-bottom: 1px solid var(--border);
  16. padding: 0.3em 1.6em;
  17. color: #fff;
  18. z-index: 1;
  19. }
  20. h1 {
  21. font-size: 18px;
  22. display: inline-block;
  23. margin-right: 15px;
  24. }
  25. #options-wrapper {
  26. position: absolute;
  27. top: 20px;
  28. right: 10px;
  29. }
  30. #options-wrapper:hover #options {
  31. display: block;
  32. }
  33. #options-label {
  34. cursor: pointer;
  35. text-align: right;
  36. padding-right: 10px;
  37. font-weight: bold;
  38. }
  39. #options {
  40. display: none;
  41. margin-top: 15px;
  42. list-style-type: none;
  43. background-color: var(--bg);
  44. border: 1px solid var(--border);
  45. padding: 15px 30px;
  46. }
  47. #options li {
  48. margin: 8px 0;
  49. }
  50. #header a {
  51. font-weight: 600;
  52. color: rgb(101, 163, 221);
  53. }
  54. #header .label {
  55. font-weight: bold;
  56. }
  57. #header input {
  58. margin-right: 6px;
  59. }
  60. #header label {
  61. color: #999;
  62. }
  63. .editor {
  64. position: absolute;
  65. top: 60px;
  66. bottom: 0;
  67. box-sizing: border-box;
  68. }
  69. #source {
  70. left: 0;
  71. width: 45%;
  72. }
  73. #output {
  74. left: 45%;
  75. width: 55%;
  76. }
  77. .highlight {
  78. background-color: rgba(46, 120, 190, 0.5);
  79. }