style.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921
  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. #tweets {
  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: 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: 500px;
  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. .profile-tabs {
  318. max-width: 900px;
  319. margin: 0 auto;
  320. float: none;
  321. border-radius: 0;
  322. position: relative;
  323. width: auto;
  324. }
  325. .timeline-tab {
  326. float: right;
  327. padding: 0;
  328. box-sizing: border-box;
  329. display: inline-block;
  330. font-size: 14px;
  331. margin: 0;
  332. text-align: left;
  333. vertical-align: top;
  334. width: 68% !important;
  335. }
  336. .profile-tab {
  337. padding: 0 4px 0 0;
  338. box-sizing: border-box;
  339. display: inline-block;
  340. font-size: 14px;
  341. margin: 0;
  342. text-align: left;
  343. vertical-align: top;
  344. max-width: 32%;
  345. position: sticky;
  346. top: 50px;
  347. }
  348. .profile-banner {
  349. padding-bottom: 4px;
  350. }
  351. .profile-banner a {
  352. display: inherit;
  353. line-height: 0;
  354. }
  355. .profile-banner img {
  356. width: 100%;
  357. }
  358. .profile-banner-color {
  359. width: 100%;
  360. padding-bottom: 25%;
  361. margin-bottom: 8px;
  362. }
  363. .profile-card {
  364. flex-wrap: wrap;
  365. background: #161616;
  366. padding: 12px;
  367. display: flex;
  368. }
  369. .profile-card-tabs {
  370. display: flex;
  371. justify-content: space-between;
  372. align-items: center;
  373. flex: 1 1 auto;
  374. max-width: 100%;
  375. }
  376. .profile-card-tabs-name {
  377. max-width: 100%;
  378. }
  379. .profile-card-username, .profile-card-fullname {
  380. color: #f8f8f2;
  381. }
  382. .profile-card-fullname {
  383. font-size: 16px;
  384. text-shadow: none;
  385. text-overflow: ellipsis;
  386. max-width: 100%;
  387. font-weight: bold;
  388. }
  389. .profile-card-username {
  390. font-size: 14px;
  391. overflow: hidden;
  392. text-overflow: ellipsis;
  393. display: block;
  394. }
  395. .profile-card-avatar {
  396. display: block;
  397. width: 100%;
  398. padding-bottom: 16px;
  399. margin-right: 4px;
  400. }
  401. .profile-card-avatar img {
  402. display: block;
  403. width: calc(100% - 4px);
  404. height: 100%;
  405. margin: 0;
  406. border: 4px solid #282828;
  407. background: #040404;
  408. }
  409. .profile-card-extra {
  410. display: contents;
  411. flex: 100%;
  412. margin-top: 4px;
  413. }
  414. .profile-bio {
  415. overflow: hidden;
  416. overflow-wrap: break-word;
  417. width: 100%;
  418. margin: 10px -6px 0px 0px;
  419. }
  420. .profile-bio p {
  421. margin: 0;
  422. }
  423. .profile-description {
  424. font-size: 14px;
  425. font-weight: 400;
  426. overflow: hidden;
  427. word-break: normal;
  428. word-wrap: break-word;
  429. }
  430. .photo-rail-card {
  431. float: left;
  432. background: #161616;
  433. border-radius: 0 0 4px 4px;
  434. width: 100%;
  435. margin-top: 5px;
  436. }
  437. .photo-rail-header {
  438. padding: 5px 12px 0px 12px;
  439. }
  440. .photo-rail-grid {
  441. display: grid;
  442. grid-template-columns: repeat(4, 1fr);
  443. grid-gap: 3px 3px;
  444. padding: 5px 12px 12px 12px;
  445. }
  446. .photo-rail-grid a {
  447. position: relative;
  448. border-radius: 5px;
  449. }
  450. .photo-rail-grid a:before {
  451. content: "";
  452. display: block;
  453. padding-top: 100%;
  454. }
  455. .photo-rail-grid img {
  456. height: 100%;
  457. width: 100%;
  458. border-radius: 4px;
  459. object-fit: cover;
  460. position: absolute;
  461. top: 0;
  462. left: 0;
  463. bottom: 0;
  464. right: 0;
  465. }
  466. .tab {
  467. align-items: center;
  468. display: flex;
  469. flex-wrap: wrap;
  470. list-style: none;
  471. margin: 0 0 5px 0;
  472. background-color: #161616;
  473. padding: 0;
  474. }
  475. .tab .tab-item {
  476. margin-top: 0;
  477. }
  478. .tab-item {
  479. flex: 1 1 0;
  480. text-align: center;
  481. }
  482. .tab .tab-item a.active, .tab .tab-item.active a {
  483. border-bottom-color: #ff6c60;
  484. color: #ff6c60;
  485. }
  486. .tab .tab-item a {
  487. border-bottom: .1rem solid transparent;
  488. color: inherit;
  489. display: block;
  490. padding: 8px 0;
  491. text-decoration: none;
  492. font-weight: bold;
  493. }
  494. .conversation {
  495. max-width: 610px;
  496. margin: 0 auto;
  497. float: none;
  498. border-radius: 0;
  499. position: relative;
  500. width: auto;
  501. background-color: #0f0f0f !important;
  502. }
  503. .main-thread {
  504. margin-bottom: 20px;
  505. background-color: #161616;
  506. }
  507. .main-tweet .status-content {
  508. font-size: 22px;
  509. line-height: 30px;
  510. letter-spacing: .01em;
  511. }
  512. .reply {
  513. background-color: #161616;
  514. margin-bottom: 10px;
  515. }
  516. .more-replies {
  517. padding-top: 0.3em;
  518. }
  519. .more-replies-text {
  520. display: block;
  521. margin-left: 58px;
  522. padding: 7px 0;
  523. text-overflow: ellipsis;
  524. white-space: nowrap;
  525. }
  526. .thread-line .status-el::before {
  527. background: #8a3731;
  528. content: '';
  529. position: relative;
  530. width: 3px;
  531. min-width: 3px;
  532. left: 26px;
  533. border-radius: 2px;
  534. margin-left: -3px;
  535. top: 56px;
  536. margin-bottom: 37px;
  537. }
  538. .thread-line .unavailable::before {
  539. top: 48px;
  540. margin-bottom: 28px;
  541. }
  542. .thread-last .status-el::before {
  543. background: unset;
  544. min-width: unset;
  545. width: 0;
  546. margin: 0;
  547. }
  548. .thread-line .more-replies::before {
  549. content: '...';
  550. background: unset;
  551. color: #ad433b;
  552. font-weight: bold;
  553. font-size: 22px;
  554. line-height: 0.25em;
  555. left: 1.2em;
  556. width: 5px;
  557. top: 2px;
  558. margin-bottom: 0px;
  559. margin-left: -5px;
  560. }
  561. .panel {
  562. margin: auto;
  563. font-size: 130%;
  564. }
  565. .error-panel {
  566. background-color: #420a05 !important;
  567. }
  568. .error-panel, .search-panel > form {
  569. padding: 12px;
  570. border-radius: 4px;
  571. display: flex;
  572. background: #222222;
  573. box-shadow: 0 0 15px rgba(0,0,0,.2);
  574. margin: auto;
  575. margin-top: -50px;
  576. }
  577. .search-panel > form > button {
  578. font-size: 14px;
  579. line-height: 24px;
  580. display: block;
  581. border: 0;
  582. border-radius: 4px;
  583. background: #2f2f2f;
  584. color: #f8f8f2;
  585. outline: 0;
  586. text-decoration: none;
  587. text-align: center;
  588. box-sizing: border-box;
  589. cursor: pointer;
  590. font-weight: bold;
  591. width: 37px;
  592. height: 32px;
  593. padding: 0;
  594. }
  595. .search-panel > form > input {
  596. box-sizing: border-box;
  597. font-size: 16px;
  598. display: block;
  599. width: 100%;
  600. outline: 0;
  601. font-family: inherit;
  602. background: #131419;
  603. color: #f8f8f2;
  604. border: 1px solid #0a0b0e;
  605. border-radius: 4px;
  606. padding: 4px;
  607. margin-right: 8px;
  608. }
  609. .profile-card-extra-links {
  610. margin-top: 8px;
  611. font-size: 14px;
  612. width: 100%;
  613. }
  614. .profile-statlist {
  615. display: flex;
  616. flex-wrap: wrap;
  617. margin: 0;
  618. padding: 0;
  619. width: 100%;
  620. }
  621. .profile-statlist > li {
  622. display: table-cell;
  623. text-align: center;
  624. }
  625. .profile-statlist .tweets {
  626. flex: 0.4 1 0;
  627. }
  628. .profile-statlist .followers {
  629. flex: 1 1 0;
  630. padding: 0 3px;
  631. }
  632. .profile-statlist .following {
  633. flex: 0.5 1 0;
  634. }
  635. .profile-stat-header {
  636. font-weight: bold;
  637. }
  638. .profile-stat-num {
  639. display: block;
  640. }
  641. .timeline-tweet {
  642. border-bottom: 1px solid #3e3e35;
  643. }
  644. .timeline-footer, .timeline-header {
  645. background-color: #161616;
  646. padding: 6px 0px;
  647. }
  648. .timeline-protected {
  649. padding-left: 12px;
  650. }
  651. .timeline-protected p {
  652. margin: 8px 0px;
  653. }
  654. .timeline-none, .timeline-protected h2 {
  655. color: #ff6c60;
  656. font-size: 21px;
  657. font-weight: 600;
  658. }
  659. .timeline-end {
  660. background-color: #161616;
  661. text-align: center;
  662. font-size: 16px;
  663. color: #ff6c60;
  664. font-weight: 600;
  665. }
  666. .unavailable-box {
  667. width: 100%;
  668. height: 100%;
  669. padding: 12px;
  670. border: solid 1px #404040;
  671. border-radius: 10px;
  672. background-color: #121212;
  673. }
  674. .unavailable-quote {
  675. padding: 6px;
  676. }
  677. .quote {
  678. margin-top: 10px;
  679. border: solid 1px #404040;
  680. border-radius: 10px;
  681. background-color: #121212;
  682. overflow: auto;
  683. padding: 6px;
  684. position: relative;
  685. }
  686. .quote:hover {
  687. border-color: #808080;
  688. }
  689. .quote.unavailable:hover {
  690. border-color: #404040;
  691. }
  692. .quote-link {
  693. height: 100%;
  694. width: 100%;
  695. left: 0;
  696. top: 0;
  697. position: absolute;
  698. }
  699. .quote-text {
  700. overflow: hidden;
  701. white-space: pre-wrap;
  702. word-wrap: break-word;
  703. }
  704. .quote-media-container {
  705. display: flex;
  706. flex-direction: column;
  707. align-items: center;
  708. overflow: hidden;
  709. max-height: 102px;
  710. width: 102px;
  711. float: left;
  712. margin-right: 7px;
  713. border-radius: 7px;
  714. }
  715. .quote-media {
  716. display: flex;
  717. justify-content: center;
  718. pointer-events: none;
  719. }
  720. .quote-media img {
  721. width: 100%;
  722. height: 100%;
  723. align-self: center;
  724. }
  725. .quote-badge {
  726. left: 6px;
  727. position: absolute;
  728. z-index: 1;
  729. align-self: flex-end;
  730. }
  731. .quote-badge-text {
  732. margin: 4px;
  733. background: rgba(0, 0, 0, 0.66);
  734. border-radius: 4px;
  735. color: #fffffff0;
  736. padding: 1px 3px;
  737. font-size: 12px;
  738. font-weight: bold;
  739. }
  740. .quote-sensitive {
  741. background: #353535;
  742. width: 102px;
  743. height: 102px;
  744. border-radius: 12px;
  745. display: flex;
  746. justify-content: center;
  747. align-items: center;
  748. }
  749. .quote-sensitive-icon {
  750. font-size: 25px;
  751. width: 37px;
  752. height: 32px;
  753. background-color: #4e4e4e;
  754. padding-bottom: 5px;
  755. margin: 0;
  756. }
  757. .poll-meter {
  758. overflow: hidden;
  759. position: relative;
  760. margin: 6px 0;
  761. height: 26px;
  762. background: #0f0f0f;
  763. border-radius: 5px;
  764. display: flex;
  765. align-items: center;
  766. }
  767. .poll-choice-bar {
  768. height: 100%;
  769. position: absolute;
  770. background: #383838;
  771. }
  772. .leader .poll-choice-bar {
  773. background: #8a3731;
  774. }
  775. .poll-choice-value {
  776. position: relative;
  777. font-weight: bold;
  778. margin-left: 5px;
  779. margin-right: 6px;
  780. min-width: 30px;
  781. text-align: right;
  782. }
  783. .poll-choice-option {
  784. position: relative;
  785. }
  786. .poll-info {
  787. color: #868687;
  788. }