style.css 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  1. @charset "UTF-8";
  2. body {
  3. overflow: hidden;
  4. }
  5. input {
  6. outline: none;
  7. /* text-align: center; */
  8. }
  9. * {
  10. margin: 0;
  11. font-family: 'Microsoft Yahei';
  12. /* color: #666; */
  13. }
  14. div {
  15. margin: auto;
  16. margin-bottom: 10px;
  17. margin-top: 10px;
  18. }
  19. .cont {
  20. margin-left: 20px;
  21. }
  22. #header {
  23. height: 82px;
  24. width: 1200px;
  25. }
  26. #main {
  27. height: 460px;
  28. width: 1200px;
  29. border: 1px black solid;
  30. overflow: auto;
  31. }
  32. #bottom {
  33. height: 30px;
  34. width: 1200px;
  35. text-align: center;
  36. }
  37. #book {
  38. width: 100%;
  39. height: 90%;
  40. margin: auto;
  41. }
  42. .b_list {
  43. height: 300px;
  44. width: 250px;
  45. margin: 20px;
  46. float: left;
  47. margin-top: 0px;
  48. margin-bottom: 0px;
  49. border: 1px #e3e3e3 solid;
  50. }
  51. #page_nav {
  52. width: 100%;
  53. height: 10px;
  54. margin: auto;
  55. text-align: center;
  56. }
  57. #pn_input {
  58. width: 30px;
  59. text-align: center;
  60. }
  61. .img_div {
  62. height: 150px;
  63. text-align: center;
  64. }
  65. .book_img {
  66. height: 150px;
  67. width: 150px;
  68. }
  69. .book_info {
  70. text-align: center;
  71. }
  72. .book_info div {
  73. height: 10px;
  74. width: 300px;
  75. text-align: left;
  76. }
  77. .wel_word {
  78. font-size: 60px;
  79. float: left;
  80. }
  81. .logo_img {
  82. float: left;
  83. }
  84. #header div a {
  85. text-decoration: none;
  86. font-size: 20px;
  87. }
  88. #header div {
  89. float: right;
  90. margin-top: 55px;
  91. }
  92. .book_cond {
  93. margin-left: 903px;
  94. }
  95. .book_cond .sp1 {
  96. color: red;
  97. }
  98. .book_cond input {
  99. width: 50px;
  100. text-align: center;
  101. }
  102. /*登录页面CSS样式 */
  103. #login_header {
  104. height: 82px;
  105. width: 1200px;
  106. }
  107. .login_banner {
  108. height: 475px;
  109. background-color: #e77e11;
  110. }
  111. .login_form {
  112. height: 310px;
  113. width: 406px;
  114. float: right;
  115. margin-right: 50px;
  116. margin-top: 50px;
  117. background-color: #fff;
  118. }
  119. #content {
  120. height: 475px;
  121. width: 1200px;
  122. }
  123. .login_box {
  124. margin: 20px;
  125. height: 260px;
  126. /* width: 366px; */
  127. }
  128. h1 {
  129. font-size: 20px;
  130. }
  131. .msg_cont {
  132. background: none repeat scroll 0 0 #fff6d2;
  133. border: 1px solid #ffe57d;
  134. color: #666;
  135. height: 18px;
  136. line-height: 18px;
  137. padding: 3px 10px 3px 40px;
  138. position: relative;
  139. border: none;
  140. }
  141. .msg_cont b {
  142. background: url('../img/pwd-icons-new.png') no-repeat scroll -104px -22px
  143. rgba(0, 0, 0, 0);
  144. display: block;
  145. height: 17px;
  146. left: 10px;
  147. margin-top: -8px;
  148. overflow: hidden;
  149. position: absolute;
  150. top: 50%;
  151. width: 16px;
  152. }
  153. .form .itxt {
  154. /* width: 100px; */
  155. border: 0 none;
  156. float: none;
  157. font-family: '宋体';
  158. font-size: 14px;
  159. height: 18px;
  160. line-height: 18px;
  161. overflow: hidden;
  162. padding: 10px 0 10px 10px;
  163. width: 250px;
  164. border: 1px #e3e3e3 solid;
  165. }
  166. .inp {
  167. margin-left: 15px;
  168. }
  169. #sub_btn {
  170. background-color: #e77e11;
  171. border: none;
  172. color: #fff;
  173. width: 360px;
  174. height: 40px;
  175. }
  176. #l_content {
  177. float: left;
  178. margin-top: 0px;
  179. margin-left: 300px;
  180. }
  181. #l_content span {
  182. font-size: 60px;
  183. color: white;
  184. }
  185. .tit h1 {
  186. width: 100%;
  187. text-align: center;
  188. float: left;
  189. /* margin-top: 5px; */
  190. font-size: 24px;
  191. margin-bottom: 10px;
  192. color: #e77e11;
  193. }
  194. .tit a {
  195. float: right;
  196. margin-left: 10px;
  197. margin-top: 10px;
  198. color: red;
  199. text-decoration: none;
  200. }
  201. .tit .errorMsg {
  202. float: right;
  203. margin-left: 10px;
  204. margin-top: 10px;
  205. color: red;
  206. }
  207. .tit {
  208. height: 30px;
  209. }
  210. .tit a {
  211. color: #e77e11;
  212. }
  213. /*购物车*/
  214. #main table {
  215. margin: auto;
  216. margin-top: 80px;
  217. border-collapse: collapse;
  218. }
  219. #main table td {
  220. width: 120px;
  221. text-align: center;
  222. border-bottom: 1px #e3e3e3 solid;
  223. padding: 10px;
  224. }
  225. .cart_info {
  226. width: 700px;
  227. text-align: right;
  228. }
  229. /*优化购物车超链接*/
  230. .cart_info a {
  231. text-decoration: none;
  232. }
  233. /* .cart_info cart_span a{ */
  234. /* padding: 10px 0; */
  235. /* display: block; */
  236. /* background-color: #07c160; */
  237. /* color: #fff!important; */
  238. /* border: 1px solid #07c160; */
  239. /* border-radius: 2px; */
  240. /* } */
  241. .cart_span {
  242. margin-left: 15px;
  243. }
  244. .cart_span span {
  245. color: red;
  246. font-size: 20px;
  247. margin: 10px;
  248. }
  249. .cart_span a,
  250. td a {
  251. font-size: 20px;
  252. color: blue;
  253. }
  254. #header div span {
  255. margin: 10px;
  256. }
  257. #header div .um_span {
  258. color: red;
  259. font-size: 25px;
  260. margin: 10px;
  261. }
  262. #header div a {
  263. color: blue;
  264. }
  265. #header .user {
  266. margin-right: 35px;
  267. }
  268. /* 图书管理 */
  269. #main.box_no {
  270. /* border: 0; */
  271. }
  272. #main.box_no table td {
  273. width: 120px;
  274. text-align: center;
  275. border: 1px #e3e3e3 solid;
  276. padding: 10px;
  277. }
  278. #main.box_no table td > a {
  279. text-decoration: none;
  280. }
  281. #main.box_no table td .a_green {
  282. color: #07c160;
  283. }
  284. #main.box_no table tr:last-child td {
  285. border: 0;
  286. }
  287. #main.box_no table tr:last-child td > a {
  288. padding: 6px 0;
  289. display: block;
  290. background-color: #07c160;
  291. color: #fff !important;
  292. border: 1px solid #07c160;
  293. border-radius: 2px;
  294. }
  295. #main.box_no table tr td:last-child a {
  296. color: red;
  297. }
  298. /*订单列表*/
  299. #main.box_order table td {
  300. width: 120px;
  301. text-align: center;
  302. border: 1px #e3e3e3 solid;
  303. padding: 10px;
  304. }
  305. #main.box_order table tr:first {
  306. font-weight: bolder;
  307. }
  308. #main.box_order table td > a {
  309. text-decoration: none;
  310. }
  311. #main.box_order table td .a_green {
  312. color: #07c160;
  313. }