style.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816
  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. .media-heading {
  55. padding: 0;
  56. vertical-align: bottom;
  57. flex-basis: 100%;
  58. margin-bottom: .2em;
  59. }
  60. .media-heading a {
  61. display: inline-block;
  62. word-break: break-all;
  63. max-width: 100%;
  64. }
  65. .heading-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. .heading-right {
  115. display: flex;
  116. flex-shrink: 0;
  117. margin-left: 4px;
  118. }
  119. .status-el .status-content {
  120. font-family: sans-serif;
  121. line-height: 1.4em;
  122. }
  123. .status-content.media-body {
  124. flex: 1;
  125. padding: 0;
  126. white-space: pre-wrap;
  127. }
  128. .container, .item {
  129. display: flex;
  130. }
  131. .container {
  132. flex-wrap: wrap;
  133. margin: 0;
  134. }
  135. #content {
  136. box-sizing: border-box;
  137. padding-top: 50px;
  138. margin: auto;
  139. min-height: 100vh;
  140. background-color: rgba(0,0,0,.15);
  141. }
  142. nav {
  143. z-index: 1000;
  144. background-color: #1f1f1f;
  145. color: hsla(240,1%,73%,.5);
  146. box-shadow: 0 0 4px rgba(0,0,0,.6);
  147. }
  148. .nav-bar {
  149. padding: 0;
  150. width: 100%;
  151. align-items: center;
  152. position: fixed;
  153. height: 50px;
  154. }
  155. .nav-bar .inner-nav {
  156. margin: auto;
  157. box-sizing: border-box;
  158. padding-left: 10px;
  159. padding-right: 10px;
  160. display: flex;
  161. align-items: center;
  162. height: 50px;
  163. }
  164. .item {
  165. flex: 1;
  166. line-height: 50px;
  167. height: 50px;
  168. overflow: hidden;
  169. flex-wrap: wrap;
  170. }
  171. .attachments {
  172. margin-top: .35em;
  173. display: flex;
  174. flex-direction: row;
  175. width: 100%;
  176. max-height: 600px;
  177. border-radius: 7px;
  178. overflow: hidden;
  179. flex-flow: column;
  180. background-color: #0f0f0f;
  181. align-items: center;
  182. }
  183. .gallery-row {
  184. display: flex;
  185. flex-direction: row;
  186. flex-wrap: nowrap;
  187. align-items: center;
  188. overflow: hidden;
  189. flex-grow: 1;
  190. max-height: 379.5px;
  191. max-width: 506px;
  192. }
  193. .gallery-row .attachment, .gallery-row .attachments {
  194. margin: 0 .25em 0 0;
  195. flex-grow: 1;
  196. box-sizing: border-box;
  197. min-width: 2em;
  198. }
  199. .gallery-row .attachment:last-child, .gallery-row .attachments:last-child, .video-container {
  200. margin: 0;
  201. max-height: 500px;
  202. }
  203. .attachments .attachment {
  204. position: relative;
  205. line-height: 0;
  206. border-color: #222;
  207. overflow: hidden;
  208. }
  209. .gallery-row .image-attachment, .attachments .image-attachment {
  210. width: 100%;
  211. }
  212. .gallery-video {
  213. display: flex;
  214. overflow: hidden;
  215. }
  216. video {
  217. height: 100%;
  218. width: 100%;
  219. }
  220. .media-gif {
  221. display: inline-block;
  222. background-color: unset;
  223. }
  224. .video-overlay {
  225. width: 100%;
  226. height: 100%;
  227. position: absolute;
  228. top: 0;
  229. left: 0;
  230. z-index: 1;
  231. background-color: #000000bd;
  232. }
  233. .video-overlay p {
  234. position: relative;
  235. z-index: 0;
  236. color: #dcdcdc;
  237. text-align: center;
  238. top: calc(50% - 20px);
  239. font-size: 20px;
  240. }
  241. .still-image {
  242. max-height: 379.5px;
  243. max-width: 506px;
  244. justify-content: center;
  245. }
  246. .still-image img {
  247. object-fit: cover;
  248. max-width: 506px;
  249. max-height: 379.5px;
  250. border-color: #222;
  251. flex-basis: 300px;
  252. }
  253. .image {
  254. display: inline-block;
  255. }
  256. .single-image {
  257. display: inline-block;
  258. width: unset;
  259. }
  260. .avatar {
  261. float: left;
  262. margin-top: 3px;
  263. margin-left: -58px;
  264. position: absolute;
  265. width: 48px;
  266. height: 48px;
  267. border-radius: 50%;
  268. }
  269. .tweet-avatar {
  270. display: contents !important;
  271. }
  272. .retweet, .pinned, .tweet-stats {
  273. align-content: center;
  274. color: hsla(240,1%,73%,.7);
  275. display: flex;
  276. flex-shrink: 0;
  277. flex-wrap: wrap;
  278. font-size: 14px;
  279. font-weight: 600;
  280. line-height: 22px;
  281. margin: 0;
  282. max-width: 85%;
  283. overflow: hidden;
  284. text-overflow: ellipsis;
  285. white-space: nowrap;
  286. }
  287. .tweet-stat {
  288. padding-top: 5px;
  289. padding-right: 8px;
  290. }
  291. .show-more {
  292. text-align: center;
  293. padding: .75em 0;
  294. display: block;
  295. }
  296. .show-more.status-el {
  297. border-bottom: 1px solid #3e3e35;
  298. }
  299. .show-more a {
  300. background-color: #242424;
  301. display: inline-block;
  302. height: 2em;
  303. padding: 0 2em;
  304. line-height: 2em;
  305. }
  306. .show-more a:hover {
  307. background-color: #282828;
  308. }
  309. .profile-tabs {
  310. max-width: 846px;
  311. margin: 0 auto;
  312. float: none;
  313. border-radius: 0;
  314. position: relative;
  315. width: auto;
  316. }
  317. .timeline-tab {
  318. float: right;
  319. padding: 0 4px;
  320. box-sizing: border-box;
  321. display: inline-block;
  322. font-size: 14px;
  323. margin: 0;
  324. text-align: left;
  325. vertical-align: top;
  326. width: 70% !important;
  327. }
  328. .profile-tab {
  329. padding: 0 4px;
  330. box-sizing: border-box;
  331. display: inline-block;
  332. font-size: 14px;
  333. margin: 0;
  334. text-align: left;
  335. vertical-align: top;
  336. width: 30% !important;
  337. }
  338. .profile-banner {
  339. padding: 0 4px;
  340. }
  341. .profile-banner img {
  342. width: 100%;
  343. padding-bottom: 3px;
  344. }
  345. .profile-banner-color {
  346. width: 100%;
  347. padding-bottom: 25%;
  348. margin-bottom: 8px;
  349. }
  350. .profile-card {
  351. float: left;
  352. flex-wrap: wrap;
  353. margin-top: 0;
  354. background: #161616;
  355. border-radius: 0 0 4px 4px;
  356. padding: 12px;
  357. position: relative;
  358. display: flex;
  359. justify-content: flex-start;
  360. max-width: 90%;
  361. }
  362. .profile-card-tabs {
  363. display: flex;
  364. justify-content: space-between;
  365. align-items: center;
  366. flex: 1 1 auto;
  367. max-width: 100%;
  368. }
  369. .profile-card-tabs-name {
  370. max-width: 100%;
  371. }
  372. .profile-card-username, .profile-card-fullname {
  373. color: #f8f8f2;
  374. }
  375. .profile-card-fullname {
  376. font-size: 16px;
  377. text-shadow: none;
  378. text-overflow: ellipsis;
  379. max-width: 100%;
  380. font-weight: bold;
  381. }
  382. .profile-card-username {
  383. font-size: 14px;
  384. overflow: hidden;
  385. text-overflow: ellipsis;
  386. display: block;
  387. }
  388. .profile-card-avatar {
  389. display: block;
  390. width: 100%;
  391. padding-bottom: 16px;
  392. margin-right: 4px;
  393. }
  394. .profile-card-avatar img {
  395. display: block;
  396. width: calc(100% - 4px);
  397. height: 100%;
  398. margin: 0;
  399. border: 4px solid #282828;
  400. background: #040404;
  401. }
  402. .profile-card-extra {
  403. display: block;
  404. flex: 100%;
  405. margin-top: 4px;
  406. }
  407. .profile-bio {
  408. border-radius: 0;
  409. box-shadow: none;
  410. background: transparent;
  411. overflow: hidden;
  412. margin-right: -5px
  413. }
  414. .profile-description {
  415. font-size: 14px;
  416. font-weight: 400;
  417. overflow: hidden;
  418. word-break: normal;
  419. word-wrap: break-word;
  420. }
  421. .conversation {
  422. max-width: 580px;
  423. margin: 0 auto;
  424. float: none;
  425. border-radius: 0;
  426. position: relative;
  427. width: auto;
  428. background-color: #0f0f0f !important;
  429. }
  430. .main-thread {
  431. margin-bottom: 20px;
  432. background-color: #161616;
  433. }
  434. .main-tweet .status-content {
  435. font-size: 22px;
  436. line-height: 30px;
  437. letter-spacing: .01em;
  438. }
  439. .reply {
  440. background-color: #161616;
  441. margin-bottom: 10px;
  442. }
  443. .more-replies {
  444. padding-top: 0.3em;
  445. }
  446. .more-replies-text {
  447. display: block;
  448. margin-left: 58px;
  449. padding: 7px 0;
  450. text-overflow: ellipsis;
  451. white-space: nowrap;
  452. }
  453. .thread-line .status-el::before {
  454. background: #8a3731;
  455. content: '';
  456. position: relative;
  457. width: 3px;
  458. min-width: 3px;
  459. left: 26px;
  460. border-radius: 2px;
  461. margin-left: -3px;
  462. top: 56px;
  463. margin-bottom: 37px;
  464. }
  465. .thread-line .unavailable::before {
  466. top: 40px;
  467. margin-bottom: 19px;
  468. }
  469. .thread-last .status-el::before {
  470. background: unset;
  471. min-width: unset;
  472. width: 0;
  473. margin: 0;
  474. }
  475. .thread-line .more-replies::before {
  476. content: '...';
  477. background: unset;
  478. color: #b94e46;
  479. font-weight: bold;
  480. font-size: 22px;
  481. line-height: 0.25em;
  482. left: 1.2em;
  483. width: 5px;
  484. top: 2px;
  485. margin-bottom: 0px;
  486. margin-left: -5px;
  487. }
  488. .panel {
  489. margin: auto;
  490. font-size: 130%;
  491. }
  492. .error-panel {
  493. background-color: #420a05 !important;
  494. }
  495. .error-panel, .search-panel > form {
  496. padding: 12px;
  497. border-radius: 4px;
  498. display: flex;
  499. background: #222222;
  500. box-shadow: 0 0 15px rgba(0,0,0,.2);
  501. margin: auto;
  502. margin-top: -50px;
  503. }
  504. .search-panel > form > button {
  505. font-size: 14px;
  506. line-height: 24px;
  507. display: block;
  508. border: 0;
  509. border-radius: 4px;
  510. background: #2f2f2f;
  511. color: #f8f8f2;
  512. outline: 0;
  513. text-decoration: none;
  514. text-align: center;
  515. box-sizing: border-box;
  516. cursor: pointer;
  517. font-weight: bold;
  518. width: 37px;
  519. height: 32px;
  520. padding: 0;
  521. }
  522. .search-panel > form > input {
  523. box-sizing: border-box;
  524. font-size: 16px;
  525. display: block;
  526. width: 100%;
  527. outline: 0;
  528. font-family: inherit;
  529. background: #131419;
  530. color: #f8f8f2;
  531. border: 1px solid #0a0b0e;
  532. border-radius: 4px;
  533. padding: 4px;
  534. margin-right: 8px;
  535. }
  536. .profile-card-extra-links {
  537. margin-top: 8px;
  538. font-size: 14px;
  539. }
  540. .profile-statlist {
  541. vertical-align: bottom;
  542. table-layout: fixed;
  543. box-sizing: border-box;
  544. display: flex;
  545. margin: 0;
  546. padding: 0 2px;
  547. width: 100%;
  548. }
  549. .profile-statlist > li {
  550. display: table-cell;
  551. text-align: center;
  552. }
  553. .profile-statlist .tweets {
  554. flex-shrink: 2;
  555. }
  556. .profile-statlist .followers {
  557. flex-grow: 2;
  558. }
  559. .profile-statlist .following {
  560. flex-shrink: 1.5;
  561. }
  562. .profile-stat-header {
  563. font-weight: bold;
  564. }
  565. .timeline-tweet {
  566. border-bottom: 1px solid #3e3e35;
  567. }
  568. .timeline-footer, .timeline-header {
  569. max-width: 550px;
  570. margin: 0 auto;
  571. padding: 6px 0px;
  572. }
  573. .timeline-none, .timeline-protected {
  574. color: #ff6c60;
  575. font-size: 21px;
  576. font-weight: 600;
  577. }
  578. .timeline-end {
  579. text-align: center;
  580. font-size: 16px;
  581. color: #ff6c60;
  582. font-weight: 600;
  583. }
  584. .unavailable-box {
  585. width: 100%;
  586. height: 100%;
  587. padding: 8px;
  588. border: solid 1px #404040;
  589. border-radius: 10px;
  590. background-color: #121212;
  591. }
  592. .quote {
  593. margin-top: 10px;
  594. border: solid 1px #404040;
  595. border-radius: 10px;
  596. background-color: #121212;
  597. }
  598. .quote:hover {
  599. border-color: #808080;
  600. }
  601. .quote-container {
  602. position: relative;
  603. overflow: auto;
  604. padding: 6px;
  605. }
  606. .quote-link {
  607. height: 100%;
  608. width: 100%;
  609. left: 0;
  610. top: 0;
  611. position: absolute;
  612. }
  613. .quote-text {
  614. overflow: hidden;
  615. white-space: pre-wrap;
  616. word-wrap: break-word;
  617. }
  618. .quote-media-container {
  619. display: flex;
  620. flex-direction: column;
  621. align-items: center;
  622. overflow: hidden;
  623. max-height: 102px;
  624. width: 102px;
  625. float: left;
  626. margin-right: 7px;
  627. border-radius: 7px;
  628. }
  629. .quote-media {
  630. display: flex;
  631. justify-content: center;
  632. pointer-events: none;
  633. }
  634. .quote-media img {
  635. width: 100%;
  636. height: 100%;
  637. align-self: center;
  638. }
  639. .quote-badge {
  640. left: 6px;
  641. position: absolute;
  642. z-index: 1;
  643. align-self: flex-end;
  644. }
  645. .quote-badge-text {
  646. margin: 4px;
  647. background: rgba(0, 0, 0, 0.66);
  648. border-radius: 4px;
  649. color: #fffffff0;
  650. padding: 0px 2px;
  651. font-size: 12px;
  652. font-weight: bold;
  653. }
  654. .quote-sensitive {
  655. background: #353535;
  656. width: 102px;
  657. height: 102px;
  658. border-radius: 12px;
  659. display: flex;
  660. justify-content: center;
  661. align-items: center;
  662. }
  663. .quote-sensitive-icon {
  664. font-size: 25px;
  665. width: 37px;
  666. height: 32px;
  667. background-color: #4e4e4e;
  668. padding-bottom: 5px;
  669. margin: 0;
  670. }
  671. .poll-meter {
  672. overflow: hidden;
  673. position: relative;
  674. margin: 6px 0;
  675. height: 26px;
  676. background: #0f0f0f;
  677. border-radius: 5px;
  678. display: flex;
  679. align-items: center;
  680. }
  681. .poll-choice-bar {
  682. height: 100%;
  683. position: absolute;
  684. background: #383838;
  685. }
  686. .leader .poll-choice-bar {
  687. background: #8a3731;
  688. }
  689. .poll-choice-value {
  690. position: relative;
  691. font-weight: bold;
  692. margin-left: 5px;
  693. margin-right: 6px;
  694. min-width: 30px;
  695. text-align: right;
  696. }
  697. .poll-choice-option {
  698. position: relative;
  699. }
  700. .poll-info {
  701. color: #868687;
  702. }