style.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288
  1. @CHARSET "UTF-8";
  2. body {
  3. overflow: hidden;
  4. }
  5. * {
  6. margin: 0;
  7. font-family:"Microsoft Yahei";
  8. color: #666;
  9. text-decoration: none;
  10. }
  11. div{
  12. margin: auto;
  13. margin-bottom: 10px;
  14. margin-top: 10px;
  15. }
  16. #header {
  17. height: 82px;
  18. width: 1200px;
  19. }
  20. #main {
  21. height: 460px;
  22. width: 1200px;
  23. border: 1px black solid;
  24. overflow: auto;
  25. text-decoration: none;
  26. }
  27. #bottom {
  28. height: 30px;
  29. width: 1200px;
  30. text-align: center;
  31. }
  32. #book{
  33. width: 100%;
  34. height: 90%;
  35. margin: auto;
  36. }
  37. .b_list{
  38. height:300px;
  39. width:250px;
  40. margin: 20px;
  41. float: left;
  42. margin-top:0px;
  43. margin-bottom:0px;
  44. border: 1px #e3e3e3 solid;
  45. }
  46. #page_nav{
  47. width: 100%;
  48. height: 10px;
  49. margin: auto;
  50. text-align: center;
  51. }
  52. #pn_input {
  53. width: 30px;
  54. text-align: center;
  55. }
  56. .img_div{
  57. height: 150px;
  58. text-align: center;
  59. }
  60. .book_img {
  61. height:150px;
  62. width:150px;
  63. }
  64. .book_info {
  65. text-align: center;
  66. }
  67. .book_info div{
  68. height: 10px;
  69. width: 300px;
  70. text-align: left;
  71. }
  72. .wel_word{
  73. font-size: 60px;
  74. float: left;
  75. }
  76. .logo_img{
  77. float: left;
  78. }
  79. #header div a {
  80. text-decoration: none;
  81. font-size: 20px;
  82. }
  83. #header div{
  84. float: right;
  85. margin-top: 55px;
  86. }
  87. .book_cond{
  88. margin-left: 500px;
  89. }
  90. .book_cond input{
  91. width: 50px;
  92. text-align: center;
  93. }
  94. /*登录页面CSS样式 */
  95. #login_header{
  96. height: 82px;
  97. width: 1200px;
  98. }
  99. .login_banner{
  100. height:475px;
  101. background-color: #39987c;
  102. }
  103. .login_form{
  104. height:310px;
  105. width:406px;
  106. float: right;
  107. margin-right:50px;
  108. margin-top: 50px;
  109. background-color: #fff;
  110. }
  111. #content {
  112. height: 475px;
  113. width: 1200px;
  114. }
  115. .login_box{
  116. margin: 20px;
  117. height: 260px;
  118. width: 366px;
  119. }
  120. h1 {
  121. font-size: 20px;
  122. }
  123. .msg_cont{
  124. background: none repeat scroll 0 0 #fff6d2;
  125. border: 1px solid #ffe57d;
  126. color: #666;
  127. height: 18px;
  128. line-height: 18px;
  129. padding: 3px 10px 3px 40px;
  130. position: relative;
  131. border: none;
  132. }
  133. .msg_cont b {
  134. background: url("../img/pwd-icons-new.png") no-repeat scroll -104px -22px rgba(0, 0, 0, 0);
  135. display: block;
  136. height: 17px;
  137. left: 10px;
  138. margin-top: -8px;
  139. overflow: hidden;
  140. position: absolute;
  141. top: 50%;
  142. width: 16px;
  143. }
  144. .form .itxt {
  145. border: 0 none;
  146. float: none;
  147. font-family: "宋体";
  148. font-size: 14px;
  149. height: 18px;
  150. line-height: 18px;
  151. overflow: hidden;
  152. padding: 10px 0 10px 10px;
  153. width: 220px;
  154. border: 1px #e3e3e3 solid;
  155. }
  156. #sub_btn{
  157. background-color: #39987c;
  158. border: none;
  159. color: #fff;
  160. width: 360px;
  161. height: 40px;
  162. }
  163. #sub_btn1{
  164. background-color:skyblue;
  165. border: none;
  166. color: #fff;
  167. width: 360px;
  168. height: 40px;
  169. margin-top: 7px;
  170. }
  171. #l_content {
  172. float: left;
  173. margin-top: 150px;
  174. margin-left: 300px;
  175. }
  176. #l_content span {
  177. font-size: 60px;
  178. color: white;
  179. }
  180. .tit h1 {
  181. float: left;
  182. margin-top: 5px;
  183. }
  184. .tit a {
  185. float: right;
  186. margin-left: 10px;
  187. margin-top: 10px;
  188. color: red;
  189. text-decoration: none;
  190. }
  191. .tit .errorMsg {
  192. float: right;
  193. margin-left: 10px;
  194. margin-top: 10px;
  195. color: red;
  196. }
  197. .tit {
  198. height: 30px;
  199. }
  200. /*购物车*/
  201. #main table{
  202. margin: auto;
  203. margin-top: 80px;
  204. border-collapse: collapse;
  205. }
  206. #main table td{
  207. width: 120px;
  208. text-align:center;
  209. border-bottom: 1px #e3e3e3 solid;
  210. padding: 10px;
  211. }
  212. .cart_info{
  213. width: 700px;
  214. text-align: right;
  215. }
  216. .cart_span {
  217. margin-left: 20px;
  218. }
  219. .cart_span span{
  220. color: red;
  221. font-size: 20px;
  222. margin: 10px;
  223. }
  224. .cart_span a , td a{
  225. font-size: 20px;
  226. color: blue;
  227. }
  228. #header div span {
  229. margin: 10px;
  230. }
  231. #header div .um_span{
  232. color: red;
  233. font-size: 25px;
  234. margin: 10px;
  235. }
  236. #header div a {
  237. color: blue;
  238. }