PageRenderTime 43ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/MvcMusicStore/Content/Site.css

#
CSS | 327 lines | 270 code | 51 blank | 6 comment | 0 complexity | 9f6858f8960d4a8b591f2aa61c259e47 MD5 | raw file
  1. *
  2. {
  3. margin: 0px;
  4. padding: 0px;
  5. border: none;
  6. }
  7. body
  8. {
  9. font-family: Arial, Helvetica, sans-serif;
  10. font-size: 14px;
  11. background-color: #FBF9EF;
  12. padding: 0px 6%;
  13. }
  14. #container
  15. {
  16. float: left;
  17. }
  18. #header
  19. {
  20. float: left;
  21. width: 100%;
  22. border-bottom: 1px dotted #5D5A53;
  23. margin-bottom: 10px;
  24. }
  25. #header h1
  26. {
  27. font-size: 18px;
  28. float: left;
  29. background: url(/content/Images/logo.png) no-repeat;
  30. padding: 45px 0px 5px 0px;
  31. }
  32. #promotion
  33. {
  34. height: 300px;
  35. width: 700px;
  36. background: url(/content/Images/home-showcase.png) no-repeat;
  37. }
  38. ul li a
  39. {
  40. font-size: 16px;
  41. }
  42. #main
  43. {
  44. overflow: hidden;
  45. padding: 0 0 15px 10px;
  46. float: left;
  47. }
  48. ul
  49. {
  50. list-style-type: square;
  51. margin-left: 25px;
  52. font-size: 14px;
  53. }
  54. ul#album-list
  55. {
  56. list-style: none;
  57. margin-left: 0px;
  58. }
  59. ul#album-list li
  60. {
  61. height: 130px;
  62. width: 100px;
  63. float: left;
  64. margin: 10px;
  65. text-align: center;
  66. }
  67. ul#album-list li a, ul#album-list li .button
  68. {
  69. font-size: 13px;
  70. float: left;
  71. }
  72. ul#album-list li a span
  73. {
  74. color: #9b9993;
  75. text-decoration: underline;
  76. }
  77. #cart
  78. {
  79. float: right;
  80. }
  81. #update-message
  82. {
  83. color: #F6855E;
  84. font-weight: bold;
  85. }
  86. .button, input[type=submit]
  87. {
  88. clear: both;
  89. display: inline-block;
  90. padding: 5px;
  91. margin-top: 10px;
  92. border: 1px;
  93. background: #5e5b54;
  94. color: #fff;
  95. font-weight: bold;
  96. }
  97. .button a
  98. {
  99. color: #fff !important;
  100. }
  101. #footer
  102. {
  103. clear: both;
  104. padding: 10px;
  105. text-align: right;
  106. border-top: 1px dotted #8A8575;
  107. border-bottom: 1px dotted #8A8575;
  108. font-family: Constantia, Georgia, serif;
  109. }
  110. /******************** Top Navigation ************************/
  111. ul#navlist
  112. {
  113. float: right;
  114. }
  115. ul#navlist li
  116. {
  117. display: inline;
  118. }
  119. ul#navlist li a
  120. {
  121. border-left: 1px dotted #8A8575;
  122. padding: 10px;
  123. margin-top: 10px;
  124. color: #8A8575;
  125. text-decoration: none;
  126. float: left;
  127. }
  128. ul#navlist li:first-child a
  129. {
  130. border: none;
  131. }
  132. ul#navlist li a:hover
  133. {
  134. color: #F6855E;
  135. }
  136. /********************* End top navigation ***************************/
  137. p
  138. {
  139. margin-bottom: 15px;
  140. margin-top: 0px;
  141. }
  142. h2
  143. {
  144. color: #5e5b54;
  145. }
  146. h2, h3
  147. {
  148. margin-bottom: 10px;
  149. font-size: 16px;
  150. font-style: italic;
  151. font-weight: bold;
  152. }
  153. h3
  154. {
  155. color: #9B9993;
  156. }
  157. #header h1 a, h3 em
  158. {
  159. color: #5E5B54;
  160. }
  161. a:link, a:visited
  162. {
  163. color: #F6855E;
  164. text-decoration: none;
  165. font-weight: bold;
  166. }
  167. a:hover
  168. {
  169. color: #333333;
  170. text-decoration: none;
  171. font-weight: bold;
  172. }
  173. a:active
  174. {
  175. color: #006633;
  176. text-decoration: none;
  177. font-weight: bold;
  178. }
  179. /***************************** sidebar navigation ****************************/
  180. #categories
  181. {
  182. font-family: Constantia, Georgia, serif;
  183. list-style-type: none;
  184. border-right: #5d5a53 1px dotted;
  185. padding-right: 10px;
  186. margin: 0 25px 0 0;
  187. float: left;
  188. }
  189. #categories a:link, #categories a:visited
  190. {
  191. color: #9B9993;
  192. text-decoration: none;
  193. }
  194. #categories a:hover
  195. {
  196. color: #F46739;
  197. }
  198. div#album-details p
  199. {
  200. margin-bottom: 5px;
  201. color: #5e5b54;
  202. font-weight: bold;
  203. }
  204. p em
  205. {
  206. color: #9b9993;
  207. }
  208. /* Form styles */
  209. legend
  210. {
  211. padding: 10px;
  212. font-weight: bold;
  213. }
  214. fieldset
  215. {
  216. border: #9b9993 1px solid;
  217. padding: 0 10px;
  218. margin-bottom: 10px;
  219. clear: left;
  220. }
  221. div.editor-field
  222. {
  223. margin-bottom: 10px;
  224. }
  225. input[type=text], input[type=password], select
  226. {
  227. border: 1px solid #8A8575;
  228. width: 300px;
  229. }
  230. /* Styles for validation helpers */
  231. .field-validation-error {
  232. color: #ff0000;
  233. }
  234. .field-validation-valid {
  235. display: none;
  236. }
  237. .input-validation-error {
  238. border: 1px solid #ff0000;
  239. background-color: #ffeeee;
  240. }
  241. .validation-summary-errors {
  242. font-weight: bold;
  243. color: #ff0000;
  244. }
  245. .validation-summary-valid {
  246. display: none;
  247. }
  248. /* Tables */
  249. table
  250. {
  251. border: 1px solid #000;
  252. border-collapse: collapse;
  253. color: #666666;
  254. min-width: 500px;
  255. width: 100%;
  256. }
  257. tr
  258. {
  259. border: 1px solid #000;
  260. line-height: 25px;
  261. }
  262. th
  263. {
  264. background-color: #9b9993;
  265. color: #000;
  266. font-size: 13px;
  267. text-align: left;
  268. }
  269. th, td
  270. {
  271. padding-left: 5px;
  272. }
  273. tr:hover
  274. {
  275. background-color: #fff;
  276. }