tsg2.css 18 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118
  1. body {
  2. color: #000;
  3. font-size: 16px;
  4. }
  5. a {
  6. color: #000;
  7. }
  8. a:hover {
  9. color: #ff1111;
  10. text-decoration: none;
  11. }
  12. .wrap-larger {
  13. width: 1320px;
  14. margin: 0 auto;
  15. }
  16. .header-top {
  17. width: 100%;
  18. height: 30px;
  19. line-height: 30px;
  20. position: relative;
  21. background-color: #d7cfcf;
  22. border: 1px solid #bbb;
  23. border-left: 0;
  24. border-right: 0;
  25. padding: 0 15px;
  26. color: #fff;
  27. }
  28. .header-top .wrap {
  29. position: relative;
  30. }
  31. .header-img {
  32. position: relative;
  33. }
  34. .header-img img {
  35. width: auto;
  36. height: 90px;
  37. }
  38. .header-right {
  39. float: right;
  40. }
  41. .header-right a:hover{
  42. color: #ac3b3b;
  43. }
  44. /* 导航 */
  45. .header{
  46. box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  47. }
  48. .header>.wrap{
  49. position: relative;
  50. }
  51. .header-nav {
  52. position: absolute;
  53. right: 0;
  54. top: 50%;
  55. transform: translateY(-50%);
  56. background-color: transparent;
  57. z-index: 101;
  58. }
  59. .header-nav {
  60. width: 50%;
  61. }
  62. .header-nav ul li {
  63. flex: auto;
  64. }
  65. .header-nav ul li:last-child a{
  66. height: 44px;
  67. line-height: 44px;
  68. background-color: #ac3b3b;
  69. color: #fff;
  70. margin-top: 23px;
  71. margin-left: 20px;
  72. border-radius: 4px;
  73. }
  74. .header-nav ul li:last-child a:hover{
  75. background-color: #C90303;
  76. }
  77. .nav-secondLevel {
  78. top: 90px;
  79. }
  80. .header-nav .nav-secondLevel li {
  81. width: 33.33%;
  82. margin-top: 10px;
  83. }
  84. .header-nav li a {
  85. box-sizing: content-box;
  86. position: relative;
  87. line-height: 90px;
  88. height: 90px;
  89. color: #000;
  90. }
  91. .header-nav li:hover>a {
  92. background-color: #ac3b3b;
  93. color: #fff;
  94. }
  95. .header-nav .nav-secondLevel li a{
  96. background-image: none;
  97. padding-bottom: 0;
  98. text-align: left;
  99. }
  100. .header-nav .nav-secondLevel li a:hover{
  101. background-color: rgba(233, 217, 217, 1) !important;
  102. }
  103. .header-nav>ul>li:hover .nav-secondLevel {
  104. width: 2400px;
  105. position: fixed;
  106. left: -1200px;
  107. background-color: #e8e8e8;
  108. min-height: 150px;
  109. padding: 10px 0 20px;
  110. }
  111. .header-nav>ul>li:hover .nav-secondLevel .wrap {
  112. background: url(../images/tsg/nav.jpg) no-repeat right bottom;
  113. background-size: 300px;
  114. }
  115. .header-nav>ul>li:hover .nav-secondLevel .nav-secondLevel-wrap {
  116. display: flex;
  117. flex-wrap: wrap;
  118. width: 700px;
  119. margin: 0 auto;
  120. }
  121. .header-nav .nav-secondLevel li a {
  122. background: transparent url(../images/tsg/icon/dot.png) no-repeat 8px center;
  123. background-size: 6px;
  124. border: 0;
  125. color: #ac3b3b;
  126. padding: 0 20px;
  127. font-weight: normal;
  128. }
  129. .header-nav .nav-secondLevel li:last-child a {
  130. margin: 0;
  131. background-color: transparent;
  132. line-height: 40px;
  133. color: #ac3b3b;
  134. }
  135. .header-nav .nav-secondLevel li:last-child:hover a {
  136. background-color: transparent;
  137. }
  138. /* 三级 */
  139. .header-nav .nav-threeLevel {
  140. position: relative;
  141. top: 0;
  142. left: 0;
  143. width: 100%;
  144. background-color: transparent;
  145. font-size: 14px;
  146. display: block !important;
  147. }
  148. .header-nav .nav-threeLevel li {
  149. width: 100% !important;
  150. margin-top: 0 !important;
  151. }
  152. .header-nav .nav-threeLevel li a {
  153. background: none !important;
  154. color: #000 !important;
  155. }
  156. .header-nav .nav-secondLevel li a span {
  157. display: none;
  158. }
  159. /* 主体 */
  160. .content {
  161. /* margin-top: 30px; */
  162. }
  163. /* 馆藏资源搜索组件 */
  164. :root {
  165. --theme-color-1: #b4190f;
  166. --theme-color-2: #343977;
  167. --theme-color-3: #6c9350;
  168. --theme-color-4: #de882f;
  169. }
  170. body[data-menu-type="1"] {
  171. --current-theme-color: var(--theme-color-1);
  172. }
  173. body[data-menu-type="2"] {
  174. --current-theme-color: var(--theme-color-2);
  175. }
  176. body[data-menu-type="3"] {
  177. --current-theme-color: var(--theme-color-3);
  178. }
  179. body[data-menu-type="4"] {
  180. --current-theme-color: var(--theme-color-4);
  181. }
  182. .search-container {
  183. max-width: 1200px;
  184. width: 100%;
  185. position: relative;
  186. margin: 0 auto;
  187. box-sizing: border-box;
  188. }
  189. .search-panel {
  190. top: 100%;
  191. left: 0;
  192. width: 100%;
  193. background: #fff;
  194. display: none;
  195. box-sizing: border-box;
  196. border-radius: 0 0 10px 10px;
  197. overflow: hidden;
  198. }
  199. .left-menu {
  200. width: 200px;
  201. flex: 0 0 200px;
  202. text-align: center;
  203. background: #f8f8f8;
  204. }
  205. .left-menu ul {
  206. list-style: none;
  207. padding: 0;
  208. margin: 0;
  209. }
  210. .left-menu li {
  211. padding: 8px 20px;
  212. cursor: pointer;
  213. color: #333;
  214. }
  215. .left-menu li.active {
  216. color: #fff;
  217. background-color: var(--current-theme-color);
  218. }
  219. .right-search {
  220. flex: 3;
  221. min-width: 0;
  222. padding: 20px;
  223. background: var(--current-theme-color);
  224. display: flex;
  225. flex-direction: column;
  226. justify-content: flex-start;
  227. }
  228. .search-title {
  229. color: #fff;
  230. font-size: 20px;
  231. font-weight: bold;
  232. }
  233. .search-box {
  234. display: flex;
  235. margin: 15px 0;
  236. }
  237. .search-tip {
  238. color: #fff;
  239. font-size: 14px;
  240. font-weight: 400;
  241. }
  242. .search-input {
  243. flex: 1;
  244. min-width: 0;
  245. padding: 13px 15px;
  246. border: none;
  247. border-radius: 4px 0 0 4px;
  248. font-size: 16px;
  249. }
  250. .search-input:focus {
  251. outline: none;
  252. }
  253. .search-btn {
  254. background: rgba(58, 58, 58, .5);
  255. color: #fff;
  256. border: none;
  257. padding: 0 25px;
  258. cursor: pointer;
  259. border-radius: 0 4px 4px 0;
  260. font-size: 16px;
  261. }
  262. .search-trigger-area {
  263. position: relative;
  264. display: flex;
  265. align-items: center;
  266. justify-content: space-between;
  267. border-radius: 10px;
  268. overflow: hidden;
  269. background: #fff;
  270. box-sizing: border-box;
  271. height: 50px;
  272. }
  273. .search-trigger {
  274. width: 200px;
  275. flex: 0 0 200px;
  276. background: #a63334;
  277. color: #fff;
  278. padding: 10px 15px;
  279. font-size: 18px;
  280. height: 100%;
  281. display: flex;
  282. align-items: center;
  283. justify-content: center;
  284. box-sizing: border-box;
  285. cursor: pointer;
  286. }
  287. .icon-search {
  288. display: inline-block;
  289. width: 20px;
  290. height: 20px;
  291. background: url(../images/icon/search.png) no-repeat;
  292. background-size: 100%;
  293. margin-right: 8px;
  294. filter: brightness(0) invert(1);
  295. }
  296. .icon-arrow {
  297. display: inline-block;
  298. margin-left: 8px;
  299. width: 8px;
  300. height: 8px;
  301. border-right: 2px solid #fff;
  302. border-bottom: 2px solid #fff;
  303. transform: rotate(45deg);
  304. transition: transform .3s;
  305. }
  306. .search-panel-visible .icon-arrow {
  307. transform: rotate(-135deg);
  308. }
  309. .search-tabs {
  310. height: 100%;
  311. flex: 3;
  312. min-width: 0;
  313. background: #ebebeb;
  314. border-radius: 0 10px 0 0;
  315. overflow-x: auto;
  316. }
  317. .search-tabs ul {
  318. height: 100%;
  319. display: flex;
  320. align-items: center;
  321. list-style: none;
  322. margin: 0;
  323. padding: 0;
  324. }
  325. .search-tabs li {
  326. padding: 12px 25px;
  327. cursor: pointer;
  328. color: #000;
  329. position: relative;
  330. transition: all .3s;
  331. height: 100%;
  332. box-sizing: border-box;
  333. display: flex;
  334. align-items: center;
  335. white-space: nowrap;
  336. }
  337. .search-tabs li.active {
  338. color: var(--current-theme-color);
  339. }
  340. .search-tabs li.active::after {
  341. content: '';
  342. position: absolute;
  343. bottom: 0;
  344. left: 50%;
  345. transform: translateX(-50%) rotate(180deg);
  346. width: 0;
  347. height: 0;
  348. border-left: 6px solid transparent;
  349. border-right: 6px solid transparent;
  350. border-top: 8px solid var(--current-theme-color);
  351. background: none;
  352. opacity: 0;
  353. transition: opacity .3s;
  354. }
  355. .search-panel-visible .search-tabs li.active::after {
  356. opacity: 1;
  357. }
  358. .search-tabs li:hover {
  359. color: var(--current-theme-color);
  360. }
  361. /* 资源类型标签组随左侧检索入口互斥显示 */
  362. body[data-menu-type="1"] .search-tabs .tabs-tsg {
  363. display: flex !important;
  364. }
  365. body[data-menu-type="1"] .search-tabs .tabs-duxiu,
  366. body[data-menu-type="1"] .search-tabs .tabs-zhiwang,
  367. body[data-menu-type="2"] .search-tabs ul,
  368. body[data-menu-type="4"] .search-tabs ul {
  369. display: none !important;
  370. }
  371. body[data-menu-type="3"] .search-tabs .tabs-duxiu {
  372. display: flex !important;
  373. }
  374. body[data-menu-type="3"] .search-tabs .tabs-tsg,
  375. body[data-menu-type="3"] .search-tabs .tabs-zhiwang {
  376. display: none !important;
  377. }
  378. body[data-menu-type="5"] .search-tabs .tabs-zhiwang {
  379. display: flex !important;
  380. }
  381. body[data-menu-type="5"] .search-tabs .tabs-tsg,
  382. body[data-menu-type="5"] .search-tabs .tabs-duxiu {
  383. display: none !important;
  384. }
  385. .banner{
  386. position: relative;
  387. }
  388. .banner,
  389. .banner img{
  390. width: 100%;
  391. }
  392. .banner img {
  393. height: 450px;
  394. object-fit: cover;
  395. }
  396. /* 搜索 */
  397. .search {
  398. position: absolute;
  399. top: 0;
  400. bottom: 0;
  401. left: 0;
  402. right: 0;
  403. margin: auto;
  404. z-index: 100;
  405. background-color: #ac3b3b;
  406. height: 60%;
  407. padding: 0 50px;
  408. border: 1px solid #bbb;
  409. }
  410. .search-wrap {
  411. width: 100%;
  412. height: 56px;
  413. display: flex;
  414. margin: 60px 0 40px;
  415. }
  416. .search-wrap-item {
  417. border-radius: 6px;
  418. border: 0;
  419. outline: none;
  420. font-size: 16px;
  421. }
  422. .search-wrap select {
  423. padding: 0 12px;
  424. width: 140px;
  425. cursor: pointer;
  426. }
  427. .search-wrap input {
  428. margin: 0 20px;
  429. padding: 0 15px;
  430. flex: auto;
  431. }
  432. .search-wrap button {
  433. padding: 0 45px;
  434. background: #fff url(../images/icon/search.png) no-repeat 16px center;
  435. background-size: 22px;
  436. cursor: pointer;
  437. }
  438. .search-wrap button:hover {
  439. background-color: rgba(255, 255, 255, .9);
  440. }
  441. .search-wrap button:active {
  442. background-color: rgba(255, 255, 255, .7);
  443. }
  444. .search-ranking {
  445. color: #fff;
  446. display: flex;
  447. line-height: 28px;
  448. }
  449. .search-ranking ul {
  450. margin-left: 10px;
  451. flex: 1;
  452. }
  453. .search-ranking ul li {
  454. display: inline-block;
  455. margin-right: 25px;
  456. }
  457. .search-ranking a {
  458. color: #fff;
  459. text-decoration: underline;
  460. }
  461. .search-ranking a:hover {
  462. color: #ffff00;
  463. }
  464. /* 轮播 */
  465. .swiper-pagination-bullet-active {
  466. color: #fff;
  467. background: rgba(174, 28, 3, 1);
  468. }
  469. .swiper-slide {
  470. position: relative;
  471. }
  472. .swiper-slide img {
  473. display: block;
  474. width: 100%;
  475. }
  476. .swiper-slide .swiper-title {
  477. height: 26px;
  478. line-height: 26px;
  479. padding: 0 10px;
  480. box-sizing: border-box;
  481. width: 100%;
  482. overflow: hidden;
  483. text-overflow: ellipsis;
  484. white-space: nowrap;
  485. text-align: center;
  486. background-color: #fff;
  487. margin-top: 6px;
  488. }
  489. /* 宫格 */
  490. .content-grid {
  491. display: flex;
  492. flex-wrap: wrap;
  493. border: 1px solid #ccc;
  494. border-left: 0;
  495. border-bottom: 0;
  496. margin: 65px auto;
  497. box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  498. }
  499. .content-grid a {
  500. display: block;
  501. width: calc(100% / 6);
  502. text-align: center;
  503. border-left: 1px solid #ccc;
  504. border-bottom: 1px solid #ccc;
  505. padding: 30px 0;
  506. }
  507. .content-grid dt img {
  508. width: 60px;
  509. transition: all .2s;
  510. }
  511. .content-grid a:hover img {
  512. transform:scale(1.2);
  513. }
  514. .content-grid dd {
  515. margin-top: 20px;
  516. }
  517. /* 标签页 */
  518. .content-tabs h2{
  519. text-align: center;
  520. font-size: 24px;
  521. font-weight: bold;
  522. }
  523. .content-tabs .slideTxtBox {
  524. margin: 40px 0;
  525. }
  526. .content-tabs .hd {
  527. border-bottom: 1px solid #bbb;
  528. }
  529. .content-tabs .hd li {
  530. display: inline-block;
  531. font-weight: bold;
  532. padding: 22px 28px;
  533. }
  534. .content-tabs .hd .on {
  535. background-color: #ac3b3b;
  536. }
  537. .content-tabs .hd .on a {
  538. color: #fff;
  539. }
  540. .content-tabs .bd ul{
  541. margin: 0 30px;
  542. }
  543. .content-tabs .bd li:first-child {
  544. border-bottom: 1px solid #ccc;
  545. }
  546. .content-tabs .bd a {
  547. display: block;
  548. width: 100%;
  549. height: 100%;
  550. padding: 34px 0;
  551. }
  552. .content-tabs .bd p{
  553. display: inline-block;
  554. width: calc(100% - 300px);
  555. overflow: hidden;
  556. text-overflow:ellipsis;
  557. white-space: nowrap;
  558. }
  559. .content-tabs .bd span {
  560. float: right;
  561. color: #999;
  562. }
  563. .content-tabs .bd a:hover span {
  564. color: #ff1111;
  565. }
  566. .content-tabs .bd a:hover .desc span {
  567. color: #999;
  568. }
  569. .content-tabs .desc {
  570. line-height: 26px;
  571. display: flex;
  572. justify-content: space-between;
  573. margin-top: 14px;
  574. }
  575. .content-tabs .desc p {
  576. display: -webkit-box;
  577. -webkit-box-orient: vertical;
  578. -webkit-line-clamp: 2;
  579. overflow: hidden;
  580. white-space: normal;
  581. color: #888;
  582. }
  583. .content-right{
  584. width: 70%;
  585. }
  586. .footer {
  587. margin-top: 20px;
  588. }
  589. /* 目录页 */
  590. .catalog{
  591. padding: 0;
  592. }
  593. .catalog .content-wrap li p{
  594. width: calc(100% - 135px);
  595. }
  596. /* 列表页 */
  597. .list .content-wrap li p{
  598. width: calc(100% - 280px);
  599. }
  600. .crumbs {
  601. line-height: 40px;
  602. overflow: hidden;
  603. font-weight: normal;
  604. color: #333;
  605. margin: 45px auto 25px;
  606. padding: 0;
  607. }
  608. .crumbs a {
  609. color: #333;
  610. float: none !important;
  611. padding: 0 !important;
  612. }
  613. .crumbs a:hover {
  614. color: #AE1C03;
  615. }
  616. .crumbs span{
  617. background: none !important;
  618. padding: 0 !important;
  619. color: #333 !important;
  620. }
  621. .content-left {
  622. width: 260px;
  623. margin-right: 25px;
  624. background-color: transparent;
  625. }
  626. .content-left,
  627. .content-right {
  628. box-shadow: 0 0 12px rgba(0, 0, 0, .4);
  629. border-radius: 4px;
  630. overflow: hidden;
  631. margin-bottom: 10px;
  632. }
  633. .content-left h2,
  634. .content-right .content-wrap-title {
  635. background-color: transparent;
  636. color: #ac3b3b;
  637. font-size: 22px;
  638. border-bottom: 1px solid #ccc;
  639. padding: 30px 0 20px;
  640. height: auto;
  641. line-height: normal;
  642. }
  643. .content-right .content-wrap-title {
  644. text-align: center;
  645. border-bottom: 0;
  646. }
  647. .content-left-list li a {
  648. text-align: left;
  649. padding: 0 12px;
  650. line-height: 56px;
  651. }
  652. .list-wrap li>a {
  653. padding-left: 15px;
  654. background: url(../images/technical/icon/dot.png) no-repeat left center;
  655. line-height: 46px;
  656. }
  657. .list-wrap .list-time {
  658. color: #999;
  659. }
  660. .catalog {
  661. border: none;
  662. }
  663. .catalog-item {
  664. margin-bottom: 15px;
  665. border: 1px solid #D8E0E8;
  666. border-top: none;
  667. border-radius: 4px;
  668. padding-bottom: 10px;
  669. }
  670. .catalog-item:last-child {
  671. margin-bottom: 0;
  672. }
  673. /* 底部 */
  674. .footer-mesg {
  675. background-color: #ac3b3b;
  676. background-size: cover;
  677. }
  678. .footer-link {
  679. background-color: #C1D6E3;
  680. line-height: 36px;
  681. }
  682. .footer-link ul {
  683. display: inline-block;
  684. }
  685. .footer-link ul li {
  686. display: inline-block;
  687. margin-right: 15px;
  688. }
  689. .mobile-nav-icon span {
  690. background-color: #ac3b3b;
  691. }
  692. /* 响应式 */
  693. @media screen and (max-width: 1320px) {
  694. .wrap {
  695. width: 95%;
  696. }
  697. .header-top {
  698. padding: 0;
  699. }
  700. }
  701. @media screen and (max-width: 1200px) {
  702. .header-nav>ul>li:hover .nav-secondLevel .wrap {
  703. background-position: 70% bottom;
  704. }
  705. }
  706. @media screen and (max-width: 1024px) {
  707. .banner img {
  708. height: 400px;
  709. }
  710. }
  711. @media screen and (max-width: 980px) {
  712. .header>.wrap{
  713. width: 100%;
  714. }
  715. .header-nav {
  716. background-repeat: repeat;
  717. background-position: left top;
  718. }
  719. .header-nav ul {
  720. height: auto;
  721. }
  722. /* flex布局,item元素补全 */
  723. .header-nav ul::after {
  724. content: "";
  725. width: 50%;
  726. }
  727. .content-item {
  728. width: 100% !important;
  729. }
  730. .content-col {
  731. width: 100% !important;
  732. }
  733. }
  734. @media screen and (max-width: 768px) {
  735. .content-item {
  736. width: 100%;
  737. }
  738. .content-left {
  739. width: 100%;
  740. margin-right: 0;
  741. margin-bottom: 20px;
  742. }
  743. }
  744. @media screen and (max-width: 640px) {
  745. .header-right {
  746. font-size: 14px;
  747. }
  748. .header-img {
  749. width: 100%;
  750. }
  751. .header-img img {
  752. width: 100%;
  753. height: auto;
  754. display: block;
  755. }
  756. .mobile-nav-icon {
  757. right: 18px;
  758. }
  759. .content-wrap li p {
  760. width: calc(100% - 100px);
  761. }
  762. .search {
  763. padding: 0 20px;
  764. height: 70%;
  765. }
  766. .search-wrap {
  767. margin: 30px 0 25px;
  768. flex-wrap: wrap;
  769. height: auto;
  770. }
  771. .search-wrap-item {
  772. height: 40px;
  773. line-height: 40px;
  774. }
  775. .search-wrap select {
  776. width: 100%;
  777. margin-bottom: 15px;
  778. }
  779. .search-wrap input {
  780. width: 50%;
  781. margin: 0 15px 0 0;
  782. }
  783. .search-wrap button {
  784. padding: 0 36px;
  785. background-position: 10px center;
  786. }
  787. .content {
  788. margin-top: 101px !important;
  789. }
  790. .search-ranking {
  791. display: block;
  792. }
  793. .content-grid {
  794. margin: 50px auto;
  795. }
  796. .content-grid a {
  797. width: calc(100% / 4);
  798. }
  799. .content-grid dt img {
  800. width: 50px;
  801. }
  802. .content-tabs .hd ul {
  803. display: flex;
  804. }
  805. .content-tabs .hd li {
  806. padding: 22px 0;
  807. flex: auto;
  808. text-align: center;
  809. }
  810. .content-tabs .bd ul {
  811. margin: 0 15px;
  812. }
  813. .content-tabs .bd li:first-child a {
  814. padding: 34px 0;
  815. }
  816. .content-tabs .bd a {
  817. overflow: hidden;
  818. padding: 30px 0 0px;
  819. }
  820. .content-tabs .bd p {
  821. width: calc(100% - 0px);
  822. }
  823. .content-tabs .bd span {
  824. margin-top: 10px;
  825. }
  826. .content-tabs .desc {
  827. display: block;
  828. margin-top: 32px;
  829. }
  830. .content-tabs .desc p {
  831. width: 100%;
  832. }
  833. /* 列表页 */
  834. .list .content-wrap li{
  835. height: auto;
  836. overflow: hidden;
  837. background-position: left 10px;
  838. }
  839. .list .content-wrap li p{
  840. width: 96%;
  841. float: none;
  842. }
  843. .list-wrap .list-title {
  844. width: 100%;
  845. }
  846. .list-wrap li {
  847. padding: 5px 15px;
  848. }
  849. .list-wrap li a {
  850. background-position: left 14px;
  851. line-height: 28px;
  852. }
  853. .crumbs {
  854. padding-top: 25px;
  855. }
  856. }
  857. /* 馆藏资源搜索组件移动端 */
  858. @media screen and (max-width: 768px) {
  859. .search-container {
  860. width: 95%;
  861. }
  862. .search-trigger-area {
  863. height: auto;
  864. min-height: 50px;
  865. flex-direction: column;
  866. align-items: stretch;
  867. }
  868. .search-trigger {
  869. width: 100%;
  870. flex: 0 0 50px;
  871. height: 50px;
  872. }
  873. .search-tabs {
  874. width: 100%;
  875. height: 50px;
  876. flex: none;
  877. border-radius: 0;
  878. }
  879. .search-tabs ul {
  880. width: 100%;
  881. height: 50px;
  882. justify-content: flex-start;
  883. }
  884. .search-tabs li {
  885. flex: 1 0 auto;
  886. justify-content: center;
  887. padding: 12px 10px;
  888. }
  889. .search-panel {
  890. flex-direction: column;
  891. }
  892. .left-menu {
  893. width: 100%;
  894. flex: none;
  895. overflow-x: auto;
  896. }
  897. .left-menu ul {
  898. display: flex;
  899. min-width: max-content;
  900. }
  901. .left-menu li {
  902. flex: 1 0 auto;
  903. white-space: nowrap;
  904. }
  905. .right-search {
  906. width: 100%;
  907. padding: 16px;
  908. }
  909. .search-title {
  910. font-size: 18px;
  911. }
  912. .search-box {
  913. margin: 12px 0;
  914. }
  915. .search-btn {
  916. padding: 0 18px;
  917. }
  918. }