style.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742
  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: .5em;
  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 {
  200. margin: 0;
  201. }
  202. .attachments .attachment {
  203. position: relative;
  204. line-height: 0;
  205. border-color: #222;
  206. overflow: hidden;
  207. }
  208. .gallery-row .image-attachment {
  209. width: 100%;
  210. }
  211. .attachments .image-attachment {
  212. width: 100%;
  213. }
  214. .still-image {
  215. max-height: 379.5px;
  216. max-width: 506px;
  217. justify-content: center;
  218. }
  219. .still-image img {
  220. object-fit: cover;
  221. max-width: 506px;
  222. max-height: 379.5px;
  223. border-color: #222;
  224. flex-basis: 300px;
  225. }
  226. .avatar {
  227. float: left;
  228. margin-top: 3px;
  229. margin-left: -58px;
  230. position: absolute;
  231. width: 48px;
  232. height: 48px;
  233. border-radius: 50%;
  234. }
  235. .tweet-avatar {
  236. display: contents !important;
  237. }
  238. .retweet, .pinned, .tweet-stats {
  239. align-content: center;
  240. color: hsla(240,1%,73%,.7);
  241. display: flex;
  242. flex-shrink: 0;
  243. flex-wrap: wrap;
  244. font-size: 14px;
  245. font-weight: 600;
  246. line-height: 22px;
  247. margin: 0;
  248. max-width: 85%;
  249. overflow: hidden;
  250. text-overflow: ellipsis;
  251. white-space: nowrap;
  252. }
  253. .tweet-stat {
  254. padding-top: 5px;
  255. padding-right: 8px;
  256. }
  257. .show-more {
  258. text-align: center;
  259. padding: .75em 0;
  260. display: block;
  261. }
  262. .show-more.status-el {
  263. border-bottom: 1px solid #3e3e35;
  264. }
  265. .show-more a {
  266. background-color: #242424;
  267. display: inline-block;
  268. height: 2em;
  269. padding: 0 2em;
  270. line-height: 2em;
  271. }
  272. .show-more a:hover {
  273. background-color: #282828;
  274. }
  275. .profile-tabs {
  276. max-width: 846px;
  277. margin: 0 auto;
  278. float: none;
  279. border-radius: 0;
  280. position: relative;
  281. width: auto;
  282. }
  283. .timeline-tab {
  284. float: right;
  285. padding: 0 4px;
  286. box-sizing: border-box;
  287. display: inline-block;
  288. font-size: 14px;
  289. margin: 0;
  290. text-align: left;
  291. vertical-align: top;
  292. width: 70% !important;
  293. }
  294. .profile-tab {
  295. padding: 0 4px;
  296. box-sizing: border-box;
  297. display: inline-block;
  298. font-size: 14px;
  299. margin: 0;
  300. text-align: left;
  301. vertical-align: top;
  302. width: 30% !important;
  303. }
  304. .profile-banner {
  305. padding: 0 4px;
  306. }
  307. .profile-banner img {
  308. width: 100%;
  309. padding-bottom: 3px;
  310. }
  311. .profile-banner-color {
  312. width: 100%;
  313. padding-bottom: 25%;
  314. margin-bottom: 8px;
  315. }
  316. .profile-card {
  317. float: left;
  318. flex-wrap: wrap;
  319. margin-top: 0;
  320. background: #161616;
  321. border-radius: 0 0 4px 4px;
  322. padding: 12px;
  323. position: relative;
  324. display: flex;
  325. justify-content: flex-start;
  326. max-width: 90%;
  327. }
  328. .profile-card-tabs {
  329. display: flex;
  330. justify-content: space-between;
  331. align-items: center;
  332. flex: 1 1 auto;
  333. max-width: 100%;
  334. }
  335. .profile-card-tabs-name {
  336. max-width: 100%;
  337. }
  338. .profile-card-username, .profile-card-fullname {
  339. color: #f8f8f2;
  340. }
  341. .profile-card-fullname {
  342. font-size: 16px;
  343. text-shadow: none;
  344. text-overflow: ellipsis;
  345. max-width: 100%;
  346. font-weight: bold;
  347. }
  348. .profile-card-username {
  349. font-size: 14px;
  350. overflow: hidden;
  351. text-overflow: ellipsis;
  352. display: block;
  353. }
  354. .profile-card-avatar {
  355. display: block;
  356. width: 100%;
  357. padding-bottom: 16px;
  358. margin-right: 4px;
  359. }
  360. .profile-card-avatar img {
  361. display: block;
  362. width: calc(100% - 4px);
  363. height: 100%;
  364. margin: 0;
  365. border: 4px solid #282828;
  366. background: #040404;
  367. }
  368. .profile-card-extra {
  369. display: block;
  370. flex: 100%;
  371. margin-top: 4px;
  372. }
  373. .profile-bio {
  374. border-radius: 0;
  375. box-shadow: none;
  376. background: transparent;
  377. overflow: hidden;
  378. margin-right: -5px
  379. }
  380. .profile-description {
  381. font-size: 14px;
  382. font-weight: 400;
  383. overflow: hidden;
  384. word-break: normal;
  385. word-wrap: break-word;
  386. }
  387. .conversation {
  388. max-width: 580px;
  389. margin: 0 auto;
  390. float: none;
  391. border-radius: 0;
  392. position: relative;
  393. width: auto;
  394. background-color: #0f0f0f !important;
  395. }
  396. .main-thread {
  397. margin-bottom: 20px;
  398. background-color: #161616;
  399. }
  400. .main-tweet .status-content {
  401. font-size: 22px;
  402. line-height: 30px;
  403. letter-spacing: .01em;
  404. }
  405. .reply {
  406. background-color: #161616;
  407. margin-bottom: 10px;
  408. }
  409. .thread-line .status-el::before {
  410. background: #8a3731;
  411. content: '';
  412. position: relative;
  413. width: 3px;
  414. min-width: 3px;
  415. left: 26px;
  416. border-radius: 2px;
  417. margin-left: -3px;
  418. top: 56px;
  419. margin-bottom: 37px;
  420. }
  421. .thread-line .unavailable::before {
  422. top: 40px;
  423. margin-bottom: 19px;
  424. }
  425. .thread-last .status-el::before {
  426. background: unset;
  427. min-width: unset;
  428. width: 0;
  429. margin: 0;
  430. }
  431. .panel {
  432. margin: auto;
  433. font-size: 130%;
  434. }
  435. .error-panel {
  436. background-color: #420a05 !important;
  437. }
  438. .error-panel, .search-panel > form {
  439. padding: 12px;
  440. border-radius: 4px;
  441. display: flex;
  442. background: #222222;
  443. box-shadow: 0 0 15px rgba(0,0,0,.2);
  444. margin: auto;
  445. margin-top: -50px;
  446. }
  447. .search-panel > form > button {
  448. font-size: 14px;
  449. line-height: 24px;
  450. display: block;
  451. border: 0;
  452. border-radius: 4px;
  453. background: #2f2f2f;
  454. color: #f8f8f2;
  455. outline: 0;
  456. text-decoration: none;
  457. text-align: center;
  458. box-sizing: border-box;
  459. cursor: pointer;
  460. font-weight: bold;
  461. width: 37px;
  462. height: 32px;
  463. padding: 0;
  464. }
  465. .search-panel > form > input {
  466. box-sizing: border-box;
  467. font-size: 16px;
  468. display: block;
  469. width: 100%;
  470. outline: 0;
  471. font-family: inherit;
  472. background: #131419;
  473. color: #f8f8f2;
  474. border: 1px solid #0a0b0e;
  475. border-radius: 4px;
  476. padding: 4px;
  477. margin-right: 8px;
  478. }
  479. .profile-card-extra-links {
  480. margin-top: 8px;
  481. font-size: 14px;
  482. }
  483. .profile-statlist {
  484. vertical-align: bottom;
  485. table-layout: fixed;
  486. box-sizing: border-box;
  487. display: flex;
  488. margin: 0;
  489. padding: 0 2px;
  490. width: 100%;
  491. }
  492. .profile-statlist > li {
  493. display: table-cell;
  494. text-align: center;
  495. }
  496. .profile-statlist .tweets {
  497. flex-shrink: 2;
  498. }
  499. .profile-statlist .followers {
  500. flex-grow: 2;
  501. }
  502. .profile-statlist .following {
  503. flex-shrink: 1.5;
  504. }
  505. .profile-stat-header {
  506. font-weight: bold;
  507. }
  508. .timeline-tweet {
  509. border-bottom: 1px solid #3e3e35;
  510. }
  511. .timeline-footer, .timeline-header {
  512. max-width: 550px;
  513. margin: 0 auto;
  514. padding: 6px 0px;
  515. }
  516. .timeline-none, .timeline-protected {
  517. color: #ff6c60;
  518. font-size: 21px;
  519. font-weight: 600;
  520. }
  521. .timeline-end {
  522. text-align: center;
  523. font-size: 16px;
  524. color: #ff6c60;
  525. font-weight: 600;
  526. }
  527. .media-gif {
  528. display: table-cell;
  529. padding-top: 5px !important;
  530. background-color: unset;
  531. }
  532. video {
  533. height: 100%;
  534. width: 100%;
  535. }
  536. .video-overlay {
  537. width: 100%;
  538. height: 100%;
  539. position: absolute;
  540. top: 0;
  541. left: 0;
  542. z-index: 1;
  543. background-color: #000000bd;
  544. }
  545. .video-overlay p {
  546. position: relative;
  547. z-index: 0;
  548. color: #dcdcdc;
  549. text-align: center;
  550. top: calc(50% - 20px);
  551. font-size: 20px;
  552. }
  553. .unavailable-box {
  554. width: 100%;
  555. height: 100%;
  556. padding: 8px;
  557. border: solid 1px #404040;
  558. border-radius: 10px;
  559. background-color: #121212;
  560. }
  561. .quote {
  562. margin-top: 10px;
  563. border: solid 1px #404040;
  564. border-radius: 10px;
  565. background-color: #121212;
  566. }
  567. .quote:hover {
  568. border-color: #808080;
  569. }
  570. .quote-container {
  571. position: relative;
  572. overflow: auto;
  573. padding: 6px;
  574. }
  575. .quote-link {
  576. height: 100%;
  577. width: 100%;
  578. left: 0;
  579. top: 0;
  580. position: absolute;
  581. }
  582. .quote-text {
  583. overflow: hidden;
  584. white-space: pre-wrap;
  585. word-wrap: break-word;
  586. }
  587. .quote-media-container {
  588. display: flex;
  589. flex-direction: column;
  590. align-items: center;
  591. overflow: hidden;
  592. max-height: 102px;
  593. width: 102px;
  594. float: left;
  595. margin-right: 7px;
  596. border-radius: 7px;
  597. }
  598. .quote-media {
  599. display: flex;
  600. justify-content: center;
  601. pointer-events: none;
  602. }
  603. .quote-media img {
  604. width: 100%;
  605. height: 100%;
  606. align-self: center;
  607. }
  608. .quote-badge {
  609. left: 6px;
  610. position: absolute;
  611. z-index: 1;
  612. align-self: flex-end;
  613. }
  614. .quote-badge-text {
  615. margin: 4px;
  616. background: rgba(0, 0, 0, 0.66);
  617. border-radius: 4px;
  618. color: #fffffff0;
  619. padding: 0px 2px;
  620. font-size: 12px;
  621. font-weight: bold;
  622. }
  623. .quote-sensitive {
  624. background: #353535;
  625. width: 102px;
  626. height: 102px;
  627. border-radius: 12px;
  628. display: flex;
  629. justify-content: center;
  630. align-items: center;
  631. }
  632. .quote-sensitive-icon {
  633. font-size: 25px;
  634. width: 37px;
  635. height: 32px;
  636. background-color: #4e4e4e;
  637. padding-bottom: 5px;
  638. margin: 0;
  639. }