editor.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. body {
  2. margin: 0;
  3. }
  4. #controls {
  5. position: fixed;
  6. width: 100%;
  7. background-color: white;
  8. display: flex;
  9. }
  10. #controls > div {
  11. flex-grow: 1;
  12. }
  13. .waveform-container {
  14. position: relative;
  15. height: 60px;
  16. }
  17. #waveform, #waveform-overlay {
  18. position: absolute;
  19. height: 100%;
  20. width: 100%;
  21. }
  22. .scrubber {
  23. display: grid;
  24. grid-template-rows: 10px 20px;
  25. background: lightgrey;
  26. }
  27. .bar {
  28. grid-row: 1 / 2;
  29. }
  30. .bar-overlay {
  31. background: red;
  32. height: 100%;
  33. }
  34. li.highlight {
  35. background-color: yellow;
  36. }
  37. .markers {
  38. grid-row: 2 / 3;
  39. position: relative;
  40. }
  41. .marker {
  42. position: absolute;
  43. box-sizing: border-box;
  44. border-left: solid 2px black;
  45. border-bottom: solid 5px black;
  46. height: 100%;
  47. width: 5px;
  48. }
  49. .text-areas {
  50. padding-top: 160px;
  51. display: grid;
  52. grid-template-columns: auto 1fr 1fr;
  53. grid-template-rows: 20px auto;
  54. grid-gap: 2px;
  55. }
  56. #url {
  57. width: 300px;
  58. }
  59. #intervals-label,
  60. #kana-label,
  61. #kanji-label {
  62. grid-row: 1 / 2;
  63. }
  64. #intervals, #kana, #kanji {
  65. grid-row: 2 / 3;
  66. }
  67. #intervals,
  68. #intervals-label {
  69. min-width: 250px;
  70. grid-column: 1 / 2;
  71. }
  72. #kana,
  73. #kana-label {
  74. grid-column: 2 / 3;
  75. }
  76. #kanji,
  77. #kanji-label {
  78. grid-columN: 3 / 4;
  79. }
  80. #intervals input {
  81. width: 100px;
  82. }
  83. #kanji, #kana {
  84. border: solid 1px lightgrey;
  85. min-height: 200px;
  86. white-space: pre;
  87. overflow-x: auto;
  88. font-size: 16px;
  89. }
  90. #json {
  91. width: 100%;
  92. height: 200px;
  93. }
  94. div#youtube {
  95. flex-grow: 0;
  96. }
  97. iframe#youtube {
  98. width: 240px;
  99. height: 135px;
  100. }