player.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. html, body {
  2. width: 100%;
  3. height: 100%;
  4. }
  5. html {
  6. -ms-text-size-adjust: 100%;
  7. -webkit-text-size-adjust: 100%;
  8. -webkit-tap-highlight-color: transparent;
  9. }
  10. body {
  11. line-height: 1.6;
  12. position: relative;
  13. font-family: "Microsoft Yahei", tahoma, arial, "Hiragino Sans GB";
  14. }
  15. .root {
  16. display: flex;
  17. place-content: center;
  18. margin-top: 3rem;
  19. }
  20. .container-shell {
  21. background: hsla(0, 0%, 50%, 0.5);
  22. width: 100%;
  23. position: relative;
  24. border-radius: 5px;
  25. }
  26. .container-shell:before {
  27. content: "jessibuca demo player";
  28. position: absolute;
  29. color: darkgray;
  30. left: 10px;
  31. text-shadow: 1px 1px black;
  32. }
  33. #container {
  34. background: rgba(13, 14, 27, 0.7);
  35. width: 960px;
  36. height: 597px;
  37. }
  38. .container {
  39. background: rgba(13, 14, 27, 0.7);
  40. width: 320px;
  41. height: 199px;
  42. display: inline-block;
  43. margin-right: 10px;
  44. margin-bottom: 10px;
  45. }
  46. .input {
  47. display: flex;
  48. margin-top: 10px;
  49. max-width: 960px;
  50. color: white;
  51. place-content: stretch;
  52. }
  53. .input2 {
  54. bottom: 0px;
  55. }
  56. .input input {
  57. flex: auto;
  58. }
  59. .err {
  60. position: absolute;
  61. top: 40px;
  62. left: 10px;
  63. color: red;
  64. }
  65. .option {
  66. position: absolute;
  67. top: 4px;
  68. right: 10px;
  69. display: flex;
  70. place-content: center;
  71. font-size: 12px;
  72. }
  73. .option span {
  74. color: white;
  75. }
  76. .page {
  77. background: url('./bg.jpg');
  78. background-repeat: no-repeat;
  79. background-position: top;
  80. }
  81. button{
  82. font-size: 12px;
  83. padding: 4px 8px;
  84. border-radius: 4px;
  85. }
  86. .container-multi{
  87. text-align: center;
  88. }
  89. .audio-container{
  90. width: 960px;
  91. }
  92. @media (max-width: 720px) {
  93. input {
  94. outline: 0;
  95. }
  96. * {
  97. margin: 0;
  98. padding: 0;
  99. }
  100. * {
  101. -webkit-tap-highlight-color: transparent
  102. }
  103. a img {
  104. border: 0;
  105. }
  106. a {
  107. text-decoration: none;
  108. }
  109. li {
  110. list-style: none;
  111. }
  112. ol,
  113. ul {
  114. margin: 0;
  115. padding: 0;
  116. list-style: none;
  117. }
  118. #container {
  119. width: 100%;
  120. height: 52.7vw;
  121. margin: 0 auto;
  122. }
  123. .input{
  124. max-width: 95vw;
  125. }
  126. .audio-container{
  127. width: 95vw;
  128. }
  129. .container {
  130. width: 95vw;
  131. height: 52.7vw;
  132. margin: 0 auto;
  133. margin-bottom: 10px;
  134. display: block;
  135. }
  136. }