components.less 17 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057
  1. @title-top: #3181ff;
  2. @title-bg: #e0ecff;
  3. @body-bg: #03C762;
  4. // 通用样式
  5. // 省
  6. .my-province {
  7. position: relative;
  8. span {
  9. line-height: normal;
  10. color: #f03;
  11. font-size: 14px;
  12. margin-right: 5px;
  13. }
  14. i {
  15. margin-left: 5px;
  16. font-size: 12px;
  17. color: #e6e6e6;
  18. }
  19. div {
  20. display: none;
  21. width: 286px;
  22. position: absolute;
  23. top: 30px;
  24. z-index: 100;
  25. background-color: #fff;
  26. border: 1px solid #e6e6e6;
  27. padding: 10px;
  28. .icon-play {
  29. transform: rotate(-90deg);
  30. position: absolute;
  31. top: -10px;
  32. }
  33. ul {
  34. width: 100%;
  35. padding: 0;
  36. list-style: none;
  37. display: flex;
  38. justify-content: flex-start;
  39. align-items: center;
  40. flex-wrap: wrap;
  41. margin: 0;
  42. &>li:last-child {
  43. color: #f03;
  44. }
  45. li {
  46. padding: 5px;
  47. width: 60px;
  48. margin: 3px;
  49. box-sizing: border-box;
  50. &:hover {
  51. background-color: #f6f6f6;
  52. border: 5px;
  53. }
  54. }
  55. }
  56. }
  57. }
  58. // 搜索
  59. .my-search{
  60. margin: 32px 30px 0 0;
  61. div{
  62. display: flex;
  63. align-items: center;
  64. border: 1px solid #aaa;
  65. border-radius: 5px;
  66. padding: 0 0 0 5px;
  67. overflow: hidden;
  68. max-width: 300px;
  69. select{
  70. border: 0;
  71. outline: none;
  72. border-right: 1px solid #e6e6e6 !important;
  73. height: 34px;
  74. box-sizing: border-box;
  75. border-right: 0;
  76. }
  77. input{
  78. border: 0;
  79. outline: none;
  80. padding: 5px;
  81. height: 34px;
  82. box-sizing: border-box;
  83. border-left: 0;
  84. width: 100%;
  85. }
  86. label{
  87. display: block;
  88. margin: 0;
  89. height: 34px;
  90. box-sizing: border-box;
  91. color: #0099CC !important;
  92. line-height: 34px;
  93. padding: 0 10px;
  94. color: #fff;
  95. }
  96. }
  97. }
  98. // 标签默认样式
  99. textarea {
  100. resize: none;
  101. }
  102. // 移动端下拉菜单动画
  103. @keyframes nav {
  104. from {
  105. height: 0;
  106. }
  107. to {
  108. height: calc(~"100vh - 90px");
  109. }
  110. }
  111. @-webkit-keyframes nav
  112. /* Safari and Chrome */
  113. {
  114. from {
  115. height: 0;
  116. }
  117. to {
  118. height: calc(~"100vh - 90px");
  119. }
  120. }
  121. @-moz-keyframes nav
  122. /* Safari and Chrome */
  123. {
  124. from {
  125. height: 0;
  126. }
  127. to {
  128. height: calc(~"100vh - 90px");
  129. }
  130. }
  131. @keyframes navc {
  132. from {
  133. height: calc(~"100vh - 90px");
  134. }
  135. to {
  136. height: 0;
  137. }
  138. }
  139. @-webkit-keyframes navc
  140. /* Safari and Chrome */
  141. {
  142. from {
  143. height: calc(~"100vh - 90px");
  144. }
  145. to {
  146. height: 0;
  147. }
  148. }
  149. @-moz-keyframes navc
  150. /* Safari and Chrome */
  151. {
  152. from {
  153. height: calc(~"100vh - 90px");
  154. }
  155. to {
  156. height: 0;
  157. }
  158. }
  159. // js 操作添加
  160. .show {
  161. display: block !important;
  162. }
  163. .noshow {
  164. display: none !important;
  165. }
  166. body {
  167. height: 100vh;
  168. overflow-y: scroll;
  169. // 通用a标签
  170. a {
  171. text-decoration: none;
  172. color: #777;
  173. &:hover {
  174. color: @body-bg;
  175. text-decoration: none;
  176. cursor: pointer;
  177. }
  178. }
  179. &::-webkit-scrollbar {
  180. /*滚动条整体样式*/
  181. width: 5px;
  182. /*高宽分别对应横竖滚动条的尺寸*/
  183. height: 10px;
  184. }
  185. &::-webkit-scrollbar-thumb {
  186. /*滚动条里面小方块*/
  187. border-radius: 10px;
  188. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  189. background: #999;
  190. }
  191. // 2382ff
  192. &::-webkit-scrollbar-thumb:hover {
  193. background: @body-bg;
  194. }
  195. &::-webkit-scrollbar-track {
  196. /*滚动条里面轨道*/
  197. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  198. border-radius: 10px;
  199. background: #eee;
  200. }
  201. }
  202. // 头部
  203. .header {
  204. // 通用样式
  205. .my-province {
  206. margin-left: 5px;
  207. margin-top: 20px;
  208. @media screen and (max-width:768px) {
  209. & {
  210. display: none;
  211. }
  212. }
  213. }
  214. width: 100%;
  215. background-color: #fff;
  216. border-bottom: 1px solid #f1f1f1;
  217. background-color: #fff;
  218. position: fixed;
  219. z-index: 1000;
  220. .ha-item {
  221. margin-top: 10px;
  222. height: 70px;
  223. .img {
  224. height: 100%;
  225. span {
  226. font-size: 30px;
  227. font-weight: bold;
  228. color: @body-bg;
  229. display: block;
  230. line-height: 70px;
  231. }
  232. img {
  233. height: 100%;
  234. }
  235. }
  236. .button {
  237. display: none;
  238. @media screen and (max-width:768px) {
  239. & {
  240. display: block;
  241. }
  242. }
  243. .button {
  244. color: @body-bg;
  245. padding: 10px;
  246. border: 2px solid @body-bg;
  247. margin-top: 13px;
  248. text-align: center;
  249. font-size: 20px;
  250. border-radius: 5px;
  251. }
  252. }
  253. .my-search{
  254. @media screen and (max-width:768px){
  255. display: none;
  256. }
  257. }
  258. .app {
  259. height: 100%;
  260. text-align: center;
  261. position: relative;
  262. @media screen and (max-width:768px) {
  263. & {
  264. display: none;
  265. }
  266. }
  267. a {
  268. text-decoration: none;
  269. color: @body-bg;
  270. img {
  271. width: 50px;
  272. }
  273. }
  274. div {
  275. position: absolute;
  276. right: 0px;
  277. }
  278. }
  279. }
  280. .hb-item {
  281. // 大屏下拉菜单
  282. box-sizing: border-box;
  283. .nav {
  284. // transform: translateY(-30px);
  285. box-sizing: border-box;
  286. width: 100%;
  287. display: flex;
  288. justify-content: flex-start;
  289. align-content: center;
  290. @media screen and (max-width:768px) {
  291. & {
  292. display: none;
  293. }
  294. }
  295. &>.nav-item>a.active {
  296. color: @body-bg;
  297. }
  298. .nav-item {
  299. padding: 0 20px;
  300. a {
  301. color: #777;
  302. font-weight: bold;
  303. text-decoration: none;
  304. line-height: 40px;
  305. display: table-cell;
  306. vertical-align: bottom;
  307. font-size: 18px;
  308. i {
  309. margin-left: 5px;
  310. font-size: 12px;
  311. color: #e6e6e6;
  312. }
  313. &:hover {
  314. color: @body-bg;
  315. }
  316. }
  317. .nav-ul {
  318. display: none;
  319. overflow: hidden;
  320. padding: 0;
  321. position: absolute;
  322. z-index: 1;
  323. background-color: #fff;
  324. overflow: auto !important;
  325. .nav-li {
  326. width: 100px;
  327. padding: 10px;
  328. list-style: none;
  329. &:hover {
  330. background-color: @body-bg;
  331. a {
  332. color: #fff;
  333. }
  334. }
  335. a {
  336. color: #777;
  337. line-height: 15px;
  338. font-size: small;
  339. }
  340. }
  341. }
  342. }
  343. }
  344. }
  345. }
  346. // 小屏幕下拉菜单
  347. // 移动端下拉菜单
  348. #nav-sm {
  349. position: fixed;
  350. z-index: 99;
  351. width: 100vw;
  352. overflow-y: scroll;
  353. box-sizing: border-box;
  354. background-color: #fff;
  355. margin-top: 80px;
  356. padding: 0 0 0 22px;
  357. // 通用样式
  358. .my-province {
  359. padding: 20px 0;
  360. div {
  361. top: 50px;
  362. }
  363. }
  364. .search{
  365. padding: 20px 0;
  366. border-bottom: 1px solid #e6e6e6;
  367. .my-search{
  368. margin: 0;
  369. }
  370. }
  371. @media screen and (max-width:768px) {
  372. & {
  373. border-top: 1px solid #eee;
  374. }
  375. }
  376. &::-webkit-scrollbar {
  377. height: 0;
  378. }
  379. &>ul>li>a.active {
  380. color: @body-bg;
  381. }
  382. ul {
  383. padding-inline-start: 0;
  384. li {
  385. list-style-type: none;
  386. a {
  387. font-weight: bold;
  388. font-size: 20px;
  389. font-size: 16px;
  390. line-height: 40px;
  391. color: #555;
  392. text-decoration: none;
  393. &:hover {
  394. color: @body-bg;
  395. }
  396. }
  397. .nav-sm-ul {
  398. display: flex;
  399. justify-content: flex-start;
  400. align-items: center;
  401. flex-wrap: wrap;
  402. padding: 0;
  403. .nav-sm-li {
  404. padding: 0 10px;
  405. a {
  406. font-size: 14px;
  407. font-weight: normal;
  408. }
  409. }
  410. }
  411. }
  412. }
  413. }
  414. .nav-sm-noheight {
  415. height: 0px;
  416. }
  417. .nav-sm-show {
  418. height: calc(~"100vh - 80px");
  419. animation: nav 0.5s;
  420. -webkit-animation: nav 0.5s normal;
  421. -moz-animation: nav 0.5s;
  422. }
  423. .nav-sm-noshow {
  424. height: 0px;
  425. animation: navc 0.5s;
  426. -webkit-animation: navc 0.5s normal;
  427. -moz-animation: navc 0.5s;
  428. }
  429. // 主题默认样式
  430. .body {
  431. background-color: #fff;
  432. max-width: 1200px;
  433. min-height: 700px;
  434. overflow: hidden;
  435. position: relative;
  436. padding: 10px 15px 15px;
  437. margin: 141px 20px 20px;
  438. // 自定义样式类
  439. // 加载
  440. .my-loading {
  441. text-align: center;
  442. color: #999;
  443. display: none;
  444. }
  445. // 点击阅读
  446. .my-read {
  447. margin-top: 20px;
  448. text-align: center;
  449. .good {
  450. border-radius: 5px;
  451. border: 1px solid #e6e6e6;
  452. display: inline-block;
  453. padding: 5px 30px;
  454. margin-bottom: 10px;
  455. }
  456. }
  457. .my-search{
  458. margin: 10px 0;
  459. }
  460. // 相关文章
  461. .my-articles {
  462. ul {
  463. width: 100%;
  464. border-top: 1px solid #e6e6e6;
  465. padding: 0;
  466. list-style: none;
  467. overflow: hidden;
  468. // margin: ;
  469. li {
  470. &::before {
  471. content: "";
  472. display: inline-block;
  473. width: 6px;
  474. height: 6px;
  475. background-color: #000;
  476. transform: translateY(-2px);
  477. margin-right: 5px;
  478. border-radius: 50%;
  479. }
  480. color: #777;
  481. overflow: hidden;
  482. text-overflow: ellipsis;
  483. white-space: nowrap;
  484. width: 100%;
  485. padding: 5px 0px;
  486. }
  487. }
  488. }
  489. // 评论区
  490. .my-comment {
  491. .h5 {
  492. display: flex;
  493. justify-content: space-between;
  494. align-content: center;
  495. }
  496. .remind {
  497. text-align: center;
  498. background-color: #e6e6e6;
  499. padding: 5px;
  500. border-radius: 5px;
  501. margin: 10px 0px;
  502. }
  503. .comment {
  504. border-top: 1px solid #e6e6e6;
  505. padding-top: 10px;
  506. .nocomment,
  507. .loading,
  508. .nodata {
  509. display: none;
  510. text-align: center;
  511. margin: 10px;
  512. }
  513. .nocomment {
  514. display: block;
  515. padding-bottom: 10px;
  516. &:hover {
  517. color: @body-bg;
  518. }
  519. }
  520. .user {
  521. width: 100%;
  522. padding: 20px 0;
  523. border-bottom: 1px solid #e6e6e6;
  524. display: grid;
  525. grid-template-columns: 10% 90%;
  526. .u-img {
  527. width: 100%;
  528. text-align: center;
  529. .img {
  530. width: 100%;
  531. max-width: 64px;
  532. }
  533. }
  534. .u-content {
  535. margin-left: 10px;
  536. text-align: justify;
  537. .u-name {
  538. font-size: 16px;
  539. }
  540. .u-detail {
  541. padding: 5px 0px;
  542. }
  543. .u-flex {
  544. display: flex;
  545. justify-content: space-between;
  546. align-items: center;
  547. }
  548. }
  549. }
  550. }
  551. }
  552. // 横向菜单
  553. .my-nav {
  554. border-bottom: 1px solid #e6e6e6;
  555. &::after {
  556. display: block;
  557. content: '';
  558. clear: both;
  559. }
  560. ul {
  561. list-style: none;
  562. padding: 0;
  563. li {
  564. float: left;
  565. padding: 5px;
  566. margin: 0px 5px;
  567. color: #777;
  568. }
  569. .active {
  570. color: black;
  571. border-bottom: 3px solid @body-bg;
  572. font-weight: bold;
  573. }
  574. }
  575. }
  576. // 上拉刷新 列表
  577. .my-list {
  578. .list-item {
  579. text-decoration: none;
  580. color: black;
  581. display: flex;
  582. justify-content: flex-start;
  583. align-items: start;
  584. padding-bottom: 10px;
  585. margin-bottom: 10px;
  586. border-bottom: 1px solid #e6e6e6;
  587. &:hover {
  588. color: @body-bg;
  589. }
  590. .item-img {
  591. flex: 1;
  592. padding: 0 20px;
  593. @media screen and (max-width: 768px) {
  594. & {
  595. padding: 0 10px;
  596. }
  597. }
  598. img {
  599. width: 100%;
  600. border-radius: 5px;
  601. &:hover {
  602. transform: scale(1.1);
  603. }
  604. }
  605. }
  606. .item-detail {
  607. flex: 4;
  608. height: 100%;
  609. position: relative;
  610. overflow: hidden;
  611. @media screen and (max-width: 768px) {
  612. & {
  613. flex: 2;
  614. }
  615. }
  616. .title {
  617. font-weight: 400;
  618. overflow: hidden;
  619. text-overflow: ellipsis;
  620. display: -webkit-box;
  621. -webkit-box-orient: vertical;
  622. -webkit-line-clamp: 2;
  623. font-size: 16px;
  624. }
  625. .time {
  626. font-size: 12px;
  627. color: #777;
  628. margin-top: 5px;
  629. span {
  630. margin-left: 5px;
  631. }
  632. }
  633. }
  634. }
  635. }
  636. @media screen and (max-width:768px) {
  637. & {
  638. padding: 0px;
  639. border-radius: 10px 10px 0 0;
  640. margin: 100px 20px 20px;
  641. }
  642. }
  643. }
  644. .footer {
  645. width: 100%;
  646. box-sizing: border-box;
  647. overflow: hidden;
  648. background-color: #fff;
  649. border-top: 1px solid #f1f1f1;
  650. text-align: center;
  651. color: #777;
  652. p {
  653. margin: 0;
  654. padding: 20px 0px 0px;
  655. }
  656. &>p:last-child {
  657. padding-bottom: 50px;
  658. }
  659. }
  660. // 顶部
  661. #top {
  662. position: fixed;
  663. bottom: 80px;
  664. right: 20px;
  665. padding: 20px;
  666. z-index: 1000;
  667. color: #fff;
  668. background-color: rgba(98, 96, 96, 0.3);
  669. border-radius: 10px;
  670. }
  671. // 分享功能
  672. #share {
  673. position: fixed;
  674. top: 60vh;
  675. right: 0px;
  676. box-sizing: border-box;
  677. display: flex;
  678. @media screen and (max-width:768px) {
  679. & {
  680. display: none;
  681. }
  682. }
  683. &>div:first-child {
  684. height: 132px;
  685. box-sizing: border-box;
  686. background-color: @body-bg;
  687. color: #fff;
  688. font-size: 15px;
  689. width: 30px;
  690. letter-spacing: 10px;
  691. text-align: center;
  692. line-height: 30px;
  693. border-radius: 5px 0 0 5px;
  694. writing-mode: vertical-lr;
  695. /*从左向右 从右向左是 writing-mode: vertical-rl;*/
  696. writing-mode: tb-lr;
  697. /*IE浏览器的从左向右 从右向左是 writing-mode: tb-rl;*/
  698. }
  699. ul {
  700. width: 0px;
  701. height: 132px;
  702. border: 1px solid #aaa;
  703. box-sizing: border-box;
  704. border-right: none;
  705. list-style: none;
  706. padding: 0;
  707. box-sizing: border-box;
  708. background-color: #fff;
  709. &>li:first-child {
  710. background-color: #c6c6c6;
  711. line-height: 26px;
  712. font-weight: bold;
  713. }
  714. li {
  715. padding: 5px 10px;
  716. width: 100px;
  717. vertical-align: middle;
  718. img {
  719. width: 20px;
  720. vertical-align: middle;
  721. margin-right: 5px;
  722. }
  723. &:hover:not(ul>li:first-child) {
  724. background-color: #e6e6e6;
  725. }
  726. }
  727. }
  728. #qrcode {
  729. &::before {
  730. display: block;
  731. content: "微信扫一扫:分享";
  732. line-height: 30px;
  733. font-size: 12px;
  734. text-align: center;
  735. background-color: #e6e6e6;
  736. }
  737. img {
  738. margin: auto;
  739. padding: 20px 0;
  740. }
  741. width: 180px;
  742. box-sizing: border-box;
  743. box-shadow: 0px 0px 5px #999;
  744. display: none;
  745. position: absolute;
  746. background-color: #fff;
  747. top: -210px;
  748. border-radius: 5px;
  749. right: 140px;
  750. .wei {
  751. text-align: center;
  752. }
  753. }
  754. }
  755. // 交互板
  756. #toast {
  757. display: none;
  758. position: fixed;
  759. top: 0;
  760. left: 0;
  761. z-index: 100;
  762. width: 100vw;
  763. height: 100vh;
  764. background-color: rgba(29, 27, 27, 0.5);
  765. text-align: center;
  766. &>div {
  767. background-color: #fff;
  768. position: absolute;
  769. padding: 5px;
  770. border-radius: 5px;
  771. width: 200px;
  772. // box-shadow: 0px 0px 5px #fff;
  773. left: calc(~"50vw - 100px");
  774. top: 30vh;
  775. }
  776. }
  777. // 下载app
  778. #download {
  779. position: fixed;
  780. bottom: 0px;
  781. width: 100vw;
  782. display: none;
  783. justify-content: space-between;
  784. align-items: center;
  785. background-color: rgba(1, 1, 1, 0.5);
  786. padding: 5px 10px;
  787. color: #fff;
  788. z-index: 1000;
  789. .left {
  790. width: 200px;
  791. &::before {
  792. display: block;
  793. content: '';
  794. clear: both;
  795. }
  796. img,
  797. div {
  798. float: left;
  799. }
  800. img {
  801. width: 50px;
  802. }
  803. div {
  804. margin-left: 10px;
  805. }
  806. .row1 {
  807. margin-bottom: 10px;
  808. }
  809. }
  810. @media screen and (max-width:768px) {
  811. display: flex;
  812. }
  813. }
  814. // 通用图片轮播观看
  815. #imglist {
  816. &::-webkit-scrollbar {
  817. /*滚动条整体样式*/
  818. width: 5px;
  819. /*高宽分别对应横竖滚动条的尺寸*/
  820. height: 5px;
  821. }
  822. &::-webkit-scrollbar-thumb {
  823. /*滚动条里面小方块*/
  824. border-radius: 10px;
  825. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  826. background: #999;
  827. }
  828. // 2382ff
  829. &::-webkit-scrollbar-thumb:hover {
  830. background: @body-bg;
  831. }
  832. &::-webkit-scrollbar-track {
  833. /*滚动条里面轨道*/
  834. -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  835. border-radius: 10px;
  836. background: #eee;
  837. }
  838. display: none;
  839. overflow: scroll;
  840. position: fixed;
  841. width: 100vw;
  842. box-sizing: border-box;
  843. height: 100vh;
  844. top: 0;
  845. z-index: 1000;
  846. background-color: #fff;
  847. p{
  848. position: fixed;
  849. bottom: 5px;
  850. width: 100%;
  851. text-align: center;
  852. }
  853. span{
  854. display: block;
  855. position: fixed;
  856. right: 20px;
  857. top: 10px;
  858. width: 35px;
  859. height:115px;
  860. background-color: #000;
  861. padding: 5px;
  862. border-radius: 5px;
  863. img{
  864. width: 25px;
  865. position:relative !important;
  866. margin: 5px 0;
  867. }
  868. }
  869. div {
  870. line-height: 100%;
  871. position: relative;
  872. width: 100%;
  873. height: 100%;
  874. // background-color: rgba(0, 0, 0, 0.6);
  875. img {
  876. position: absolute;
  877. }
  878. .glyphicon {
  879. &:hover {
  880. background-color: rgba(247, 237, 237, 0.5);
  881. }
  882. position:fixed;
  883. color: #000;
  884. width: 20%;
  885. max-width: 50px;
  886. height: 100px;
  887. border-radius: 5px;
  888. text-align: center;
  889. line-height: 100px;
  890. margin-top: calc(~"50vh - 50px");
  891. }
  892. .left {
  893. left: 50px;
  894. @media screen and (max-width:768px) {
  895. left: 10px;
  896. }
  897. }
  898. .right {
  899. right:50px;
  900. @media screen and (max-width:768px) {
  901. right: 10px;
  902. }
  903. }
  904. }
  905. }