four.scss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  1. @import "baseFour.scss";
  2. @import "mixin/_animation.scss";
  3. @import "drop_down.scss";
  4. .main {
  5. width: 100%;
  6. height: 84%;
  7. .aside-left {
  8. position: relative;
  9. width: 22%;
  10. height: 100%;
  11. &:before {
  12. content: "";
  13. position: absolute;
  14. top: 0;
  15. bottom: -10.4%;
  16. width: 100%;
  17. height: 100%;
  18. background: url(../img/invalid.png) no-repeat;
  19. background-size: 100% 100%;
  20. }
  21. ul {
  22. position: relative;
  23. z-index: 99;
  24. display: block;
  25. height: 91%;
  26. overflow: hidden;
  27. }
  28. li {
  29. position: relative;
  30. z-index: 100;
  31. width: 86%;
  32. height: 19%;
  33. padding: 5% 8% 5% 4%;
  34. margin: 1.5% auto;
  35. background: rgba(8, 29, 93, .36);
  36. cursor: pointer;
  37. img {
  38. display: block;
  39. width: 23%;
  40. height: 100%;
  41. }
  42. dl {
  43. width: 77%;
  44. padding-left: 5%;
  45. dt {
  46. text-align: left;
  47. font-size: px2em(28, 64);
  48. font-weight: normal;
  49. font-style: normal;
  50. font-stretch: normal;
  51. line-height: normal;
  52. color: #fff;
  53. overflow: hidden;
  54. white-space: nowrap;
  55. letter-spacing: normal;
  56. text-overflow: ellipsis;
  57. }
  58. dd {
  59. text-align: left;
  60. font-family: MicrosoftYaHei;
  61. font-size: px2em(22, 64);
  62. font-weight: normal;
  63. font-style: normal;
  64. font-stretch: normal;
  65. line-height: 1.43;
  66. color: rgba(0, 187, 236, .5);
  67. letter-spacing: normal;
  68. p {
  69. overflow: hidden;
  70. white-space: nowrap;
  71. text-overflow: ellipsis;
  72. }
  73. }
  74. }
  75. }
  76. }
  77. .aside-right {
  78. position: relative;
  79. width: 22%;
  80. height: 100%; // 公共样式
  81. .con_top {
  82. position: relative;
  83. width: 100%;
  84. height: 103.5%;
  85. &:before {
  86. content: "";
  87. position: absolute;
  88. top: 0;
  89. bottom: -10.4%;
  90. width: 100%;
  91. height: 100%;
  92. background: url(../img/aside_top.png) no-repeat;
  93. background-size: 100% 100%;
  94. }
  95. h3 {
  96. padding: 10% 8% 2% 8%;
  97. }
  98. .aside_con {
  99. height: 86%;
  100. padding: 0 3%;
  101. overflow: hidden;
  102. dl {
  103. padding: 2% 5%;
  104. margin: 1% 0;
  105. background: rgba(8, 29, 93, .43);
  106. }
  107. dd {
  108. font-size: px2em(22, 64);
  109. }
  110. .user {
  111. text-align: left;
  112. font-size: px2em(24, 64);
  113. color: #00bbec;
  114. }
  115. .time {
  116. color: rgba(0, 187, 236, .52);
  117. }
  118. .comment {
  119. text-align: left;
  120. color: #00bbec;
  121. span {
  122. position: relative;
  123. display: inline-block;
  124. font-size: px2em(18, 64);
  125. }
  126. }
  127. dd {
  128. text-align: left;
  129. font-size: px2em(24, 64);
  130. font-weight: normal;
  131. font-style: normal;
  132. font-stretch: normal;
  133. line-height: 1.33;
  134. color: #fff;
  135. display: -webkit-box;
  136. -webkit-box-orient: vertical;
  137. -webkit-line-clamp: 6;
  138. overflow: hidden;
  139. letter-spacing: normal;
  140. }
  141. }
  142. }
  143. }
  144. .middle_con {
  145. position: relative;
  146. width: 55%;
  147. height: 100%;
  148. margin: 0 .5%;
  149. background-color: rgba(18, 22, 64, .44);
  150. .middle_top {
  151. width: 100%;
  152. height: 80%;
  153. }
  154. .middle_button {
  155. width: 100%;
  156. height: 20%;
  157. overflow: hidden;
  158. .button_left,
  159. .button_right {
  160. position: relative;
  161. float: left;
  162. width: 50%;
  163. height: 100%;
  164. font-size: px2em(28, 64);
  165. .button_con {
  166. position: absolute;
  167. width: 100%;
  168. height: 82%;
  169. overflow: hidden;
  170. }
  171. &:before {
  172. content: "";
  173. position: absolute;
  174. top: 0;
  175. bottom: -10.4%;
  176. width: 100%;
  177. height: 100%;
  178. background: url(../img/invalid-button.png) no-repeat;
  179. background-size: 100% 100%;
  180. }
  181. h3 {
  182. padding: 4% 0 2% 3%;
  183. }
  184. dl {
  185. display: inline-block;
  186. width: 90%;
  187. line-height: 2.3;
  188. margin-left: 3%;
  189. overflow: hidden;
  190. white-space: nowrap;
  191. text-overflow: ellipsis;
  192. }
  193. .number {
  194. color: #2edbff;
  195. }
  196. .title {
  197. text-align: left;
  198. color: #fff;
  199. }
  200. dt {
  201. display: inline-block;
  202. }
  203. dd {
  204. display: inline-block;
  205. text-align: left;
  206. padding-left: 2%;
  207. color: rgba(0, 187, 236, .5);
  208. }
  209. }
  210. }
  211. .con_left,
  212. .con_right {
  213. width: 50%;
  214. height: 37%;
  215. padding-top: 1%;
  216. }
  217. .con_left {
  218. padding: 2% 5%;
  219. border-right: 1px solid #00bbec;
  220. img {
  221. display: block;
  222. width: 30%;
  223. height: 88%;
  224. }
  225. dl {
  226. width: 70%;
  227. height: 100%;
  228. padding-left: 5%;
  229. color: #fff;
  230. dt {
  231. text-align: left;
  232. font-size: px2em(38, 64);
  233. font-weight: normal;
  234. font-style: normal;
  235. font-stretch: normal;
  236. line-height: 1;
  237. padding-bottom: 4%;
  238. overflow: hidden;
  239. white-space: nowrap;
  240. letter-spacing: normal;
  241. text-overflow: ellipsis;
  242. }
  243. dd {
  244. text-align: left;
  245. font-size: px2em(28, 64);
  246. font-weight: normal;
  247. line-height: 1.43;
  248. letter-spacing: normal;
  249. p {
  250. overflow: hidden;
  251. white-space: nowrap;
  252. text-overflow: ellipsis;
  253. font-style: normal;
  254. }
  255. }
  256. }
  257. }
  258. .con_right {
  259. padding-left: 2%;
  260. dl {
  261. width: 100%;
  262. height: 50%;
  263. float: left;
  264. margin: 1% 0;
  265. overflow: hidden;
  266. dt {
  267. text-align: left;
  268. font-size: px2em(28, 64);
  269. line-height: 1.11;
  270. color: #fff;
  271. letter-spacing: normal;
  272. }
  273. ul {
  274. margin: 4% 0 0 7%;
  275. li {
  276. float: left;
  277. text-align: right;
  278. font-size: px2em(24, 64);
  279. padding: 1% 5%;
  280. padding: 1% 5%;
  281. margin: 1%;
  282. color: #fff;
  283. background: rgba(0, 187, 236, .28);
  284. }
  285. }
  286. }
  287. }
  288. .con_link {
  289. position: relative;
  290. float: left;
  291. width: 100%;
  292. height: 22.33%;
  293. li {
  294. overflow: hidden;
  295. white-space: nowrap;
  296. text-overflow: ellipsis;
  297. }
  298. &:before {
  299. content: "";
  300. position: absolute;
  301. top: 0;
  302. bottom: -10.4%;
  303. width: 20%;
  304. height: 15%;
  305. background: url(../img/title_con.png) no-repeat;
  306. background-size: 100% 100%;
  307. }
  308. h3 {
  309. padding-left: 11%;
  310. margin-top: -0.5%;
  311. font-size: px2em(32, 64);
  312. }
  313. .link_title,
  314. .link_ul {
  315. width: 81%;
  316. text-align: left;
  317. font-size: px2em(24, 64);
  318. font-weight: normal;
  319. font-style: normal;
  320. font-stretch: normal;
  321. line-height: 1.43;
  322. margin: 2% auto;
  323. color: #fff;
  324. overflow: hidden;
  325. letter-spacing: normal;
  326. }
  327. .link_title {
  328. height: 80%;
  329. display: -webkit-box;
  330. -webkit-box-orient: vertical;
  331. -webkit-line-clamp: 3;
  332. overflow: hidden;
  333. padding-top: 1%;
  334. }
  335. .link_ul {
  336. height: 80%;
  337. li {
  338. float: left;
  339. width: 25%;
  340. padding:0.2% 1%;
  341. }
  342. }
  343. }
  344. }
  345. }
  346. .title_img {
  347. text-align: left;
  348. }
  349. .main-bottom {
  350. width: 100%;
  351. height: 5px;
  352. span {
  353. display: inline-block;
  354. height: 100%;
  355. background: #02336b;
  356. }
  357. .line1 {
  358. width: 15%;
  359. margin-right: 6px;
  360. }
  361. .line2 {
  362. width: 55%;
  363. margin-right: 6px;
  364. }
  365. .line3 {
  366. width: 26%;
  367. }
  368. }
  369. // 出版社排行 旋转效果
  370. // .pressRotate {
  371. // -webkit-animation: mymove .5s ease-in;
  372. // -moz-animation: mymove .5s ease-in;
  373. // -o-animation: mymove .5s ease-in;
  374. // animation: mymove .5s ease-in;
  375. // }
  376. @include myMove(".pressRotate");
  377. @keyframes rotate {
  378. 0% {}
  379. 100% {
  380. transform: rotate(360deg);
  381. }
  382. }