123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- * {
- margin: 0;
- padding: 0;
- list-style: none;
- text-decoration: none;
- box-sizing: border-box;
- }
- /* 主体 */
- #container {
- /* 主体给宽不给高 */
- width: 1240px;
- height: 100%;
- border: 1px solid #00f;
- /* 盒子居中 */
- margin: 0 auto;
- }
- /* 页眉部分 */
- #header {
- width: 100%;
- height: 64px;
- overflow: hidden;
- }
- #header .headerLeft {
- padding: 10px;
- float: left;
- }
- #header .headerMain {
- float: left;
- overflow: hidden;
- margin-left: 350px;
- padding-top: 10px;
- }
- #header .headerMain input {
- float: left;
- width: 500px;
- height: 45px;
- outline: none;
- border: 1px solid #eee;
- border-radius: 30px;
- padding: 10px 25px;
- background: #f3f7fA;
- }
- #header .headerMain div {
- float: left;
- width: 162px;
- height: 45px;
- background: rgb(90, 140, 233);
- color: #fff;
- border-radius: 30px;
- font-size: 25px;
- text-align: center;
- line-height: 45px;
- margin-left: -162px;
- }
- #header .headerRight {
- float: right;
- margin-right: 11px;
- overflow: hidden;
- }
- #header .headerRight .partOne {
- margin-top: 17px;
- float: left;
- }
- #header .headerRight .partTwo {
- float: left;
- margin-top: 19px;
- }
- #header .headerRight .partThree {
- float: left;
- margin-top: 11px;
- }
- #header .headerRight .login {
- color: rgb(90, 140, 233);
- font-size: 18px;
- float: left;
- background: #f5f3ee;
- padding: 10px;
- }
- /* 主体部分 */
- #main .sell {
- width: calc(100% - 10px);
- margin-left: 10px;
- }
- #main .nav {
- width: 100%;
- height: 60px;
- border-radius: 4px;
- background: #007ad7;
- line-height: 60px;
- }
- #main .nav ul {
- overflow: hidden;
- }
- #main .nav ul li {
- float: left;
- padding-left: 28px;
- }
- #main .nav ul li a {
- color: #fff;
- font-size: 21px;
- }
- #main .nav ul li a:hover {
- color: #f00;
- }
- #main .list .listOne .top {
- width: 100%;
- border-bottom: 5px solid #eaf4f9;
- margin-top: 30px;
- overflow: hidden;
- }
- #main .list .listOne .top .topLeft{
- float: left;
- }
- #main .list .listOne .top .topRight {
- float: right;
- }
- #main .list .listOne .top .topLeft ul {
- overflow: hidden;
- }
- #main .list .listOne .top .topLeft ul li{
- float: left;
- }
- #main .list .listOne .top .topLeft ul li:nth-child(odd){
- /* padding: 0 20px; */
- padding-bottom: 10px;
- }
- #main .list .listOne .top .topLeft ul li a {
- color: #000;
- font-size: 25px;
- }
- #main .list .listOne .top .topLeft ul li:nth-child(even) {
- width: 2px;
- height: 23px;
- margin: 10px 20px 0;
- background: #ccc;
- }
- #main .list .listOne .top .topLeft ul li:first-child {
- border-bottom: 1px solid #67b2e1;
- }
- #main .list .listOne .top .topLeft ul li:first-child a{
- color: #67b2e1;
- }
- #main .list .listOne .top .topRight ul{
- overflow: hidden;
- }
- #main .list .listOne .top .topRight ul li{
- float: left;
- }
- #main .list .listOne .top .topRight ul li a{
- color: #000;
- margin-right: 15px;
- }
- #main .list .listOne .top .topRight ul li:last-child a {
- margin-right: 0;
- }
- #main .list .listOne .bottom {
- width: 100%;
- height: 300px;
- background: #00f;
- }
|