Music album web page generator
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

labelize.css 1.9 KiB

5 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. @font-face {
  2. font-family: "NotoSans";
  3. src: url(./fonts/noto-sans/NotoSans-Regular.ttf);
  4. }
  5. :root {
  6. --main-bg-color: rgba(255,255,255,0.7);
  7. }
  8. *{
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. }
  13. html{
  14. font-family: NotoSans;
  15. color: black;
  16. }
  17. html, body{
  18. width: 100vw;
  19. height: 100vh;
  20. background-color: black;
  21. }
  22. body{
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. }
  27. .track-list{
  28. width: 100vh;
  29. height: 100vh;
  30. background-image: url(../cover.jpg);
  31. background-size: cover;
  32. background-repeat: no-repeat;
  33. display: flex;
  34. flex-direction: column;
  35. align-items: center;
  36. justify-content: center;
  37. }
  38. ul.invisible{
  39. display: none;
  40. }
  41. ul{
  42. position: fixed;
  43. right:0px;
  44. top:0px;
  45. padding-top: 30px;
  46. list-style-type: none;
  47. background-color: var(--main-bg-color);
  48. height: 100vh;
  49. font-size: 0.75rem;
  50. }
  51. div#player-toggler{
  52. position: fixed;
  53. top: 0px;
  54. right:0px;
  55. margin-top:2px;
  56. margin-right: 2px;
  57. z-index: 10;
  58. cursor: pointer;
  59. }
  60. li{
  61. /*background-color: var(--main-bg-color);*/
  62. padding: 2px;
  63. }
  64. li{
  65. margin-top:2px;
  66. display: flex;
  67. justify-content: center;
  68. align-items: center;
  69. }
  70. button{
  71. background-color: rgba(0,0,0,0);
  72. border: none;
  73. margin-left: 5px;
  74. cursor: pointer;
  75. }
  76. div#player-toggler > img{
  77. width: 24px;
  78. height: 24px;
  79. }
  80. button img{
  81. width: 16px;
  82. height: 16px;
  83. }
  84. progress::-moz-progress-bar {
  85. background-color: black !important;
  86. }
  87. #player-progress{
  88. position: fixed;
  89. left:0;
  90. top:0;
  91. height: 1vw;
  92. width: 100vh;
  93. background-color: var(--main-bg-color);
  94. border: none;
  95. border-top:2px solid var(--main-bg-color);
  96. border-bottom:2px solid var(--main-bg-color);
  97. cursor: pointer;
  98. transform: rotate(90deg);
  99. transform-origin: top left;
  100. margin-left: 1vw;
  101. /* margin-top:calc(50vh - 0.5vw);
  102. margin-left:0; */
  103. }
  104. #time-info{
  105. visibility: hidden;
  106. position: fixed;
  107. bottom: 2px;
  108. left: 1%;
  109. padding-left: 2px;
  110. color:white;
  111. font-size: 0.6rem;
  112. }