style.css 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593
  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. }
  71. .status-el .media-heading .heading-name-row .name-and-account-name {
  72. display: flex;
  73. min-width: 0;
  74. }
  75. .status-el .media-heading .heading-name-row .username {
  76. flex-shrink: 1;
  77. margin-right: .4em;
  78. overflow: hidden;
  79. text-overflow: ellipsis;
  80. }
  81. .status-el .username {
  82. white-space: nowrap;
  83. font-size: 14px;
  84. overflow: hidden;
  85. flex-shrink: 0;
  86. font-weight: 700;
  87. }
  88. .username {
  89. color: #f8f8f2;
  90. }
  91. .verified-icon {
  92. color: #fff;
  93. background-color: #1da1f2;
  94. border-radius: 50%;
  95. display: inline-block;
  96. text-align: center;
  97. vertical-align: middle;
  98. margin-left: 4px;
  99. height: 14px;
  100. width: 14px;
  101. font-size: 10px;
  102. margin-bottom: 2px;
  103. }
  104. .status-el .media-heading .heading-right {
  105. display: flex;
  106. flex-shrink: 0;
  107. }
  108. .status-el .media-heading .heading-name-row .account-name {
  109. min-width: 1.6em;
  110. margin-right: .4em;
  111. flex: 1 1 0;
  112. white-space: nowrap;
  113. word-wrap: normal;
  114. overflow: hidden;
  115. text-overflow: ellipsis;
  116. }
  117. .status-el .media-heading a {
  118. display: inline-block;
  119. word-break: break-all;
  120. }
  121. .status-el .status-content {
  122. font-family: sans-serif;
  123. line-height: 1.4em;
  124. }
  125. .status-el .media-body {
  126. flex: 1;
  127. padding: 0;
  128. }
  129. .container, .item {
  130. display: flex;
  131. }
  132. .container {
  133. flex-wrap: wrap;
  134. margin: 0;
  135. }
  136. #content {
  137. box-sizing: border-box;
  138. padding-top: 50px;
  139. margin: auto;
  140. min-height: 100vh;
  141. background-color: rgba(0,0,0,.15);
  142. }
  143. nav {
  144. z-index: 1000;
  145. background-color: #1f1f1f;
  146. color: hsla(240,1%,73%,.5);
  147. box-shadow: 0 0 4px rgba(0,0,0,.6);
  148. }
  149. .nav-bar {
  150. padding: 0;
  151. width: 100%;
  152. align-items: center;
  153. position: fixed;
  154. height: 50px;
  155. }
  156. .nav-bar .inner-nav {
  157. margin: auto;
  158. box-sizing: border-box;
  159. padding-left: 10px;
  160. padding-right: 10px;
  161. display: flex;
  162. align-items: center;
  163. height: 50px;
  164. }
  165. .item {
  166. flex: 1;
  167. line-height: 50px;
  168. height: 50px;
  169. overflow: hidden;
  170. flex-wrap: wrap;
  171. }
  172. .attachments {
  173. margin-top: .5em;
  174. display: flex;
  175. flex-direction: row;
  176. width: 100%;
  177. max-height: 600px;
  178. border-radius: 7px;
  179. overflow: hidden;
  180. flex-flow: column;
  181. }
  182. .gallery-row {
  183. display: flex;
  184. flex-direction: row;
  185. flex-wrap: nowrap;
  186. align-items: center;
  187. overflow: hidden;
  188. flex-grow: 1;
  189. max-height: 379.5px;
  190. max-width: 506px;
  191. }
  192. .gallery-row .attachment, .gallery-row .attachments {
  193. margin: 0 .25em 0 0;
  194. flex-grow: 1;
  195. box-sizing: border-box;
  196. min-width: 2em;
  197. }
  198. .gallery-row .attachment:last-child, .gallery-row .attachments:last-child {
  199. margin: 0;
  200. }
  201. .attachments .attachment {
  202. position: relative;
  203. line-height: 0;
  204. border-color: #222;
  205. overflow: hidden;
  206. }
  207. .gallery-row .image-attachment {
  208. width: 100%;
  209. }
  210. .attachments .image-attachment {
  211. width: 100%;
  212. }
  213. .still-image {
  214. max-height: 379.5px;
  215. max-width: 506px;
  216. justify-content: center;
  217. }
  218. .still-image img {
  219. object-fit: cover;
  220. max-width: 506px;
  221. max-height: 379.5px;
  222. border-color: #222;
  223. flex-basis: 300px;
  224. }
  225. .status-body {
  226. margin-left: 58px;
  227. }
  228. .avatar {
  229. float: left;
  230. margin-top: 3px;
  231. margin-left: -58px;
  232. position: absolute;
  233. width: 48px;
  234. height: 48px;
  235. border-radius: 50%;
  236. }
  237. .retweet, .pinned, .tweet-stats {
  238. align-content: center;
  239. color: hsla(240,1%,73%,.7);
  240. display: flex;
  241. flex-shrink: 0;
  242. flex-wrap: wrap;
  243. font-size: 14px;
  244. font-weight: 600;
  245. line-height: 22px;
  246. margin: 0;
  247. max-width: 85%;
  248. overflow: hidden;
  249. text-overflow: ellipsis;
  250. white-space: nowrap;
  251. }
  252. .tweet-stat {
  253. padding-top: 5px;
  254. padding-right: 8px;
  255. }
  256. .show-more {
  257. text-align: center;
  258. padding: .75em 0;
  259. display: block;
  260. }
  261. .show-more.status-el {
  262. border-bottom: 1px solid #3e3e35;
  263. }
  264. .show-more a {
  265. background-color: #242424;
  266. display: inline-block;
  267. height: 2em;
  268. padding: 0 2em;
  269. line-height: 2em;
  270. }
  271. .show-more a:hover {
  272. background-color: #282828;
  273. }
  274. .profile-tabs {
  275. max-width: 846px;
  276. margin: 0 auto;
  277. float: none;
  278. border-radius: 0;
  279. position: relative;
  280. width: auto;
  281. }
  282. .timeline-tab {
  283. float: right;
  284. padding: 0 4px;
  285. box-sizing: border-box;
  286. display: inline-block;
  287. font-size: 14px;
  288. margin: 0;
  289. text-align: left;
  290. vertical-align: top;
  291. width: 70% !important;
  292. }
  293. .profile-tab {
  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: 30% !important;
  302. }
  303. .profile-banner {
  304. padding: 0 4px;
  305. }
  306. .profile-banner img {
  307. width: 100%;
  308. padding-bottom: 3px;
  309. }
  310. .profile-banner-color {
  311. width: 100%;
  312. padding-bottom: 25%;
  313. margin-bottom: 8px;
  314. }
  315. .profile-card {
  316. float: left;
  317. flex-wrap: wrap;
  318. margin-top: 0;
  319. background: #161616;
  320. border-radius: 0 0 4px 4px;
  321. padding: 12px;
  322. position: relative;
  323. display: flex;
  324. justify-content: flex-start;
  325. }
  326. .profile-card-tabs {
  327. display: flex;
  328. justify-content: space-between;
  329. align-items: center;
  330. flex: 1 1 auto;
  331. }
  332. .profile-card-tabs-name {
  333. padding-top: 0;
  334. padding-bottom: 0;
  335. }
  336. .profile-card-name, .profile-card-username {
  337. color: #f8f8f2;
  338. }
  339. .profile-card-name {
  340. font-size: 16px;
  341. word-wrap: break-word;
  342. text-shadow: none;
  343. overflow: hidden;
  344. white-space: nowrap;
  345. text-overflow: ellipsis;
  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. }