style.css 9.5 KB

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