base.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. body {
  2. background-color: #000;
  3. color: #ccc;
  4. }
  5. body, input {
  6. font-family: 'Cantarell', sans-serif;
  7. font-size: 16px;
  8. }
  9. a:link, a:visited {
  10. color: #08a;
  11. text-decoration: none;
  12. }
  13. a:hover {
  14. color: #0af;
  15. text-decoration: underline;
  16. }
  17. img {
  18. border-style: none;
  19. vertical-align: middle;
  20. }
  21. form {
  22. display: inline;
  23. text-align: center;
  24. }
  25. input, button {
  26. background-color: #050505;
  27. border: 1px solid #aaa;
  28. color: #eee;
  29. padding: 2px 5px;
  30. }
  31. input:focus {
  32. border: 1px solid #38a;
  33. }
  34. input[type="submit"] {
  35. background-color: #111;
  36. padding: 1px 5px;
  37. line-height: 27px;
  38. }
  39. label {
  40. cursor: pointer;
  41. }
  42. header, article {
  43. width: 900px;
  44. margin: 20px auto;
  45. clear: both;
  46. }
  47. img.aa {
  48. float: left;
  49. opacity: 0.9;
  50. }
  51. header {
  52. position: relative; /* for #results */
  53. }
  54. header label, header input {
  55. position: absolute;
  56. }
  57. header label[for="user"] {
  58. left: 480px;
  59. top: 5px;
  60. }
  61. header input#user {
  62. left: 570px;
  63. top: 0px;
  64. }
  65. header label[for="song"] {
  66. left: 300px;
  67. top: 55px;
  68. }
  69. header input#song {
  70. left: 390px;
  71. top: 50px;
  72. width: 420px;
  73. text-align: center;
  74. }
  75. header input[type="submit"] {
  76. left: 830px;
  77. top: 50px;
  78. }
  79. div#results {
  80. display: none;
  81. position: absolute;
  82. width: 428px;
  83. height: 560px;
  84. left: 392px;
  85. top: 82px;
  86. background-color: #111;
  87. border: 1px solid #aaa;
  88. z-index: 1;
  89. }
  90. div#results ul {
  91. margin: 5px 10px;
  92. padding: 0;
  93. }
  94. div#results ul li {
  95. list-style: none;
  96. display: block;
  97. height: 50px;
  98. margin: 5px 0;
  99. }
  100. div#results ul li:hover {
  101. background-color: #024;
  102. }
  103. div#results ul li a {
  104. display: block;
  105. height: 100%;
  106. }
  107. div#results ul li a:hover {
  108. text-decoration: none;
  109. }
  110. div#results ul li img {
  111. height: 50px;
  112. width: 66px;
  113. float: left;
  114. margin-right: 10px;
  115. }
  116. object#player {
  117. position: absolute;
  118. left: -1px;
  119. top: 0;
  120. }
  121. section.song {
  122. background-color: #111;
  123. padding: 15px 20px;
  124. margin-top: 10px;
  125. position: relative; /* for remove */
  126. }
  127. section.song div.info {
  128. margin-bottom: 10px;
  129. float: left;
  130. }
  131. section.song div.user {
  132. float: right;
  133. }
  134. section.song div.remove {
  135. position: absolute;
  136. top: 0;
  137. right: 5px;
  138. font-weight: bold;
  139. cursor: pointer;
  140. }
  141. section.song div.thumb {
  142. float: left;
  143. width: 150px;
  144. height: 90px;
  145. overflow: hidden;
  146. }
  147. section.song div.thumb img {
  148. height: 90px;
  149. }
  150. section.song canvas, section.song > img {
  151. position: relative;
  152. top: 20px;
  153. }
  154. section.song > img[src$='pause.png'] {
  155. display: none;
  156. }
  157. section.song > img {
  158. opacity: 0.5;
  159. }
  160. section.song > img:hover {
  161. opacity: 1.0;
  162. }
  163. .clear {
  164. line-height: 0;
  165. clear: both;
  166. }