components.css 15 KB

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