style.css 9.6 KB

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