style.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068
  1. body {
  2. background-color: #121212;
  3. color: #f8f8f2;
  4. margin: 0;
  5. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  6. font-size: 14px;
  7. line-height: 1.3;
  8. }
  9. #posts {
  10. background-color: #161616;
  11. }
  12. #user {
  13. background-color: #242424;
  14. width: 100%;
  15. padding: 5pt;
  16. }
  17. #user > h1 {
  18. color: #ffffff;
  19. }
  20. h1 {
  21. margin: 0;
  22. display: inline;
  23. }
  24. h2 {
  25. margin: 0;
  26. font-weight: normal;
  27. }
  28. h3 {
  29. margin-bottom: 0;
  30. font-weight: normal;
  31. }
  32. h4 {
  33. margin: 0;
  34. }
  35. a {
  36. color: #ff6c60;
  37. text-decoration: none;
  38. }
  39. a:hover {
  40. text-decoration: underline;
  41. }
  42. .status-el {
  43. overflow-wrap: break-word;
  44. border-left-width: 0;
  45. min-width: 0;
  46. padding: .75em;
  47. display: flex;
  48. }
  49. .status-body {
  50. flex: 1;
  51. min-width: 0;
  52. margin-left: 58px;
  53. }
  54. .tweet-header {
  55. padding: 0;
  56. vertical-align: bottom;
  57. flex-basis: 100%;
  58. margin-bottom: .2em;
  59. }
  60. .tweet-header a {
  61. display: inline-block;
  62. word-break: break-all;
  63. max-width: 100%;
  64. }
  65. .tweet-name-row {
  66. padding: 0;
  67. display: flex;
  68. justify-content: space-between;
  69. }
  70. .fullname-and-username {
  71. display: flex;
  72. min-width: 0;
  73. }
  74. .fullname {
  75. overflow: hidden;
  76. text-overflow: ellipsis;
  77. flex-shrink: 2;
  78. max-width: 80%;
  79. white-space: nowrap;
  80. font-size: 14px;
  81. font-weight: 700;
  82. color: #f8f8f2;
  83. }
  84. .username {
  85. min-width: 1.6em;
  86. margin-left: .4em;
  87. white-space: nowrap;
  88. word-wrap: normal;
  89. overflow: hidden;
  90. text-overflow: ellipsis;
  91. }
  92. .icon {
  93. color: #fff;
  94. border-radius: 50%;
  95. display: inline-block;
  96. text-align: center;
  97. vertical-align: middle;
  98. flex-shrink: 0;
  99. margin: 2px 0 3px 3px;
  100. }
  101. .verified-icon {
  102. background-color: #1da1f2;
  103. height: 14px;
  104. width: 14px;
  105. font-size: 10px;
  106. }
  107. .protected-icon {
  108. background-color: #353535;
  109. height: 18px;
  110. width: 18px;
  111. font-size: 12px;
  112. font-weight: bold;
  113. }
  114. .tweet-date {
  115. display: flex;
  116. flex-shrink: 0;
  117. margin-left: 4px;
  118. }
  119. .replying-to {
  120. color: hsla(240,1%,73%,.9);
  121. margin: -2px 0 4px 0;
  122. }
  123. .status-el .status-content {
  124. font-family: sans-serif;
  125. line-height: 1.4em;
  126. }
  127. .status-content.media-body {
  128. flex: 1;
  129. padding: 0;
  130. white-space: pre-wrap;
  131. }
  132. .container, .item {
  133. display: flex;
  134. }
  135. .container {
  136. flex-wrap: wrap;
  137. margin: 0;
  138. }
  139. #content {
  140. box-sizing: border-box;
  141. padding-top: 50px;
  142. margin: auto;
  143. min-height: 100vh;
  144. background-color: rgba(0,0,0,.15);
  145. }
  146. nav {
  147. z-index: 1000;
  148. background-color: #1f1f1f;
  149. color: hsla(240,1%,73%,.5);
  150. box-shadow: 0 0 4px rgba(0,0,0,.6);
  151. }
  152. .nav-bar {
  153. padding: 0;
  154. width: 100%;
  155. align-items: center;
  156. position: fixed;
  157. height: 50px;
  158. }
  159. .nav-bar .inner-nav {
  160. margin: auto;
  161. box-sizing: border-box;
  162. padding-left: 10px;
  163. padding-right: 10px;
  164. display: flex;
  165. align-items: center;
  166. height: 50px;
  167. }
  168. .item {
  169. flex: 1;
  170. line-height: 50px;
  171. height: 50px;
  172. overflow: hidden;
  173. flex-wrap: wrap;
  174. }
  175. .attachments {
  176. margin-top: .35em;
  177. display: flex;
  178. flex-direction: row;
  179. width: 100%;
  180. max-height: 600px;
  181. border-radius: 7px;
  182. overflow: hidden;
  183. flex-flow: column;
  184. background-color: #0f0f0f;
  185. align-items: center;
  186. }
  187. .gallery-row {
  188. display: flex;
  189. flex-direction: row;
  190. flex-wrap: nowrap;
  191. align-items: center;
  192. overflow: hidden;
  193. flex-grow: 1;
  194. max-height: 379.5px;
  195. max-width: 533px;
  196. }
  197. .gallery-row .attachment, .gallery-row .attachments {
  198. margin: 0 .25em 0 0;
  199. flex-grow: 1;
  200. box-sizing: border-box;
  201. min-width: 2em;
  202. }
  203. .gallery-row .attachment:last-child, .gallery-row .attachments:last-child, .video-container {
  204. margin: 0;
  205. max-height: 530px;
  206. }
  207. .attachments .attachment {
  208. position: relative;
  209. line-height: 0;
  210. border-color: #222;
  211. overflow: hidden;
  212. }
  213. .gallery-row .still-image, .attachments .image-attachment {
  214. width: 100%;
  215. }
  216. .gallery-video {
  217. display: flex;
  218. overflow: hidden;
  219. }
  220. video {
  221. height: 100%;
  222. width: 100%;
  223. }
  224. .media-gif {
  225. display: inline-block;
  226. background-color: unset;
  227. }
  228. .video-overlay {
  229. width: 100%;
  230. height: 100%;
  231. position: absolute;
  232. top: 0;
  233. left: 0;
  234. z-index: 1;
  235. background-color: #000000bd;
  236. }
  237. .video-overlay p {
  238. position: relative;
  239. z-index: 0;
  240. color: #dcdcdc;
  241. text-align: center;
  242. top: calc(50% - 20px);
  243. font-size: 20px;
  244. }
  245. .still-image {
  246. max-height: 379.5px;
  247. max-width: 533px;
  248. justify-content: center;
  249. }
  250. .still-image img {
  251. object-fit: cover;
  252. max-width: 533px;
  253. max-height: 379.5px;
  254. border-color: #222;
  255. flex-basis: 300px;
  256. }
  257. .image {
  258. display: inline-block;
  259. }
  260. .single-image {
  261. display: inline-block;
  262. width: unset;
  263. }
  264. .avatar {
  265. float: left;
  266. margin-top: 3px;
  267. margin-left: -58px;
  268. position: absolute;
  269. width: 48px;
  270. height: 48px;
  271. border-radius: 50%;
  272. }
  273. .tweet-avatar {
  274. display: contents !important;
  275. }
  276. .retweet {
  277. margin-top: -5px !important;
  278. }
  279. .retweet, .pinned, .tweet-stats {
  280. align-content: center;
  281. color: hsla(240,1%,73%,.7);
  282. display: flex;
  283. flex-shrink: 0;
  284. flex-wrap: wrap;
  285. font-size: 14px;
  286. font-weight: 600;
  287. line-height: 22px;
  288. margin: 0;
  289. max-width: 85%;
  290. overflow: hidden;
  291. text-overflow: ellipsis;
  292. white-space: nowrap;
  293. }
  294. .tweet-stat {
  295. padding-top: 5px;
  296. padding-right: 8px;
  297. }
  298. .show-more {
  299. background-color: #161616;
  300. text-align: center;
  301. padding: .75em 0;
  302. display: block;
  303. }
  304. .show-more.status-el {
  305. border-bottom: 1px solid #3e3e35;
  306. }
  307. .show-more a {
  308. background-color: #242424;
  309. display: inline-block;
  310. height: 2em;
  311. padding: 0 2em;
  312. line-height: 2em;
  313. }
  314. .show-more a:hover {
  315. background-color: #282828;
  316. }
  317. .multi-header {
  318. background-color: #161616;
  319. text-align: center;
  320. padding: 10px;
  321. display: block;
  322. font-weight: bold;
  323. margin-bottom: 5px;
  324. }
  325. .multi-timeline {
  326. max-width: 600px;
  327. margin: 0 auto;
  328. }
  329. .profile-tabs {
  330. max-width: 900px;
  331. margin: 0 auto;
  332. float: none;
  333. border-radius: 0;
  334. position: relative;
  335. width: auto;
  336. }
  337. .timeline-tab {
  338. float: right;
  339. padding: 0;
  340. box-sizing: border-box;
  341. display: inline-block;
  342. font-size: 14px;
  343. margin: 0;
  344. text-align: left;
  345. vertical-align: top;
  346. }
  347. .profile-tabs > .timeline-tab {
  348. width: 68% !important;
  349. }
  350. .profile-tab {
  351. padding: 0 4px 0 0;
  352. box-sizing: border-box;
  353. display: inline-block;
  354. font-size: 14px;
  355. margin: 0;
  356. text-align: left;
  357. vertical-align: top;
  358. max-width: 32%;
  359. position: sticky;
  360. top: 50px;
  361. }
  362. .profile-banner {
  363. padding-bottom: 4px;
  364. }
  365. .profile-banner a {
  366. display: inherit;
  367. line-height: 0;
  368. }
  369. .profile-banner img {
  370. width: 100%;
  371. }
  372. .profile-banner-color {
  373. width: 100%;
  374. padding-bottom: 25%;
  375. }
  376. .profile-card {
  377. flex-wrap: wrap;
  378. background: #161616;
  379. padding: 12px;
  380. display: flex;
  381. }
  382. .profile-card-tabs {
  383. display: flex;
  384. justify-content: space-between;
  385. align-items: center;
  386. flex: 1 1 auto;
  387. max-width: 100%;
  388. }
  389. .profile-card-tabs-name {
  390. max-width: 100%;
  391. }
  392. .profile-card-username, .profile-card-fullname {
  393. color: #f8f8f2;
  394. }
  395. .profile-card-fullname {
  396. font-size: 16px;
  397. text-shadow: none;
  398. text-overflow: ellipsis;
  399. max-width: 100%;
  400. font-weight: bold;
  401. overflow-wrap: break-word;
  402. }
  403. .profile-card-username {
  404. font-size: 14px;
  405. overflow: hidden;
  406. text-overflow: ellipsis;
  407. display: block;
  408. }
  409. .profile-card-avatar {
  410. display: block;
  411. width: 100%;
  412. padding-bottom: 16px;
  413. margin-right: 4px;
  414. }
  415. .profile-card-avatar img {
  416. display: block;
  417. width: calc(100% - 4px);
  418. height: 100%;
  419. margin: 0;
  420. border: 4px solid #282828;
  421. background: #040404;
  422. }
  423. .profile-card-extra {
  424. display: contents;
  425. flex: 100%;
  426. margin-top: 4px;
  427. }
  428. .profile-bio {
  429. overflow: hidden;
  430. overflow-wrap: break-word;
  431. width: 100%;
  432. margin: 10px -6px 0px 0px;
  433. }
  434. .profile-bio p {
  435. margin: 0;
  436. }
  437. .profile-description {
  438. font-size: 14px;
  439. font-weight: 400;
  440. overflow: hidden;
  441. word-break: normal;
  442. word-wrap: break-word;
  443. }
  444. .photo-rail-card {
  445. float: left;
  446. background: #161616;
  447. border-radius: 0 0 4px 4px;
  448. width: 100%;
  449. margin-top: 5px;
  450. }
  451. .photo-rail-header {
  452. padding: 5px 12px 0px 12px;
  453. }
  454. .photo-rail-grid {
  455. display: grid;
  456. grid-template-columns: repeat(4, 1fr);
  457. grid-gap: 3px 3px;
  458. padding: 5px 12px 12px 12px;
  459. }
  460. .photo-rail-grid a {
  461. position: relative;
  462. border-radius: 5px;
  463. }
  464. .photo-rail-grid a:before {
  465. content: "";
  466. display: block;
  467. padding-top: 100%;
  468. }
  469. .photo-rail-grid img {
  470. height: 100%;
  471. width: 100%;
  472. border-radius: 4px;
  473. object-fit: cover;
  474. position: absolute;
  475. top: 0;
  476. left: 0;
  477. bottom: 0;
  478. right: 0;
  479. }
  480. .tab {
  481. align-items: center;
  482. display: flex;
  483. flex-wrap: wrap;
  484. list-style: none;
  485. margin: 0 0 5px 0;
  486. background-color: #161616;
  487. padding: 0;
  488. }
  489. .tab .tab-item {
  490. margin-top: 0;
  491. }
  492. .tab-item {
  493. flex: 1 1 0;
  494. text-align: center;
  495. }
  496. .tab .tab-item a.active, .tab .tab-item.active a {
  497. border-bottom-color: #ff6c60;
  498. color: #ff6c60;
  499. }
  500. .tab .tab-item a {
  501. border-bottom: .1rem solid transparent;
  502. color: inherit;
  503. display: block;
  504. padding: 8px 0;
  505. text-decoration: none;
  506. font-weight: bold;
  507. }
  508. .conversation {
  509. max-width: 610px;
  510. margin: 0 auto;
  511. float: none;
  512. border-radius: 0;
  513. position: relative;
  514. width: auto;
  515. background-color: #0f0f0f !important;
  516. }
  517. .main-thread {
  518. margin-bottom: 20px;
  519. background-color: #161616;
  520. }
  521. .main-tweet .status-content {
  522. font-size: 22px;
  523. line-height: 30px;
  524. letter-spacing: .01em;
  525. }
  526. .reply {
  527. background-color: #161616;
  528. margin-bottom: 10px;
  529. }
  530. .more-replies {
  531. padding-top: 0.3em;
  532. }
  533. .more-replies-text {
  534. display: block;
  535. margin-left: 58px;
  536. padding: 7px 0;
  537. text-overflow: ellipsis;
  538. white-space: nowrap;
  539. }
  540. .thread-line .status-el::before {
  541. background: #8a3731;
  542. content: '';
  543. position: relative;
  544. width: 3px;
  545. min-width: 3px;
  546. left: 26px;
  547. border-radius: 2px;
  548. margin-left: -3px;
  549. top: 56px;
  550. margin-bottom: 37px;
  551. }
  552. .thread-line .unavailable::before {
  553. top: 48px;
  554. margin-bottom: 28px;
  555. }
  556. .thread-last .status-el::before {
  557. background: unset;
  558. min-width: unset;
  559. width: 0;
  560. margin: 0;
  561. }
  562. .thread-line .more-replies::before {
  563. content: '...';
  564. background: unset;
  565. color: #ad433b;
  566. font-weight: bold;
  567. font-size: 22px;
  568. line-height: 0.25em;
  569. left: 1.2em;
  570. width: 5px;
  571. top: 2px;
  572. margin-bottom: 0px;
  573. margin-left: -5px;
  574. }
  575. .panel {
  576. margin: auto;
  577. font-size: 130%;
  578. }
  579. .error-panel {
  580. background-color: #420a05 !important;
  581. }
  582. .error-panel, .search-panel > form {
  583. padding: 12px;
  584. border-radius: 4px;
  585. display: flex;
  586. background: #222222;
  587. box-shadow: 0 0 15px rgba(0,0,0,.2);
  588. margin: auto;
  589. margin-top: -50px;
  590. }
  591. .search-panel > form > button {
  592. font-size: 14px;
  593. line-height: 24px;
  594. display: block;
  595. border: 0;
  596. border-radius: 4px;
  597. background: #2f2f2f;
  598. color: #f8f8f2;
  599. outline: 0;
  600. text-decoration: none;
  601. text-align: center;
  602. box-sizing: border-box;
  603. cursor: pointer;
  604. font-weight: bold;
  605. width: 37px;
  606. height: 32px;
  607. padding: 0;
  608. }
  609. .search-panel > form > input {
  610. box-sizing: border-box;
  611. font-size: 16px;
  612. display: block;
  613. width: 100%;
  614. outline: 0;
  615. font-family: inherit;
  616. background: #131419;
  617. color: #f8f8f2;
  618. border: 1px solid #0a0b0e;
  619. border-radius: 4px;
  620. padding: 4px;
  621. margin-right: 8px;
  622. }
  623. .profile-card-extra-links {
  624. margin-top: 8px;
  625. font-size: 14px;
  626. width: 100%;
  627. }
  628. .profile-statlist {
  629. display: flex;
  630. flex-wrap: wrap;
  631. margin: 0;
  632. padding: 0;
  633. width: 100%;
  634. }
  635. .profile-statlist > li {
  636. display: table-cell;
  637. text-align: center;
  638. }
  639. .profile-statlist .posts {
  640. flex: 0.4 1 0;
  641. }
  642. .profile-statlist .followers {
  643. flex: 1 1 0;
  644. padding: 0 3px;
  645. }
  646. .profile-statlist .following {
  647. flex: 0.5 1 0;
  648. }
  649. .profile-stat-header {
  650. font-weight: bold;
  651. }
  652. .profile-stat-num {
  653. display: block;
  654. }
  655. .timeline-tweet {
  656. border-bottom: 1px solid #3e3e35;
  657. }
  658. .timeline-footer, .timeline-header {
  659. background-color: #161616;
  660. padding: 6px 0px;
  661. }
  662. .timeline-protected {
  663. text-align: center;
  664. }
  665. .timeline-protected p {
  666. margin: 8px 0px;
  667. }
  668. .timeline-none, .timeline-protected h2 {
  669. color: #ff6c60;
  670. font-size: 21px;
  671. font-weight: 600;
  672. }
  673. .timeline-end {
  674. background-color: #161616;
  675. text-align: center;
  676. font-size: 16px;
  677. color: #ff6c60;
  678. font-weight: 600;
  679. }
  680. .unavailable-box {
  681. width: 100%;
  682. height: 100%;
  683. padding: 12px;
  684. border: solid 1px #404040;
  685. border-radius: 10px;
  686. background-color: #121212;
  687. }
  688. .unavailable-quote {
  689. padding: 6px;
  690. }
  691. .quote {
  692. margin-top: 10px;
  693. border: solid 1px #404040;
  694. border-radius: 10px;
  695. background-color: #121212;
  696. overflow: auto;
  697. padding: 6px;
  698. position: relative;
  699. }
  700. .quote:hover {
  701. border-color: #808080;
  702. }
  703. .quote.unavailable:hover {
  704. border-color: #404040;
  705. }
  706. .quote-link {
  707. height: 100%;
  708. width: 100%;
  709. left: 0;
  710. top: 0;
  711. position: absolute;
  712. }
  713. .quote-text {
  714. overflow: hidden;
  715. white-space: pre-wrap;
  716. word-wrap: break-word;
  717. }
  718. .quote-media-container {
  719. display: flex;
  720. flex-direction: column;
  721. align-items: center;
  722. overflow: hidden;
  723. max-height: 102px;
  724. width: 102px;
  725. float: left;
  726. margin-right: 7px;
  727. border-radius: 7px;
  728. }
  729. .quote-media {
  730. display: flex;
  731. justify-content: center;
  732. pointer-events: none;
  733. }
  734. .quote-media img {
  735. width: 100%;
  736. height: 100%;
  737. align-self: center;
  738. }
  739. .quote-badge {
  740. left: 6px;
  741. position: absolute;
  742. z-index: 1;
  743. align-self: flex-end;
  744. }
  745. .quote-badge-text {
  746. margin: 4px;
  747. background: rgba(0, 0, 0, 0.66);
  748. border-radius: 4px;
  749. color: #fffffff0;
  750. padding: 1px 3px;
  751. font-size: 12px;
  752. font-weight: bold;
  753. }
  754. .quote-sensitive {
  755. background: #353535;
  756. width: 102px;
  757. height: 102px;
  758. border-radius: 12px;
  759. display: flex;
  760. justify-content: center;
  761. align-items: center;
  762. }
  763. .quote-sensitive-icon {
  764. font-size: 25px;
  765. width: 37px;
  766. height: 32px;
  767. background-color: #4e4e4e;
  768. padding-bottom: 5px;
  769. margin: 0;
  770. }
  771. .card {
  772. margin: 5px 0;
  773. }
  774. .card-container {
  775. border-radius: 10px;
  776. border-width: 1px;
  777. border-style: solid;
  778. border-color: #404040;
  779. background-color: #121212;
  780. overflow: hidden;
  781. color: inherit;
  782. display: flex;
  783. text-decoration: none !important;
  784. }
  785. .card-container:hover {
  786. border-color: #808080;
  787. }
  788. .card-container .attachments {
  789. margin: 0;
  790. border-radius: 0;
  791. }
  792. .large .card-container {
  793. display: block;
  794. }
  795. .card-content {
  796. padding: 0.5em;
  797. }
  798. .card-title {
  799. overflow: hidden;
  800. text-overflow: ellipsis;
  801. font-weight: bold;
  802. font-size: 1.15em;
  803. }
  804. .card-description {
  805. margin: 0.3em 0;
  806. }
  807. .card-destination {
  808. color: hsla(240,1%,73%,.9);
  809. white-space: nowrap;
  810. overflow: hidden;
  811. text-overflow: ellipsis;
  812. display: block;
  813. }
  814. .card-image-container {
  815. width: 98px;
  816. flex-shrink: 0;
  817. position: relative;
  818. overflow: hidden;
  819. }
  820. .large .card-image-container {
  821. width: unset;
  822. }
  823. .card-image-container:before {
  824. content: "";
  825. display: block;
  826. padding-top: 100%;
  827. }
  828. .large .card-image-container:before {
  829. display: none;
  830. }
  831. .card-image {
  832. position: absolute;
  833. top: 0;
  834. left: 0;
  835. bottom: 0;
  836. right: 0;
  837. background-color: white;
  838. }
  839. .large .card-image {
  840. position: unset;
  841. border-style: solid;
  842. border-color: #404040;
  843. border-width: 0;
  844. border-bottom-width: 1px;
  845. }
  846. .card-image img {
  847. width: 100%;
  848. height: 100%;
  849. display: block;
  850. object-fit: cover;
  851. }
  852. .card-overlay {
  853. position: absolute;
  854. top: 0;
  855. left: 0;
  856. width: 100%;
  857. height: 100%;
  858. display: flex;
  859. justify-content: center;
  860. align-items: center;
  861. opacity: 0.8;
  862. }
  863. .card-overlay-circle {
  864. border-radius: 50%;
  865. background-color: #404040;
  866. width: 40px;
  867. height: 40px;
  868. align-items: center;
  869. display: flex;
  870. border-width: 5px;
  871. border-color: #d8574d;
  872. border-style: solid;
  873. }
  874. .card-overlay-triangle {
  875. width: 0;
  876. height: 0;
  877. border-style: solid;
  878. border-width: 12px 0 12px 17px;
  879. border-color: transparent transparent transparent #d8574d;
  880. margin-left: 14px;
  881. }
  882. .poll-meter {
  883. overflow: hidden;
  884. position: relative;
  885. margin: 6px 0;
  886. height: 26px;
  887. background: #0f0f0f;
  888. border-radius: 5px;
  889. display: flex;
  890. align-items: center;
  891. }
  892. .poll-choice-bar {
  893. height: 100%;
  894. position: absolute;
  895. background: #383838;
  896. }
  897. .leader .poll-choice-bar {
  898. background: #8a3731;
  899. }
  900. .poll-choice-value {
  901. position: relative;
  902. font-weight: bold;
  903. margin-left: 5px;
  904. margin-right: 6px;
  905. min-width: 30px;
  906. text-align: right;
  907. }
  908. .poll-choice-option {
  909. position: relative;
  910. }
  911. .poll-info {
  912. color: #868687;
  913. }