style.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  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. .timeline-tweet {
  50. border-bottom: 1px solid #3e3e35;
  51. }
  52. .status-body {
  53. flex: 1;
  54. min-width: 0;
  55. margin-left: 58px;
  56. }
  57. .media-heading {
  58. padding: 0;
  59. vertical-align: bottom;
  60. flex-basis: 100%;
  61. margin-bottom: .2em;
  62. }
  63. .media-heading a {
  64. display: inline-block;
  65. word-break: break-all;
  66. max-width: 100%;
  67. }
  68. .heading-name-row {
  69. padding: 0;
  70. display: flex;
  71. justify-content: space-between;
  72. }
  73. .fullname-and-username {
  74. display: flex;
  75. min-width: 0;
  76. }
  77. .fullname {
  78. overflow: hidden;
  79. text-overflow: ellipsis;
  80. flex-shrink: 2;
  81. max-width: 80%;
  82. white-space: nowrap;
  83. font-size: 14px;
  84. font-weight: 700;
  85. color: #f8f8f2;
  86. }
  87. .username {
  88. min-width: 1.6em;
  89. margin-left: .4em;
  90. white-space: nowrap;
  91. word-wrap: normal;
  92. overflow: hidden;
  93. text-overflow: ellipsis;
  94. }
  95. .icon {
  96. color: #fff;
  97. border-radius: 50%;
  98. display: inline-block;
  99. text-align: center;
  100. vertical-align: middle;
  101. flex-shrink: 0;
  102. margin: 2px 0 3px 3px;
  103. }
  104. .verified-icon {
  105. background-color: #1da1f2;
  106. height: 14px;
  107. width: 14px;
  108. font-size: 10px;
  109. }
  110. .protected-icon {
  111. background-color: #353535;
  112. height: 18px;
  113. width: 18px;
  114. font-size: 12px;
  115. font-weight: bold;
  116. }
  117. .heading-right {
  118. display: flex;
  119. flex-shrink: 0;
  120. margin-left: 4px;
  121. }
  122. .status-el .status-content {
  123. font-family: sans-serif;
  124. line-height: 1.4em;
  125. }
  126. .status-content.media-body {
  127. flex: 1;
  128. padding: 0;
  129. white-space: pre-wrap;
  130. }
  131. .container, .item {
  132. display: flex;
  133. }
  134. .container {
  135. flex-wrap: wrap;
  136. margin: 0;
  137. }
  138. #content {
  139. box-sizing: border-box;
  140. padding-top: 50px;
  141. margin: auto;
  142. min-height: 100vh;
  143. background-color: rgba(0,0,0,.15);
  144. }
  145. nav {
  146. z-index: 1000;
  147. background-color: #1f1f1f;
  148. color: hsla(240,1%,73%,.5);
  149. box-shadow: 0 0 4px rgba(0,0,0,.6);
  150. }
  151. .nav-bar {
  152. padding: 0;
  153. width: 100%;
  154. align-items: center;
  155. position: fixed;
  156. height: 50px;
  157. }
  158. .nav-bar .inner-nav {
  159. margin: auto;
  160. box-sizing: border-box;
  161. padding-left: 10px;
  162. padding-right: 10px;
  163. display: flex;
  164. align-items: center;
  165. height: 50px;
  166. }
  167. .item {
  168. flex: 1;
  169. line-height: 50px;
  170. height: 50px;
  171. overflow: hidden;
  172. flex-wrap: wrap;
  173. }
  174. .attachments {
  175. margin-top: .5em;
  176. display: flex;
  177. flex-direction: row;
  178. width: 100%;
  179. max-height: 600px;
  180. border-radius: 7px;
  181. overflow: hidden;
  182. flex-flow: column;
  183. background-color: #0f0f0f;
  184. align-items: center;
  185. }
  186. .gallery-row {
  187. display: flex;
  188. flex-direction: row;
  189. flex-wrap: nowrap;
  190. align-items: center;
  191. overflow: hidden;
  192. flex-grow: 1;
  193. max-height: 379.5px;
  194. max-width: 506px;
  195. }
  196. .gallery-row .attachment, .gallery-row .attachments {
  197. margin: 0 .25em 0 0;
  198. flex-grow: 1;
  199. box-sizing: border-box;
  200. min-width: 2em;
  201. }
  202. .gallery-row .attachment:last-child, .gallery-row .attachments:last-child {
  203. margin: 0;
  204. }
  205. .attachments .attachment {
  206. position: relative;
  207. line-height: 0;
  208. border-color: #222;
  209. overflow: hidden;
  210. }
  211. .gallery-row .image-attachment {
  212. width: 100%;
  213. }
  214. .attachments .image-attachment {
  215. width: 100%;
  216. }
  217. .still-image {
  218. max-height: 379.5px;
  219. max-width: 506px;
  220. justify-content: center;
  221. }
  222. .still-image img {
  223. object-fit: cover;
  224. max-width: 506px;
  225. max-height: 379.5px;
  226. border-color: #222;
  227. flex-basis: 300px;
  228. }
  229. .avatar {
  230. float: left;
  231. margin-top: 3px;
  232. margin-left: -58px;
  233. position: absolute;
  234. width: 48px;
  235. height: 48px;
  236. border-radius: 50%;
  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. width: 0;
  428. margin: 0;
  429. }
  430. .panel {
  431. margin: auto;
  432. font-size: 130%;
  433. }
  434. .error-panel {
  435. background-color: #420a05 !important;
  436. }
  437. .error-panel, .search-panel > form {
  438. padding: 12px;
  439. border-radius: 4px;
  440. display: flex;
  441. background: #222222;
  442. box-shadow: 0 0 15px rgba(0,0,0,.2);
  443. margin: auto;
  444. margin-top: -50px;
  445. }
  446. .search-panel > form > button {
  447. font-size: 14px;
  448. line-height: 24px;
  449. display: block;
  450. border: 0;
  451. border-radius: 4px;
  452. background: #2f2f2f;
  453. color: #f8f8f2;
  454. outline: 0;
  455. text-decoration: none;
  456. text-align: center;
  457. box-sizing: border-box;
  458. cursor: pointer;
  459. font-weight: bold;
  460. width: 37px;
  461. height: 32px;
  462. padding: 0;
  463. }
  464. .search-panel > form > input {
  465. box-sizing: border-box;
  466. font-size: 16px;
  467. display: block;
  468. width: 100%;
  469. outline: 0;
  470. font-family: inherit;
  471. background: #131419;
  472. color: #f8f8f2;
  473. border: 1px solid #0a0b0e;
  474. border-radius: 4px;
  475. padding: 4px;
  476. margin-right: 8px;
  477. }
  478. .profile-card-extra-links {
  479. margin-top: 8px;
  480. font-size: 14px;
  481. }
  482. .profile-statlist {
  483. vertical-align: bottom;
  484. table-layout: fixed;
  485. box-sizing: border-box;
  486. display: flex;
  487. margin: 0;
  488. padding: 0 2px;
  489. width: 100%;
  490. }
  491. .profile-statlist > li {
  492. display: table-cell;
  493. text-align: center;
  494. }
  495. .profile-statlist .tweets {
  496. flex-shrink: 2;
  497. }
  498. .profile-statlist .followers {
  499. flex-grow: 2;
  500. }
  501. .profile-statlist .following {
  502. flex-shrink: 1.5;
  503. }
  504. .profile-stat-header {
  505. font-weight: bold;
  506. }
  507. .timeline-protected {
  508. max-width: 550px;
  509. margin: 0 auto;
  510. padding: 6px 0px;
  511. }
  512. .timeline-protected-header {
  513. color: #d0564c;
  514. font-size: 21px;
  515. font-weight: 600;
  516. }
  517. .timeline-end {
  518. text-align: center;
  519. font-size: 16px;
  520. color: #ff6c60;
  521. font-weight: 600;
  522. }
  523. .media-gif {
  524. display: table-cell;
  525. padding-top: 5px !important;
  526. background-color: unset;
  527. }
  528. video {
  529. height: 100%;
  530. width: 100%;
  531. }
  532. .video-overlay {
  533. width: 100%;
  534. height: 100%;
  535. position: absolute;
  536. top: 0;
  537. left: 0;
  538. z-index: 1;
  539. background-color: #000000bd;
  540. }
  541. .video-overlay p {
  542. position: relative;
  543. z-index: 0;
  544. color: #dcdcdc;
  545. text-align: center;
  546. top: calc(50% - 20px);
  547. font-size: 20px;
  548. }
  549. .unavailable-box {
  550. width: 100%;
  551. height: 100%;
  552. padding: 8px;
  553. border: solid 1px #404040;
  554. border-radius: 10px;
  555. background-color: #121212;
  556. }
  557. .quote {
  558. margin-top: 10px;
  559. border: solid 1px #404040;
  560. border-radius: 10px;
  561. background-color: #121212;
  562. }
  563. .quote:hover {
  564. border-color: #808080;
  565. }
  566. .quote-container {
  567. position: relative;
  568. overflow: auto;
  569. padding: 6px;
  570. }
  571. .quote-link {
  572. height: 100%;
  573. width: 100%;
  574. left: 0;
  575. top: 0;
  576. position: absolute;
  577. }
  578. .quote-text {
  579. overflow: hidden;
  580. white-space: pre-wrap;
  581. word-wrap: break-word;
  582. }
  583. .quote-media-container {
  584. display: flex;
  585. flex-direction: column;
  586. align-items: center;
  587. overflow: hidden;
  588. max-height: 102px;
  589. width: 102px;
  590. float: left;
  591. margin-right: 7px;
  592. border-radius: 7px;
  593. }
  594. .quote-media {
  595. display: flex;
  596. justify-content: center;
  597. pointer-events: none;
  598. }
  599. .quote-media img {
  600. width: 100%;
  601. height: 100%;
  602. align-self: center;
  603. }
  604. .quote-badge {
  605. left: 6px;
  606. position: absolute;
  607. z-index: 1;
  608. align-self: flex-end;
  609. }
  610. .quote-badge-text {
  611. margin: 4px;
  612. background: rgba(0, 0, 0, 0.66);
  613. border-radius: 4px;
  614. color: #fffffff0;
  615. padding: 0px 2px;
  616. font-size: 12px;
  617. font-weight: bold;
  618. }
  619. .quote-sensitive {
  620. background: #353535;
  621. width: 102px;
  622. height: 102px;
  623. border-radius: 12px;
  624. display: flex;
  625. justify-content: center;
  626. align-items: center;
  627. }
  628. .quote-sensitive-icon {
  629. font-size: 25px;
  630. width: 37px;
  631. height: 32px;
  632. background-color: #4e4e4e;
  633. padding-bottom: 5px;
  634. margin: 0;
  635. }