main.css 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. .header{height: 0.9rem;background: #343434;position: fixed;width: 100%;
  2. z-index: 1000;}
  3. .header a{color: #FFFFFF;font-size: 0.32rem;}
  4. .header .headerLeft{width:0.6rem;height: 0.9rem;}
  5. .headerCenter{text-align: center;}
  6. .headerRight{display: inline-block;width: 0.6rem;height:0.9rem;}
  7. .contentBox{padding-top: 0.9rem;padding-bottom: 0.96rem;
  8. position: relative;}
  9. .headTab{height: 0.65rem;background: #d23c3b;overflow-x: scroll;position: ;}
  10. .headTab ul{width: 9rem;height: 0.65rem;}
  11. .headTab ul li{float: left;height: 0.65rem;color: #FFFFFF;line-height: 0.65rem;padding: 0 0.2rem;}
  12. .headTab ul li a{padding-bottom: 0.1rem;color: #ffffff;}
  13. .headTab ul li .activeLia{background: url(../img/line.jpg) no-repeat bottom center;background-size: 0.46rem 0.04rem;}
  14. .search{display: block;width: 0.9rem;height: .65rem;
  15. background-size: 0.32rem;position: absolute;top: .9rem;right: 0;
  16. text-align: center;background: rgba(210,60,59,.6);line-height: .65rem;}
  17. .icon-search{
  18. font-size: .4rem;
  19. color: #ffffff;
  20. }
  21. .newsListBox{background: #FFFFFF;margin-bottom: 0.2rem;}
  22. .newsList{padding: 0 0.3rem;padding-bottom: 0.3rem;}
  23. .newsListTitle{display: table;width: 100%;height: 1rem;}
  24. .newsListTitleLeft,.newsListTitleRight{display: table-cell;vertical-align: middle;font-size: 0.32rem;color: #333333;}
  25. .newsListTitleRight{text-align: right;font-size: 0.24rem;color: #9a9a9a;}
  26. .newsDetail{color: #666565;line-height: 0.46rem;padding-bottom: 0.1rem;}
  27. .newsImg{width: 2.26rem;height: 1.5rem;}
  28. .voteBox{background: #f0f0f0;height: 2.4rem;margin-top: 0.2rem;}
  29. .voteItemBtn{width: 0.9rem;height: 0.9rem;border-radius: 50%;background: #d23c3b;color: #FFFFFF;text-align: center;
  30. line-height: 0.9rem;margin: auto;font-size: 0.24rem;}
  31. .voteItem p{color: #666666;text-align: center;margin-top: 0.4rem;}
  32. .voteBox2{background: #f0f0f0;margin-top: 0.2rem;padding: 0 0.2rem;}
  33. .voteBox2Item{height: 0.8rem;}
  34. .voteBox2Item .kindName{width: 1.36rem;text-align: right;color: #666666;}
  35. .voteBox2Item .progress{margin: 0 0.2rem;}
  36. .voteBox2Item .progress span{border-radius: 0.6rem;}
  37. .voteBox2Item .ticketNum{color: #666666;font-size: 0.24rem;margin-right: 0.2rem;}
  38. .voteBox2Item .tickeBtn{width: 0.72rem;height: 0.42rem;background: #d23c3b;color: #FFFFFF;text-align: center;
  39. line-height: 0.42rem;border-radius: 3px;font-size: 0.24rem;}
  40. .footer{width: 100%;height: 0.96rem;position: fixed;bottom: 0;background: #ffffff;border-top: 1px solid #999999;}
  41. .homeBg{width: 0.5rem;height: 0.4rem;background: url(../img/home.jpg) no-repeat center;background-size: 0.38rem 0.36rem;}
  42. .technologBg{width: 0.5rem;height: 0.4rem;background: url(../img/technology.jpg) no-repeat center;background-size: 0.49rem 0.38rem;}
  43. .communityBg{width: 0.5rem;height: 0.4rem;background: url(../img/commuty.jpg) no-repeat center;background-size: 0.42rem 0.39rem;}
  44. .integralBg{width: 0.5rem;height: 0.4rem;background: url(../img/integral.jpg) no-repeat center;background-size: 0.32rem 0.41rem;}
  45. .mineBg{width: 0.5rem;height: 0.4rem;background: url(../img/mine.jpg) no-repeat center;background-size:0.37rem;}
  46. .footerItem div{margin: auto;}
  47. .footerItem p{font-size: 0.24rem;color: #333333;margin-top: 0.06rem;}