123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- * {
- margin: 0;
- padding: 0;
- list-style: none;
- text-decoration: none;
- box-sizing: border-box;
- }
- #header {
- width: 100%;
- height: 75px;
- }
- #header .container {
- width: 1260px;
- height: 100%;
- margin: 0 auto;
- padding-top: 14px;
- }
- #header .container .logo {
- width: 149px;
- height: 45px;
- float: left;
- background: url('./images/soso.png') 219px 62px;
- }
- #header .container .nav {
- width: 352px;
- height: 75px;
- float: left;
- margin-top: -14px;
- margin-left: 30px;
- position: relative;
- }
- #header .container .nav ul {
- overflow: hidden;
- }
- #header .container .nav ul li {
- float: left;
- line-height: 75px;
- margin-left: 30px;
- }
- #header .container .nav ul li:first-child {
- margin-left: 0;
- }
- #header .container .nav ul li a {
- color: #000;
- font-size: 16px;
- }
- #header .container .nav ul li:first-child a {
- color: #31CCFF;
- }
- #header .container .nav ul li a:hover {
- color: #31CCFF;
- }
- #header .container .nav .tips {
- width: 37px;
- height: 14px;
- color: #999;
- font-size: 12px;
- text-align: center;
- line-height: 14px;
- background: #f5f7f9;
- border: 1px solid #ddd;
- border-radius: 8px;
- position: absolute;
- top: 14px;
- right: 8px;
- }
- #header .container .btn {
- width: 100px;
- height: 38px;
- text-align: center;
- line-height: 38px;
- color: #fff;
- background: #1ebcf0;
- float: right;
- border-radius: 3px;
- font-size: 16px;
- margin-right: 12px;
- margin-top: 4px;
- border: 1px solid #1ebcf0;
- }
- #header .container .btn:hover {
- background: #31CCFF;
- }
- #main .banner {
- width: 1920px;
- height: 482px;
- margin: 0 auto;
- position: relative;
- }
- #main .banner .search {
- width: 692px;
- height: 59px;
- background: rgba(0, 0, 0, .15);
- border-radius: 4px;
- padding-top: 4.5px;
- position: absolute;
- top: 214px;
- left: 616px;
- }
- #main .banner .search input {
- width: 588px;
- height: 50px;
- float: left;
- margin-left: 3px;
- outline: none;
- border-radius: 4px;
- border:1px solid #ccc;
- position: relative;
- background: rgba(255, 255, 255, .88);;
- }
- #main .banner .word {
- color: #999;
- font-size: 14px;
- position: absolute;
- top: 234px;
- left: 650px;
- z-index: 9;
- }
- #main .banner .search img {
- width: 97px;
- height: 50px;
- float: left;
- }
- #main .list {
- width: 1260px;
- height: 388px;
- margin: 60px auto 100px;
- }
- #main .list .listItem {
- width: 290px;
- height: 288px;
- float: left;
- margin-left: 33px;
- margin-top: 50px;
- }
- #main .list .listItem:first-child {
- margin-left: 0;
- }
- #main .list .listItem .pictures {
- width: 290px;
- height: 200px;
- position: relative;
- }
- #main .list .listItem img {
- width: 100%;
- height: 200px;
- }
- #main .list .listItem .btn {
- margin-top: 45px;
- }
- #main .list .listItem span:nth-child(2) {
- margin-left: 40px;
- }
- #main .list .listItem span {
- width: 122px;
- height: 36px;
- font-size: 14px;
- color: #666;
- display: inline-block;
- text-align: center;
- line-height: 36px;
- border:1px solid #dfdfdf;
- }
- #main .list .listItem span:hover {
- color: #31CCFF;
- }
- #main .list .listItem .pertty {
- width: 290px;
- height: 50px;
- color: #fff;
- font-size: 16px;
- text-align: center;
- line-height: 50px;
- background: rgba(0, 0, 0, .5);
- position: absolute;
- top: 150px;
- left: 0;
- display: none;
- }
- #main .list .listItem .pictures:hover .pertty{
- display: block;
- }
|