lpnewslist.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. body{background:#fff;}
  2. /*.楼盘动态*/
  3. .y_lphomenew{margin:5px 10px 10px;}
  4. /*.y_lphomenew_main{ margin: 0 10px;}*/
  5. .y_lphomenew_cent{}
  6. .y_lphomenew_cent ul li {padding:17px 0;}
  7. .y_lphomenew_cent ul li + li {border-top:1px solid #F8F8F8;}
  8. .y_lphomenew_cent ul li .w_img {display:inline-block;vertical-align: top;width:29%;height:75px;float:right;}
  9. .y_lphomenew_cent ul li .w_img img {display:block;width:100%;height:100%;border-radius:3px;}
  10. .y_lphomenew_cent ul li .w_font {display:inline-block;vertical-align:top;width:66%;position:relative;height:75px;}
  11. .y_lphomenew_cent ul li .w_font .title{font-size:0.9375rem;color:#333;font-weight:600;line-height:23px;overflow:hidden;
  12. text-overflow:ellipsis;
  13. display:-webkit-box;
  14. -webkit-box-orient:vertical;
  15. -webkit-line-clamp:2;}
  16. .y_lphomenew_cent ul li .w_font .ti {position:absolute;bottom:-0px;width:100%; line-height: 22px;}
  17. .y_lphomenew_cent ul li .w_font .ti span{font-size:0.75rem;color:#666;padding:0px 6px;background: #F8F8F8; float: left;}
  18. .y_lphomenew_cent ul li .w_font .ti i{font-size:0.75rem;color:#666;float:right;}
  19. /*.y_lphomenew_cent ul li .y_newlx{ margin-top: 10px;}
  20. .y_lphomenew_cent ul li .y_newlx span{ background: #CD8071; padding: 4px 10px; font-size: 1rem; color: #fff;border-radius: 5px;}
  21. .y_lphomenew_cent ul li .y_newtextmain{ margin-top: 15px;}
  22. .y_lphomenew_cent ul li .y_newtextmain a{display: inline-block;}
  23. .y_lphomenew_cent ul li .y_newtextmain .y_title{ position: relative; left: -36px;}
  24. .y_lphomenew_cent ul li .y_newtextmain .y_title i{background: #f4f6f9; width: 20px; height: auto;display: block; margin-right: 15px; float: left;}
  25. .y_lphomenew_cent ul li .y_newtextmain .y_title span{font-size: 0.95rem; color: #333; display: block; float: left; width: 85%; font-weight: 600;line-height: 22px;}
  26. .y_lphomenew_cent ul li .y_newtextmain .y_text{ font-size: 0.9rem; color: #666; line-height: 20px;}
  27. .y_lphomenew_cent ul li .y_newtextmain .y_img{ margin-top: 10px;}
  28. .y_lphomenew_cent ul li .y_newtextmain .y_img i{ width: 31%; height: 80px; float: left; display: block;}
  29. .y_lphomenew_cent ul li .y_newtextmain .y_img img{ width: 100%; height: 100%;}
  30. .y_lphomenew_cent ul li .y_newtextmain .y_img i+i{ margin-left: 2%;}*/
  31. .y_newstext{ margin-top: 15px; background: #fff; padding: 15px 10px; border-radius: 5px; border: 1px solid #E4DDDD; position: relative;}
  32. .y_newstext em.list_tb{ position: absolute; left: -10px; top: 20px; width: 10px; height: auto;}
  33. .y_newstext em.list_tb img{ width: 100%;}
  34. .y_newstext em.list_tb2{ position: absolute; left: -31px; top: 20px; width: 10px; height: auto;}
  35. p.y_shijian{ font-size: 0.9rem; color: #999; margin-top: 10px;}
  36. .footer_copy {display:none;}
  37. /*媒体查询*/
  38. @media (max-width: 320px){
  39. .y_lphomenew_cent ul li .y_newtextmain .y_title span{ width: 85%;}
  40. }