base.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. }
  64. header label[for="song"] {
  65. left: 300px;
  66. top: 55px;
  67. }
  68. header input#song {
  69. left: 390px;
  70. top: 50px;
  71. width: 420px;
  72. text-align: center;
  73. }
  74. header input[type="submit"] {
  75. left: 830px;
  76. top: 50px;
  77. }
  78. div#results {
  79. display: none;
  80. position: absolute;
  81. width: 428px;
  82. height: 560px;
  83. left: 392px;
  84. top: 82px;
  85. background-color: #111;
  86. border: 1px solid #aaa;
  87. z-index: 1;
  88. }
  89. div#results ul {
  90. margin: 5px 10px;
  91. padding: 0;
  92. }
  93. div#results ul li {
  94. list-style: none;
  95. display: block;
  96. height: 50px;
  97. margin: 5px 0;
  98. }
  99. div#results ul li:hover {
  100. background-color: #024;
  101. }
  102. div#results ul li a {
  103. display: block;
  104. height: 100%;
  105. }
  106. div#results ul li a:hover {
  107. text-decoration: none;
  108. }
  109. div#results ul li img {
  110. height: 50px;
  111. width: 66px;
  112. float: left;
  113. margin-right: 10px;
  114. }
  115. object#player {
  116. position: absolute;
  117. left: -1px;
  118. top: 0;
  119. }
  120. section.song {
  121. background-color: #111;
  122. padding: 15px 20px;
  123. margin-top: 10px;
  124. position: relative; /* for remove */
  125. }
  126. section.song div.info {
  127. margin-bottom: 10px;
  128. float: left;
  129. }
  130. section.song div.user {
  131. float: right;
  132. }
  133. section.song div.remove {
  134. position: absolute;
  135. top: 0px;
  136. right: 5px;
  137. font-weight: bold;
  138. cursor: pointer;
  139. }
  140. section.song div.thumb {
  141. float: left;
  142. width: 150px;
  143. overflow: hidden;
  144. }
  145. section.song canvas, section.song > img {
  146. position: relative;
  147. top: 20px;
  148. }
  149. section.song > img[src$='pause.png'] {
  150. display: none;
  151. }
  152. section.song > img {
  153. opacity: 0.5;
  154. }
  155. section.song > img:hover {
  156. opacity: 1.0;
  157. }
  158. .clear {
  159. line-height: 0;
  160. clear: both;
  161. }