style.css 1.3 KB

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