style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698
  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. }
  8. #tweets {
  9. background-color: #161616;
  10. }
  11. #user {
  12. background-color: #242424;
  13. width: 100%;
  14. padding: 5pt;
  15. }
  16. #user > h1 {
  17. color: #ffffff;
  18. }
  19. h1 {
  20. margin: 0;
  21. display: inline;
  22. }
  23. h2 {
  24. margin: 0;
  25. font-weight: normal;
  26. }
  27. h3 {
  28. margin-bottom: 0;
  29. font-weight: normal;
  30. }
  31. h4 {
  32. margin: 0;
  33. }
  34. a {
  35. color: #ff6c60;
  36. text-decoration: none;
  37. }
  38. a:hover {
  39. text-decoration: underline;
  40. }
  41. .status-el {
  42. overflow-wrap: break-word;
  43. border-left-width: 0;
  44. min-width: 0;
  45. padding: .75em;
  46. display: flex;
  47. }
  48. .timeline-tweet {
  49. border-bottom: 1px solid #3e3e35;
  50. }
  51. .status-body {
  52. flex: 1;
  53. min-width: 0;
  54. }
  55. .media-heading {
  56. padding: 0;
  57. vertical-align: bottom;
  58. flex-basis: 100%;
  59. margin-bottom: .2em;
  60. }
  61. .media-heading a {
  62. display: inline-block;
  63. word-break: break-all;
  64. max-width: 100%;
  65. }
  66. .heading-name-row {
  67. padding: 0;
  68. display: flex;
  69. justify-content: space-between;
  70. }
  71. .fullname-and-username {
  72. display: flex;
  73. min-width: 0;
  74. }
  75. .fullname {
  76. overflow: hidden;
  77. text-overflow: ellipsis;
  78. flex-shrink: 2;
  79. max-width: 80%;
  80. white-space: nowrap;
  81. font-size: 14px;
  82. font-weight: 700;
  83. color: #f8f8f2;
  84. }
  85. .username {
  86. min-width: 1.6em;
  87. margin-left: .4em;
  88. white-space: nowrap;
  89. word-wrap: normal;
  90. overflow: hidden;
  91. text-overflow: ellipsis;
  92. }
  93. .icon {
  94. color: #fff;
  95. border-radius: 50%;
  96. display: inline-block;
  97. text-align: center;
  98. vertical-align: middle;
  99. flex-shrink: 0;
  100. margin: 2px 0 3px 3px;
  101. }
  102. .verified-icon {
  103. background-color: #1da1f2;
  104. height: 14px;
  105. width: 14px;
  106. font-size: 10px;
  107. }
  108. .protected-icon {
  109. background-color: #353535;
  110. height: 18px;
  111. width: 18px;
  112. font-size: 12px;
  113. font-weight: bold;
  114. }
  115. .heading-right {
  116. display: flex;
  117. flex-shrink: 0;
  118. margin-left: 4px;
  119. }
  120. .status-el .status-content {
  121. font-family: sans-serif;
  122. line-height: 1.4em;
  123. }
  124. .status-el .media-body {
  125. flex: 1;
  126. padding: 0;
  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. .status-body {
  227. margin-left: 58px;
  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. .thread {
  406. background-color: #161616;
  407. margin-bottom: 10px;
  408. }
  409. .panel {
  410. margin: auto;
  411. font-size: 130%;
  412. }
  413. .error-panel {
  414. background-color: #420a05 !important;
  415. }
  416. .error-panel, .search-panel > form {
  417. padding: 12px;
  418. border-radius: 4px;
  419. display: flex;
  420. background: #222222;
  421. box-shadow: 0 0 15px rgba(0,0,0,.2);
  422. margin: auto;
  423. margin-top: -50px;
  424. }
  425. .search-panel > form > button {
  426. font-size: 14px;
  427. line-height: 24px;
  428. display: block;
  429. border: 0;
  430. border-radius: 4px;
  431. background: #2f2f2f;
  432. color: #f8f8f2;
  433. outline: 0;
  434. text-decoration: none;
  435. text-align: center;
  436. box-sizing: border-box;
  437. cursor: pointer;
  438. font-weight: bold;
  439. width: 37px;
  440. height: 32px;
  441. padding: 0;
  442. }
  443. .search-panel > form > input {
  444. box-sizing: border-box;
  445. font-size: 16px;
  446. display: block;
  447. width: 100%;
  448. outline: 0;
  449. font-family: inherit;
  450. background: #131419;
  451. color: #f8f8f2;
  452. border: 1px solid #0a0b0e;
  453. border-radius: 4px;
  454. padding: 4px;
  455. margin-right: 8px;
  456. }
  457. .profile-card-extra-links {
  458. margin-top: 8px;
  459. font-size: 14px;
  460. }
  461. .profile-statlist {
  462. vertical-align: bottom;
  463. table-layout: fixed;
  464. box-sizing: border-box;
  465. display: flex;
  466. margin: 0;
  467. padding: 0 2px;
  468. width: 100%;
  469. }
  470. .profile-statlist > li {
  471. display: table-cell;
  472. text-align: center;
  473. }
  474. .profile-statlist .tweets {
  475. flex-shrink: 2;
  476. }
  477. .profile-statlist .followers {
  478. flex-grow: 2;
  479. }
  480. .profile-statlist .following {
  481. flex-shrink: 1.5;
  482. }
  483. .profile-stat-header {
  484. font-weight: bold;
  485. }
  486. .timeline-protected {
  487. max-width: 550px;
  488. margin: 0 auto;
  489. padding: 6px 0px;
  490. }
  491. .timeline-protected-header {
  492. color: #d0564c;
  493. font-size: 21px;
  494. font-weight: bold;
  495. }
  496. .media-gif {
  497. display: table-cell;
  498. padding-top: 5px !important;
  499. background-color: unset;
  500. }
  501. video {
  502. height: 100%;
  503. width: 100%;
  504. }
  505. .video-overlay {
  506. width: 100%;
  507. height: 100%;
  508. position: absolute;
  509. top: 0;
  510. left: 0;
  511. z-index: 1;
  512. background-color: #000000bd;
  513. }
  514. .video-overlay p {
  515. position: relative;
  516. z-index: 0;
  517. color: #dcdcdc;
  518. text-align: center;
  519. top: calc(50% - 20px);
  520. font-size: 20px;
  521. }
  522. .quote {
  523. margin-top: 10px;
  524. border: solid 1px #404040;
  525. border-radius: 10px;
  526. background-color: #121212;
  527. }
  528. .quote:hover {
  529. border-color: #808080;
  530. }
  531. .quote-container {
  532. position: relative;
  533. overflow: auto;
  534. padding: 6px;
  535. }
  536. .quote-link {
  537. height: 100%;
  538. width: 100%;
  539. left: 0;
  540. top: 0;
  541. position: absolute;
  542. }
  543. .quote-text {
  544. overflow: hidden;
  545. white-space: pre-wrap;
  546. word-wrap: break-word;
  547. }
  548. .quote-media-container {
  549. display: flex;
  550. flex-direction: column;
  551. align-items: center;
  552. overflow: hidden;
  553. max-height: 102px;
  554. width: 102px;
  555. float: left;
  556. margin-right: 7px;
  557. border-radius: 7px;
  558. }
  559. .quote-media {
  560. display: flex;
  561. justify-content: center;
  562. pointer-events: none;
  563. }
  564. .quote-media img {
  565. width: 100%;
  566. height: 100%;
  567. align-self: center;
  568. }
  569. .quote-badge {
  570. left: 6px;
  571. position: absolute;
  572. z-index: 1;
  573. align-self: flex-end;
  574. }
  575. .quote-badge-text {
  576. margin: 4px;
  577. background: rgba(0, 0, 0, 0.66);
  578. border-radius: 4px;
  579. color: #fffffff0;
  580. padding: 0px 2px;
  581. font-size: 12px;
  582. font-weight: bold;
  583. }
  584. .quote-sensitive {
  585. background: #353535;
  586. width: 102px;
  587. height: 102px;
  588. border-radius: 12px;
  589. display: flex;
  590. justify-content: center;
  591. align-items: center;
  592. }
  593. .quote-sensitive-icon {
  594. font-size: 25px;
  595. width: 37px;
  596. height: 32px;
  597. background-color: #4e4e4e;
  598. padding-bottom: 5px;
  599. margin: 0;
  600. }