style.css 9.3 KB

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