index.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. body {
  2. margin: 0;
  3. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
  4. 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
  5. sans-serif;
  6. -webkit-font-smoothing: antialiased;
  7. -moz-osx-font-smoothing: grayscale;
  8. }
  9. .logo {
  10. width: 50px;
  11. }
  12. .logoimg{
  13. width: 50px;
  14. }
  15. code {
  16. font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
  17. monospace;
  18. }
  19. .card {
  20. color:black;
  21. text-decoration: none;
  22. }
  23. /* dkfjksdflk */
  24. .player{
  25. height: 95vh;
  26. display: flex;
  27. align-items: center;
  28. flex-direction: column;
  29. justify-content: center;
  30. }
  31. .wrapper{
  32. border: 1px solid transparent;
  33. padding: 30px;
  34. border-radius: 20px;
  35. box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
  36. }
  37. .details{
  38. display: flex;
  39. align-items: center;
  40. flex-direction: column;
  41. justify-content: center;
  42. }
  43. .track-art{
  44. margin: 25px;
  45. height: 250px;
  46. width: 250px;
  47. border: 2px solid #fff;
  48. background-size: cover;
  49. background-position: center;
  50. border-radius: 50%;
  51. -moz-box-shadow: 0px 6px 5px #ccc;
  52. -webkit-box-shadow:0px 6px 5px #ccc;
  53. box-shadow: 0px 6px 5px #ccc;
  54. -moz-border-radius:190px;
  55. -webkit-border-radius:190px;
  56. border-radius: 190px;
  57. }
  58. .now-playing{
  59. font-size: 1rem;
  60. }
  61. .track-name{
  62. font-size: 2.5rem;
  63. }
  64. .track-artist{
  65. margin-top: 5px;
  66. font-size: 1.5rem;
  67. }
  68. .buttons{
  69. display: flex;
  70. flex-direction: row;
  71. align-items: center;
  72. margin-bottom: 30px;
  73. }
  74. .active{
  75. color: black;
  76. }
  77. .repeat-track,
  78. .random-track,
  79. .playpause-track,
  80. .prev-track,
  81. .next-track{
  82. padding: 25px;
  83. opacity: 0.8;
  84. transition: opacity .2s;
  85. }
  86. .repeat-track:hover,
  87. .random-track:hover,
  88. .playpause-track:hover,
  89. .prev-track:hover,
  90. .next-track:hover{
  91. opacity: 1.0;
  92. }
  93. .duration{
  94. width: 400px;
  95. }
  96. .slider_container{
  97. display: flex;
  98. justify-content: center;
  99. align-items: center;
  100. }
  101. .seek_slider,
  102. .volume_slider{
  103. -webkit-appearance: none;
  104. -moz-appearance: none;
  105. appearance: none;
  106. height: 5px;
  107. background: #83a9ff;
  108. -webkit-transition: .2s;
  109. transition: opacity .2s;
  110. }
  111. .seek_slider::-webkit-slider-thumb,
  112. .volume_slider::-webkit-slider-thumb{
  113. -webkit-appearance: none;
  114. -moz-appearance: none;
  115. appearance: none;
  116. width: 15px;
  117. height: 15px;
  118. background: white;
  119. border: 3px solid #3774ff;
  120. cursor: pointer;
  121. border-radius: 100%;
  122. }
  123. .seek_slider:hover,
  124. .volume_slider:hover{
  125. opacity: 1.0;
  126. }
  127. .seek_slider{
  128. width: 80%;
  129. }
  130. .volume_slider{
  131. width: 30%;
  132. }
  133. .current-time,
  134. .total-duration{
  135. padding: 20px;
  136. }
  137. i.fa-volume-down,
  138. i.fa-volume-up{
  139. padding: 10px;
  140. }
  141. i,
  142. i.fa-play-circle,
  143. i.fa-pause-circle,
  144. i.fa-step-forward,
  145. i.fa-step-backward{
  146. cursor: pointer;
  147. }
  148. .randomActive{
  149. color: black;
  150. }