portal.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714
  1. :root {
  2. --ff-red: #8f000b;
  3. --ff-red-dark: #680005;
  4. --ff-red-soft: #b30d18;
  5. --ff-gold: #c5a66d;
  6. --ff-green: #17493d;
  7. --ff-blue: #285a70;
  8. --ff-paper: #f8f5ee;
  9. --ff-soft: #f1eadf;
  10. --ff-line: #ded3bd;
  11. --ff-ink: #282421;
  12. --ff-muted: #6d655d;
  13. --ff-white: #fff;
  14. --ff-wrap: 1180px;
  15. }
  16. * {
  17. box-sizing: border-box;
  18. }
  19. html {
  20. min-width: 320px;
  21. background: var(--ff-red-dark);
  22. }
  23. body.ff-site {
  24. margin: 0;
  25. color: var(--ff-ink);
  26. background: var(--ff-paper);
  27. font-family: Simsun, "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  28. line-height: 1.55;
  29. }
  30. .ff-wrap {
  31. width: min(var(--ff-wrap), calc(100% - 40px));
  32. margin: 0 auto;
  33. }
  34. .ff-site a {
  35. color: inherit;
  36. text-decoration: none;
  37. }
  38. .ff-site a:hover {
  39. color: var(--ff-red-soft);
  40. text-decoration: underline;
  41. }
  42. .ff-site img {
  43. display: block;
  44. max-width: 100%;
  45. }
  46. .ff-topline {
  47. background: var(--ff-red-dark);
  48. color: #eadfce;
  49. font-size: 13px;
  50. }
  51. .ff-topline .ff-wrap {
  52. display: flex;
  53. align-items: center;
  54. justify-content: space-between;
  55. min-height: 38px;
  56. gap: 18px;
  57. }
  58. .ff-topline nav,
  59. .ff-utility-links {
  60. display: flex;
  61. flex-wrap: wrap;
  62. gap: 14px;
  63. }
  64. .ff-brandbar {
  65. background: var(--ff-red);
  66. color: var(--ff-white);
  67. }
  68. .ff-brandbar .ff-wrap {
  69. display: flex;
  70. align-items: center;
  71. justify-content: space-between;
  72. min-height: 110px;
  73. gap: 28px;
  74. }
  75. .ff-brand {
  76. display: flex;
  77. align-items: center;
  78. gap: 20px;
  79. }
  80. .ff-brand img {
  81. width: 360px;
  82. height: auto;
  83. }
  84. .ff-brand-title {
  85. display: flex;
  86. flex-direction: column;
  87. gap: 4px;
  88. padding-left: 18px;
  89. border-left: 1px solid rgba(255, 255, 255, 0.28);
  90. }
  91. .ff-brand-title strong {
  92. font-size: 27px;
  93. font-weight: 700;
  94. line-height: 1.2;
  95. }
  96. .ff-brand-title span {
  97. color: #ecd9b6;
  98. font-size: 13px;
  99. letter-spacing: 0;
  100. }
  101. .ff-search {
  102. display: flex;
  103. width: 280px;
  104. height: 34px;
  105. background: rgba(255, 255, 255, 0.12);
  106. }
  107. .ff-search input {
  108. flex: 1;
  109. min-width: 0;
  110. padding: 0 12px;
  111. border: 0;
  112. outline: 0;
  113. color: var(--ff-white);
  114. background: transparent;
  115. }
  116. .ff-search input::placeholder {
  117. color: #e5d8c6;
  118. }
  119. .ff-search button {
  120. width: 44px;
  121. border: 0;
  122. color: var(--ff-white);
  123. background: rgba(0, 0, 0, 0.12);
  124. cursor: pointer;
  125. }
  126. .ff-mainnav {
  127. position: sticky;
  128. top: 0;
  129. z-index: 20;
  130. background: #fff;
  131. border-bottom: 1px solid var(--ff-line);
  132. box-shadow: 0 8px 24px rgba(81, 34, 24, 0.08);
  133. }
  134. .ff-mainnav .ff-wrap {
  135. display: flex;
  136. align-items: stretch;
  137. }
  138. .ff-nav-item {
  139. position: relative;
  140. flex: 1;
  141. min-width: 0;
  142. }
  143. .ff-nav-link {
  144. display: flex;
  145. align-items: center;
  146. justify-content: center;
  147. min-height: 56px;
  148. padding: 0 10px;
  149. color: var(--ff-ink);
  150. font-weight: 700;
  151. white-space: nowrap;
  152. }
  153. .ff-nav-link:hover {
  154. color: var(--ff-white);
  155. background: var(--ff-red);
  156. text-decoration: none;
  157. }
  158. .ff-dropdown {
  159. position: absolute;
  160. top: 100%;
  161. left: 0;
  162. min-width: 220px;
  163. padding: 10px;
  164. background: #fff;
  165. border: 1px solid var(--ff-line);
  166. box-shadow: 0 18px 34px rgba(60, 35, 20, 0.16);
  167. opacity: 0;
  168. visibility: hidden;
  169. transform: translateY(8px);
  170. transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  171. }
  172. .ff-nav-item:hover .ff-dropdown {
  173. opacity: 1;
  174. visibility: visible;
  175. transform: translateY(0);
  176. }
  177. .ff-dropdown a {
  178. display: block;
  179. padding: 9px 10px;
  180. color: var(--ff-ink);
  181. font-size: 14px;
  182. }
  183. .ff-section {
  184. padding: 58px 0;
  185. }
  186. .ff-section-title {
  187. display: flex;
  188. align-items: end;
  189. justify-content: space-between;
  190. gap: 16px;
  191. margin-bottom: 22px;
  192. border-bottom: 2px solid var(--ff-red);
  193. }
  194. .ff-section-title h2 {
  195. margin: 0;
  196. padding: 0 0 10px;
  197. font-size: 26px;
  198. line-height: 1.2;
  199. }
  200. .ff-section-title a {
  201. margin-bottom: 12px;
  202. color: var(--ff-muted);
  203. font-size: 14px;
  204. }
  205. .ff-hero {
  206. position: relative;
  207. min-height: 520px;
  208. color: var(--ff-white);
  209. background: #3f0909;
  210. overflow: hidden;
  211. }
  212. .ff-hero::before {
  213. content: "";
  214. position: absolute;
  215. inset: 0;
  216. background: linear-gradient(90deg, rgba(70, 0, 0, .76), rgba(70, 0, 0, .2));
  217. z-index: 1;
  218. }
  219. .ff-hero-bg {
  220. position: absolute;
  221. inset: 0;
  222. width: 100%;
  223. height: 100%;
  224. object-fit: cover;
  225. }
  226. .ff-hero-content {
  227. position: relative;
  228. z-index: 2;
  229. display: flex;
  230. align-items: center;
  231. min-height: 520px;
  232. }
  233. .ff-hero-panel {
  234. max-width: 660px;
  235. padding: 60px 0;
  236. }
  237. .ff-kicker {
  238. display: inline-flex;
  239. padding: 6px 12px;
  240. color: #f4e7c8;
  241. background: rgba(255, 255, 255, .12);
  242. border-left: 3px solid var(--ff-gold);
  243. font-size: 14px;
  244. }
  245. .ff-hero h1 {
  246. margin: 18px 0 16px;
  247. font-size: 42px;
  248. line-height: 1.18;
  249. letter-spacing: 0;
  250. }
  251. .ff-hero p {
  252. max-width: 560px;
  253. margin: 0 0 24px;
  254. color: #f5eadc;
  255. font-size: 17px;
  256. }
  257. .ff-button {
  258. display: inline-flex;
  259. align-items: center;
  260. justify-content: center;
  261. min-height: 40px;
  262. padding: 0 18px;
  263. color: var(--ff-white);
  264. background: var(--ff-red);
  265. border: 1px solid rgba(255, 255, 255, .18);
  266. }
  267. .ff-button:hover {
  268. color: var(--ff-white);
  269. background: var(--ff-red-soft);
  270. text-decoration: none;
  271. }
  272. .ff-grid-2 {
  273. display: grid;
  274. grid-template-columns: minmax(0, 1.4fr) minmax(320px, .8fr);
  275. gap: 34px;
  276. }
  277. .ff-card {
  278. background: #fff;
  279. border: 1px solid var(--ff-line);
  280. box-shadow: 0 12px 28px rgba(96, 55, 30, .08);
  281. }
  282. .ff-feature-news {
  283. display: grid;
  284. grid-template-columns: minmax(260px, .88fr) minmax(0, 1fr);
  285. gap: 24px;
  286. padding: 18px;
  287. }
  288. .ff-feature-news img {
  289. width: 100%;
  290. aspect-ratio: 4 / 3;
  291. object-fit: cover;
  292. }
  293. .ff-feature-news h3 {
  294. margin: 6px 0 12px;
  295. font-size: 24px;
  296. line-height: 1.28;
  297. }
  298. .ff-feature-news p,
  299. .ff-list-item p {
  300. color: var(--ff-muted);
  301. }
  302. .ff-news-list,
  303. .ff-clean-list {
  304. margin: 0;
  305. padding: 0;
  306. list-style: none;
  307. }
  308. .ff-list-item a {
  309. display: grid;
  310. grid-template-columns: 92px minmax(0, 1fr);
  311. gap: 18px;
  312. padding: 16px 0;
  313. border-bottom: 1px solid var(--ff-line);
  314. }
  315. .ff-list-item:last-child a {
  316. border-bottom: 0;
  317. }
  318. .ff-date {
  319. display: flex;
  320. flex-direction: column;
  321. align-items: center;
  322. justify-content: center;
  323. min-height: 70px;
  324. color: var(--ff-white);
  325. background: var(--ff-red);
  326. }
  327. .ff-date strong {
  328. font-size: 26px;
  329. line-height: 1;
  330. }
  331. .ff-date span {
  332. margin-top: 5px;
  333. font-size: 12px;
  334. }
  335. .ff-list-item h3,
  336. .ff-list-item strong {
  337. margin: 0 0 6px;
  338. font-size: 18px;
  339. line-height: 1.35;
  340. }
  341. .ff-list-item p {
  342. margin: 0;
  343. font-size: 14px;
  344. }
  345. .ff-notice {
  346. padding: 22px;
  347. background: #fff;
  348. border-top: 5px solid var(--ff-gold);
  349. }
  350. .ff-topic-grid,
  351. .ff-service-grid,
  352. .ff-catalog-grid {
  353. display: grid;
  354. grid-template-columns: repeat(4, minmax(0, 1fr));
  355. gap: 18px;
  356. }
  357. .ff-topic-card {
  358. position: relative;
  359. min-height: 190px;
  360. padding: 20px;
  361. color: var(--ff-white);
  362. background: var(--ff-green);
  363. overflow: hidden;
  364. }
  365. .ff-topic-card img {
  366. position: absolute;
  367. inset: 0;
  368. width: 100%;
  369. height: 100%;
  370. object-fit: cover;
  371. opacity: .46;
  372. }
  373. .ff-topic-card div {
  374. position: relative;
  375. z-index: 1;
  376. }
  377. .ff-topic-card h3 {
  378. margin: 0 0 10px;
  379. font-size: 21px;
  380. line-height: 1.3;
  381. }
  382. .ff-service-card,
  383. .ff-catalog-card {
  384. display: block;
  385. min-height: 118px;
  386. padding: 22px;
  387. background: #fff;
  388. border: 1px solid var(--ff-line);
  389. }
  390. .ff-service-card strong,
  391. .ff-catalog-card strong {
  392. display: block;
  393. margin-bottom: 10px;
  394. font-size: 19px;
  395. }
  396. .ff-service-card span,
  397. .ff-catalog-card span {
  398. color: var(--ff-muted);
  399. font-size: 14px;
  400. }
  401. .ff-page-hero {
  402. padding: 54px 0;
  403. color: var(--ff-white);
  404. background: linear-gradient(100deg, var(--ff-red-dark), var(--ff-red) 58%, var(--ff-green));
  405. }
  406. .ff-page-hero h1 {
  407. margin: 12px 0 8px;
  408. font-size: 34px;
  409. line-height: 1.2;
  410. }
  411. .ff-crumbs {
  412. display: flex;
  413. flex-wrap: wrap;
  414. gap: 8px;
  415. color: #f3e6d3;
  416. font-size: 14px;
  417. }
  418. .ff-page-layout {
  419. display: grid;
  420. grid-template-columns: 260px minmax(0, 1fr);
  421. gap: 32px;
  422. padding: 42px 0 70px;
  423. }
  424. .ff-side {
  425. background: #fff;
  426. border: 1px solid var(--ff-line);
  427. }
  428. .ff-side h2 {
  429. margin: 0;
  430. padding: 18px 20px;
  431. color: var(--ff-white);
  432. background: var(--ff-red);
  433. font-size: 20px;
  434. }
  435. .ff-side a {
  436. display: block;
  437. padding: 14px 20px;
  438. border-bottom: 1px solid var(--ff-line);
  439. }
  440. .ff-content-panel {
  441. min-width: 0;
  442. padding: 26px 32px;
  443. background: #fff;
  444. border: 1px solid var(--ff-line);
  445. }
  446. .ff-article-list .ff-list-item a {
  447. grid-template-columns: 110px minmax(0, 1fr);
  448. }
  449. .ff-pagination {
  450. display: flex;
  451. align-items: center;
  452. justify-content: center;
  453. gap: 12px;
  454. margin-top: 28px;
  455. }
  456. .ff-pagination a,
  457. .ff-pagination span {
  458. padding: 8px 13px;
  459. border: 1px solid var(--ff-line);
  460. background: #fff;
  461. }
  462. .ff-article h1 {
  463. margin: 0 0 14px;
  464. font-size: 31px;
  465. line-height: 1.3;
  466. text-align: center;
  467. }
  468. .ff-article-meta {
  469. display: flex;
  470. flex-wrap: wrap;
  471. justify-content: center;
  472. gap: 16px;
  473. margin-bottom: 28px;
  474. padding-bottom: 18px;
  475. color: var(--ff-muted);
  476. border-bottom: 1px solid var(--ff-line);
  477. font-size: 14px;
  478. }
  479. .ff-article-body {
  480. font-size: 17px;
  481. line-height: 1.9;
  482. }
  483. .ff-article-body img {
  484. height: auto;
  485. margin: 18px auto;
  486. }
  487. .ff-empty {
  488. padding: 28px;
  489. color: var(--ff-muted);
  490. text-align: center;
  491. background: rgba(255, 255, 255, .72);
  492. border: 1px dashed var(--ff-line);
  493. }
  494. .ff-college .ff-brandbar {
  495. background: var(--ff-green);
  496. }
  497. .ff-college .ff-mainnav .ff-nav-link:hover,
  498. .ff-college .ff-button,
  499. .ff-college .ff-date,
  500. .ff-college .ff-side h2 {
  501. background: var(--ff-green);
  502. }
  503. .ff-college .ff-section-title {
  504. border-bottom-color: var(--ff-green);
  505. }
  506. .ff-college-hero {
  507. background: #0f3029;
  508. }
  509. .ff-footer {
  510. padding: 34px 0;
  511. color: #eadfce;
  512. background: var(--ff-red-dark);
  513. }
  514. .ff-footer .ff-wrap {
  515. display: flex;
  516. justify-content: space-between;
  517. gap: 24px;
  518. }
  519. .ff-footer nav {
  520. display: flex;
  521. flex-wrap: wrap;
  522. gap: 14px;
  523. }
  524. @media (max-width: 960px) {
  525. .ff-brandbar .ff-wrap,
  526. .ff-topline .ff-wrap,
  527. .ff-footer .ff-wrap {
  528. align-items: flex-start;
  529. flex-direction: column;
  530. }
  531. .ff-brand img {
  532. width: 260px;
  533. }
  534. .ff-brand-title strong {
  535. font-size: 22px;
  536. }
  537. .ff-search {
  538. width: 100%;
  539. }
  540. .ff-mainnav {
  541. position: static;
  542. overflow-x: auto;
  543. }
  544. .ff-mainnav .ff-wrap {
  545. width: max-content;
  546. min-width: 100%;
  547. }
  548. .ff-nav-item {
  549. flex: 0 0 auto;
  550. }
  551. .ff-dropdown {
  552. display: none;
  553. }
  554. .ff-hero,
  555. .ff-hero-content {
  556. min-height: 430px;
  557. }
  558. .ff-hero h1 {
  559. font-size: 31px;
  560. }
  561. .ff-grid-2,
  562. .ff-feature-news,
  563. .ff-page-layout {
  564. grid-template-columns: 1fr;
  565. }
  566. .ff-topic-grid,
  567. .ff-service-grid,
  568. .ff-catalog-grid {
  569. grid-template-columns: repeat(2, minmax(0, 1fr));
  570. }
  571. }
  572. @media (max-width: 620px) {
  573. .ff-wrap {
  574. width: calc(100% - 24px);
  575. }
  576. .ff-section {
  577. padding: 38px 0;
  578. }
  579. .ff-hero,
  580. .ff-hero-content {
  581. min-height: 380px;
  582. }
  583. .ff-hero h1 {
  584. font-size: 26px;
  585. }
  586. .ff-section-title h2 {
  587. font-size: 22px;
  588. }
  589. .ff-topic-grid,
  590. .ff-service-grid,
  591. .ff-catalog-grid {
  592. grid-template-columns: 1fr;
  593. }
  594. .ff-list-item a,
  595. .ff-article-list .ff-list-item a {
  596. grid-template-columns: 76px minmax(0, 1fr);
  597. }
  598. .ff-content-panel {
  599. padding: 22px 18px;
  600. }
  601. .ff-article h1 {
  602. font-size: 24px;
  603. }
  604. }