style.css 12 KB

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