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