hotelList.css 892 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /* 头部广告 */
  2. .advImg{
  3. height: 282px;
  4. background: url(../imgs/homestayAdv.jpg) no-repeat center;
  5. background-size: cover;
  6. }
  7. .hotelList .hotelItem{
  8. height: 158px;
  9. margin-bottom: 30px;
  10. }
  11. .hotelList .hotelItem img{
  12. float: left;
  13. width: 224px;
  14. height: 162px;
  15. }
  16. .hotelItem .hotelDetial{
  17. margin-left: 255px;
  18. }
  19. .hotelItem .hotelDetial h2{
  20. padding: 16px 0 5px;
  21. color: #000;
  22. font-size: 14px;
  23. }
  24. .hotelItem .hotelDetial .address{
  25. overflow: hidden;
  26. text-overflow: ellipsis;
  27. white-space: nowrap;
  28. line-height: 33px;
  29. }
  30. .hotelItem .hotelDetial .price{
  31. line-height: 55px;
  32. text-align: right;
  33. font-weight: 700;
  34. letter-spacing: 1px;
  35. }
  36. .hotelItem .hotelDetial .price span{
  37. font-size: 20px;
  38. font-weight: 700;
  39. }
  40. .hotelItem .hotelDetial .date{
  41. font-size: 14px;
  42. }
  43. .hotelItem .hotelDetial .date span{
  44. font-size: 12px;
  45. }