index.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. .aui-palace-grid {
  2. /*AUI素材网 网址:http://www.a-ui.cn/*/
  3. position: relative;
  4. float: left;
  5. padding: 1px;
  6. width: 33.33%;
  7. box-sizing: border-box;
  8. margin: 10px 0;
  9. }
  10. .aui-hot-news{
  11. width:92%;
  12. height:34px;
  13. background-size:100%;
  14. border-radius:20px;
  15. padding-left:22px;
  16. padding-right:22px;
  17. background: #7ea6ff;
  18. margin: 0 4%;
  19. }
  20. .aui-hot-news-title img{
  21. width:24px;
  22. display:block;
  23. border:none;
  24. }
  25. .aui-flex-info-box {
  26. height: 35px;
  27. overflow: hidden
  28. }
  29. .t_news {
  30. height: 19px;
  31. color: #900;
  32. padding-left: 10px;
  33. margin: 8px 0;
  34. overflow: hidden;
  35. position: relative
  36. }
  37. .news_li,.swap {
  38. line-height: 19px;
  39. display: inline-block;
  40. position: absolute;
  41. top: 0;
  42. left:2px
  43. }
  44. .news_li a,.swap a {
  45. color: #1a1a1a;
  46. width: auto;
  47. overflow: hidden;
  48. text-overflow: ellipsis;
  49. white-space: nowrap;
  50. word-wrap: normal;
  51. word-wrap: break-word;
  52. display:block;
  53. word-break: break-all;
  54. }
  55. .swap {
  56. top: 19px
  57. }
  58. .news_li, .swap li{
  59. width: auto;
  60. overflow: hidden;
  61. text-overflow: ellipsis;
  62. white-space: nowrap;
  63. word-wrap: normal;
  64. word-wrap: break-word;
  65. word-break: break-all;
  66. }
  67. .aui-recommend {
  68. /*AUI素材网 网址:http://www.a-ui.cn/*/
  69. padding: 0 0.38rem;
  70. overflow: hidden;
  71. }
  72. .aui-recommend .aui-hot-list-img {
  73. /*AUI素材网 网址:http://www.a-ui.cn/*/
  74. height: 7rem;
  75. margin: 0.2rem auto;
  76. width: 98%;
  77. background: #ffffff;
  78. padding: 0.8rem;
  79. border-radius: 10px;
  80. display: flex;
  81. align-items: center;
  82. }
  83. .aui-recommend img {
  84. width: 8rem;
  85. height: 6rem;
  86. /*float: left;*/
  87. }
  88. .aui-recommend h1 {
  89. /*AUI素材网 网址:http://www.a-ui.cn/*/
  90. overflow: hidden;
  91. display: -webkit-box;
  92. -webkit-line-clamp: 1;
  93. -webkit-box-orient: vertical;
  94. word-break: break-all;
  95. text-overflow: ellipsis;
  96. font-size: 1.1rem;
  97. font-weight: normal;
  98. margin-bottom: 0.5rem;
  99. padding-left: 0.5rem;
  100. }
  101. .aui-recommend p {
  102. /*AUI素材网 网址:http://www.a-ui.cn/*/
  103. overflow: hidden;
  104. display: -webkit-box;
  105. -webkit-line-clamp: 2;
  106. -webkit-box-orient: vertical;
  107. word-break: break-all;
  108. text-overflow: ellipsis;
  109. font-size: 0.85rem;
  110. font-weight: normal;
  111. margin-bottom: 0.5rem;
  112. padding-left: 0.5rem;
  113. }
  114. .aui-recommend a {
  115. }
  116. .icon-home {
  117. /*AUI素材网 网址:http://www.a-ui.cn/*/
  118. background-image: url('../img/nav-icon-home-active.png');
  119. }
  120. .icon-chat {
  121. /*AUI素材网 网址:http://www.a-ui.cn/*/
  122. background-image: url('../img/nav-icon-chat.png');
  123. }
  124. .icon-user {
  125. /*AUI素材网 网址:http://www.a-ui.cn/*/
  126. background-image: url('../img/nav-icon-user.png');
  127. }