components.less 17 KB

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