base.css 2.2 KB

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