style.css 11 KB

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