style.css 11 KB

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