game-news.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401
  1. .warp_public_nav{border-bottom: 1px solid #eee;}
  2. .container_game{
  3. width: 1200px;
  4. margin: 0 auto;
  5. height: 1600px;
  6. }
  7. .game_news_left{
  8. width: 336px;
  9. float: left;
  10. }
  11. .game_detail{
  12. border:1px solid #eee;
  13. border-top: none;
  14. }
  15. .tab_title {
  16. width: 336px;
  17. height: 37px;
  18. background: #F6F6F6;
  19. border: 1px solid #EEEEEE;
  20. }
  21. .tab_title .title:hover{
  22. border-bottom: 1px solid #f6f6f6;
  23. border-top: 3px solid #51a7ff;
  24. }
  25. .tab_title p {
  26. float: left;
  27. width: 135px;
  28. cursor: pointer;
  29. font-size: 16px;
  30. color: #494949;
  31. line-height: 34px;
  32. text-align: center;
  33. border-top: 3px solid #f6f6f6;
  34. }
  35. .tab_title a {
  36. padding: 5px 35px;
  37. }
  38. .tab_title .active {
  39. background: #fff;
  40. border-bottom: 1px solid #fff;
  41. border-top: 3px solid #51a7ff;
  42. }
  43. .new_news .game_detail {
  44. height: 135px;
  45. overflow: hidden;
  46. border-bottom: 1px solid #eee;
  47. }
  48. .new_news .game_detail:hover {
  49. background: #F6F6F6;
  50. }
  51. .game_detail:last-child{
  52. border-bottom: none;
  53. }
  54. .new_news .content_left {
  55. width: 152px;
  56. float: left;
  57. height: 103px;
  58. overflow: hidden;
  59. margin: 15px 20px 15px 15px;
  60. border: 2px solid #fff;
  61. }
  62. .new_news .content_left img {
  63. transition: all 1s;
  64. width: 100%;
  65. height: 100%;
  66. }
  67. .new_news .content_left img:hover {
  68. transform: scale(1.1);
  69. }
  70. .content_left:hover {
  71. border: 2px solid #51a7ff;
  72. }
  73. .new_news .content_right {
  74. float: left;
  75. width: 630px;
  76. margin-top: 15px;
  77. }
  78. .content_right h4 a {
  79. font-size: 16px;
  80. color: #494949;
  81. font-weight: 600;
  82. display: inline-block;
  83. overflow: hidden;
  84. text-overflow: ellipsis;
  85. white-space: nowrap;
  86. max-width: 634px;
  87. }
  88. .content_right h4 a:hover {
  89. color: #51a7ff;
  90. text-decoration: underline;
  91. }
  92. .content_right span{
  93. font-size: 12px;
  94. color: #b2b2b2;
  95. line-height: 32px;
  96. padding-right: 15px;
  97. }
  98. .content_right .text{
  99. font-size: 12px;
  100. line-height: 20px;
  101. height: 40px;
  102. color: #494949;
  103. margin-top: 7px;
  104. overflow: hidden;
  105. text-overflow: ellipsis;
  106. display: -webkit-box;
  107. -webkit-line-clamp: 2;
  108. -webkit-box-orient: vertical;
  109. }
  110. .content_right .text p,.content_right .text span {
  111. font-size: 12px !important;
  112. color: #494949 !important;
  113. line-height: 20px !important;
  114. background-color: transparent !important;
  115. margin: 0px !important;
  116. }
  117. .content_right .text img,.content_right .text embed {
  118. display: none;
  119. }
  120. .show{
  121. display: block !important;
  122. }
  123. .hide{
  124. display: none;
  125. }
  126. /* 右侧 */
  127. .game_news_right{
  128. float: right;
  129. width: 330px;
  130. margin-top: -43px;
  131. margin-bottom: 40px;
  132. }
  133. .hot_news{
  134. overflow: auto;
  135. margin-bottom: 48px;
  136. }
  137. .hot_news h4{
  138. border-bottom: 1px solid #e6e6e6;
  139. padding: 10px 0;
  140. }
  141. .hot_news h4 span{
  142. font-size: 16px;
  143. font-weight: 400;
  144. padding: 10px 0;
  145. border-bottom: 2px solid #51a7ff;
  146. }
  147. .hot_news_cont{
  148. width: 160px;
  149. float: left;
  150. margin-top: 12px;
  151. border-bottom: 1px dashed #e6e6e6;
  152. padding-bottom: 16px;
  153. }
  154. .hot_news_img{
  155. height: 117px;
  156. overflow: hidden;
  157. border: 2px solid #fff;
  158. }
  159. .hot_news_img:hover{
  160. border: 2px solid #51a7ff;
  161. }
  162. .hot_news_img img{
  163. width: 100%;
  164. height: 100%;
  165. transition: all 1s;
  166. }
  167. .hot_news_img img:hover{
  168. transform: scale(1.1);
  169. }
  170. .hot_news_txt{height: 38px; margin-top: 5px;}
  171. .hot_news_txt a{
  172. font-size: 14px;
  173. color: #494949;
  174. overflow: hidden;
  175. text-overflow: ellipsis;
  176. display: -webkit-box;
  177. -webkit-line-clamp: 2;
  178. -webkit-box-orient: vertical;
  179. }
  180. .hot_news_txt a:hover{
  181. color: #51a7ff;
  182. text-decoration: underline;
  183. }
  184. .hot_news_cont:nth-child(even){
  185. padding-right: 10px;
  186. }
  187. .page{
  188. text-align: center;
  189. margin-top: 40px;
  190. float: left;
  191. width: 100%;
  192. }
  193. /* 分页 */
  194. .pagination {
  195. height: 33px;
  196. margin: auto;
  197. width: max-content;
  198. width:-moz-fit-content;
  199. width:-ms-fit-content;
  200. display:inline-block;
  201. *display:inline;
  202. *zoom:1;
  203. display: flex;
  204. }
  205. .pagination li {
  206. float: left;
  207. }
  208. .pagination li a,.pagination li span{
  209. font-size: 14px;
  210. padding: 6px 11px;
  211. color: #494949;
  212. border-radius: 4px;
  213. border: 1px solid #eee;
  214. margin: 0 5px;
  215. cursor: pointer;
  216. }
  217. .pagination li a:hover{
  218. color: #fff;
  219. background: #51a7ff;
  220. border: 1px solid #51a7ff;
  221. }
  222. .pagination .active span{
  223. color: #fff;
  224. background: #51a7ff;
  225. border: 1px solid #51a7ff;
  226. }
  227. .pagination .disabled span{
  228. color: #fff;
  229. background: #eee;
  230. }
  231. .pagination .disabled span:hover{
  232. color: #fff;
  233. background: #eee;
  234. }
  235. .rows {
  236. margin: 24px 0 44px 0;
  237. color: #B2B2B2;
  238. font-size: 14px;
  239. }
  240. /* 右侧广告 */
  241. .wx_img{
  242. width: 384px;
  243. height: 151px;
  244. margin-top:23px;
  245. }
  246. .wx_img img{
  247. height: 100%;
  248. width: 100%;
  249. }
  250. .article_adv {
  251. width: 384px;
  252. height: 135px;
  253. margin-top:23px;
  254. position: relative;
  255. overflow: hidden;
  256. }
  257. .article_adv div {
  258. z-index: 1;
  259. background-color: rgba(0, 0, 0, 0.5);
  260. color: white;
  261. position: absolute;
  262. width: 100%;
  263. height: 28px;
  264. font-size: 14px;
  265. bottom: -28px;
  266. filter: progid:DXImageTransform.Microsoft.gradient(startcolorstr=#7F000000,endcolorstr=#7F000000)
  267. }
  268. .article_adv div span {
  269. line-height: 28px;
  270. padding-left: 12px;
  271. display: block;
  272. width: 310px;
  273. overflow: hidden;
  274. text-overflow: ellipsis;
  275. white-space: nowrap;
  276. }
  277. .article_adv img {
  278. width: 100%;
  279. height: 100%;
  280. }
  281. /* 搜索结果 */
  282. .warp_search {
  283. overflow: auto;
  284. margin-bottom: 30px;
  285. }
  286. .search_left {
  287. width: 854px;
  288. float: left;
  289. }
  290. .search_left h2 {
  291. font-size: 14px;
  292. color: #b2b2b2;
  293. margin-bottom: 20px;
  294. }
  295. .search_left h2 span {
  296. color: #51a7ff;
  297. }
  298. .relate_game {
  299. display: inline-table;
  300. width: 100%;
  301. }
  302. .game_cont {
  303. width: 283px;
  304. height: 291px;
  305. text-align: center;
  306. float: left;
  307. margin-left: -1px;
  308. margin-top: -1px;
  309. border: 1px solid #eee;
  310. }
  311. .game_cont:hover{
  312. background: #F6F7F7;
  313. }
  314. .search_game_img {
  315. width: 100%;
  316. height: 157px;
  317. position: relative;
  318. }
  319. .search_game_img img {
  320. width: 113px;
  321. height: 113px;
  322. margin: 20px 0;
  323. }
  324. .game_cont h4 a{
  325. font-size: 16px;
  326. font-weight: bold;
  327. width: 170px;
  328. height: 21px;
  329. display: block;
  330. margin: auto;
  331. margin-bottom: 6px;
  332. overflow: hidden;
  333. text-overflow: ellipsis;
  334. white-space: nowrap;
  335. }
  336. .game_cont h4 a:hover{
  337. color: #51a7ff;
  338. text-decoration: underline;
  339. }
  340. .game_cont p {
  341. font-size: 12px;
  342. color: #b2b2b2;
  343. line-height: 21px;
  344. }
  345. .game_cont p span {
  346. padding: 0 6px;
  347. }
  348. .game_cont .download,.game_cont .no_download{
  349. margin-top: 18px;
  350. }
  351. .game_cont .download a {
  352. font-size: 16px;
  353. color: #51a7ff;
  354. border: 1px solid #ff9c00;
  355. border-radius: 20px;
  356. padding: 6px 26px;
  357. }
  358. .game_cont .download a:hover{
  359. color: #fff;
  360. background: #51a7ff;
  361. }
  362. .game_cont .no_download a{
  363. font-size: 16px;
  364. color: #b2b2b2;
  365. border: 1px solid #b2b2b2;
  366. border-radius: 20px;
  367. padding: 6px 26px;
  368. }
  369. .game_cont .no_download a:hover{
  370. color: #fff;
  371. background: #b2b2b2;
  372. }
  373. .game_cont .havegift{
  374. position: absolute;
  375. width: 36px;
  376. height: 36px;
  377. left: 174px;
  378. top: -10px;
  379. }
  380. .search_right {
  381. width: 330px;
  382. float: right;
  383. }
  384. .search_left .new_news .game_detail:first-child{
  385. border-top: 1px solid #eee;
  386. }