page.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146
  1. :root {
  2. --font-sans: -apple-system, BlinkMacSystemFont, avenir next, avenir, Segoe UI Variable Text, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, tahoma, arial, sans-serif;
  3. --font-serif: Iowan Old Style, Apple Garamond, Baskerville, Georgia, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  4. --font-mono: Menlo, Cascadia Code, Consolas, Monaco, Liberation Mono, Lucida Console, monospace;
  5. }
  6. body {
  7. font-family: var(--font-sans);
  8. font-size: 17px;
  9. line-height: 25px;
  10. padding: 0;
  11. margin: 0;
  12. background-color: var(--td-window-bg);
  13. color: var(--td-window-fg);
  14. zoom: var(--td-zoom-percentage);
  15. }
  16. html.custom_scroll ::-webkit-scrollbar {
  17. border-radius: 5px !important;
  18. border: 3px solid transparent !important;
  19. background-color: var(--td-scroll-bg) !important;
  20. background-clip: content-box !important;
  21. width: 10px !important;
  22. }
  23. html.custom_scroll ::-webkit-scrollbar:hover {
  24. background-color: var(--td-scroll-bg-over) !important;
  25. }
  26. html.custom_scroll ::-webkit-scrollbar-thumb {
  27. border-radius: 5px !important;
  28. border: 3px solid transparent !important;
  29. background-color: var(--td-scroll-bar-bg) !important;
  30. background-clip: content-box !important;
  31. }
  32. html.custom_scroll ::-webkit-scrollbar-thumb:hover {
  33. background-color: var(--td-scroll-bar-bg-over) !important;
  34. }
  35. .fixed_button {
  36. position: fixed;
  37. background-color: var(--td-history-to-down-bg);
  38. border: none;
  39. border-radius: 50%;
  40. width: 32px;
  41. height: 32px;
  42. box-shadow: 0 0 3px 0px var(--td-history-to-down-shadow);
  43. cursor: pointer;
  44. outline: none;
  45. z-index: 1000;
  46. overflow: hidden;
  47. user-select: none;
  48. display: flex;
  49. justify-content: center;
  50. align-items: center;
  51. padding: 0px;
  52. }
  53. .fixed_button:hover {
  54. background-color: var(--td-history-to-down-bg-over);
  55. }
  56. .fixed_button svg {
  57. fill: none;
  58. position: relative;
  59. z-index: 1;
  60. width: 24px;
  61. height: 24px;
  62. }
  63. .fixed_button .ripple .inner {
  64. position: absolute;
  65. border-radius: 50%;
  66. transform: scale(0);
  67. opacity: 1;
  68. animation: ripple 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  69. background-color: var(--td-history-to-down-bg-ripple);
  70. }
  71. .fixed_button .ripple.hiding {
  72. animation: fadeOut 200ms linear forwards;
  73. }
  74. @keyframes ripple {
  75. to {
  76. transform: scale(2);
  77. }
  78. }
  79. @keyframes fadeOut {
  80. to {
  81. opacity: 0;
  82. }
  83. }
  84. @keyframes fadeIn {
  85. to {
  86. opacity: 1;
  87. }
  88. }
  89. #menu_page_blocker {
  90. z-index: 999;
  91. position: fixed;
  92. width: 100%;
  93. height: 100%;
  94. }
  95. #top_shadow {
  96. z-index: 999;
  97. position: fixed;
  98. top: 0;
  99. height: 1px;
  100. width: 100%;
  101. left: 0;
  102. background-color: var(--td-shadow-fg)
  103. }
  104. #bottom_up path {
  105. stroke: var(--td-history-to-down-fg);
  106. }
  107. #bottom_up path {
  108. stroke-width: 1.4;
  109. }
  110. #bottom_up:hover path {
  111. stroke: var(--td-history-to-down-fg-over);
  112. }
  113. #bottom_up {
  114. bottom: 10px;
  115. right: 10px;
  116. transition: bottom 200ms linear;
  117. }
  118. #bottom_up.hidden {
  119. bottom: -36px;
  120. }
  121. .page-scroll {
  122. position: absolute;
  123. width: 100%;
  124. height: 100%;
  125. overflow-x: hidden;
  126. overflow-y: auto;
  127. }
  128. .page-scroll:focus {
  129. outline: none;
  130. }
  131. .page-slide {
  132. position: relative;
  133. width: 100%;
  134. min-height: 100%;
  135. margin-left: 0%;
  136. transition: margin 240ms ease-in-out;
  137. }
  138. .page-footer {
  139. height: 32px;
  140. margin-top: -32px;
  141. background: var(--td-window-bg-over);
  142. }
  143. .page-footer .content {
  144. padding: 3px 18px;
  145. font-size: 15px;
  146. color: var(--td-window-sub-text-fg);
  147. text-align: center;
  148. }
  149. .page-footer .wrong {
  150. position: relative;
  151. padding: 5px;
  152. margin: -5px;
  153. color: var(--td-window-sub-text-fg);
  154. text-decoration: none;
  155. cursor: pointer;
  156. }
  157. .page-footer .wrong:hover {
  158. text-decoration: underline;
  159. }
  160. .hidden-left,
  161. .hidden-right {
  162. pointer-events: none;
  163. }
  164. .hidden-left .page-slide {
  165. margin-left: -100%;
  166. }
  167. .hidden-right .page-slide {
  168. margin-left: 100%;
  169. }
  170. article {
  171. padding-bottom: 40px;
  172. overflow-y: hidden;
  173. overflow-x: auto;
  174. white-space: pre-wrap;
  175. max-width: 732px;
  176. margin: 0 auto;
  177. }
  178. article h1,
  179. article h2 {
  180. font-family: var(--font-serif);
  181. font-size: 28px;
  182. line-height: 31px;
  183. margin: 21px 18px 12px;
  184. font-weight: normal;
  185. min-height: 31px;
  186. }
  187. article h2 {
  188. font-size: 24px;
  189. line-height: 30px;
  190. margin: -6px 18px 12px;
  191. color: var(--td-window-sub-text-fg);
  192. }
  193. article h5 {
  194. margin: 21px 18px 12px;
  195. }
  196. article address {
  197. font-size: 15px;
  198. color: var(--td-window-sub-text-fg);
  199. margin: 12px 18px 21px;
  200. font-style: normal;
  201. }
  202. article.rtl address {
  203. direction: ltr;
  204. text-align: right;
  205. }
  206. article address figure {
  207. width: 25px;
  208. height: 25px;
  209. float: right;
  210. margin: 0 0 0 12px;
  211. background: no-repeat center;
  212. background-size: cover;
  213. border-radius: 50%;
  214. }
  215. article address a,
  216. article address a[href] {
  217. color: var(--td-window-sub-text-fg);
  218. }
  219. article address a[href] {
  220. text-decoration: underline;
  221. }
  222. article a[href] {
  223. color: var(--td-window-active-text-fg);
  224. text-decoration: none;
  225. }
  226. article a.internal-iv-link {
  227. border-radius: 3px;
  228. margin: 0px -3px;
  229. padding: 0px 3px;
  230. position: relative;
  231. background: var(--td-light-button-bg-over);
  232. color: var(--td-light-button-fg);
  233. }
  234. article span.reference {
  235. border: dotted var(--td-window-sub-text-fg);
  236. border-width: 1px 1px 1px 2px;
  237. background: rgba(255, 255, 255, 0.7);
  238. margin: 0 1px;
  239. padding: 2px;
  240. position: relative;
  241. }
  242. article.rtl span.reference {
  243. border-width: 1px 0 1px 1px;
  244. }
  245. article code {
  246. font-size: 0.94em;
  247. background: var(--td-box-divider-bg);
  248. border-radius: 2px;
  249. padding: 0 3px 1px;
  250. }
  251. article mark {
  252. background: var(--td-window-bg-over);
  253. color: var(--td-window-fg);
  254. border-radius: 2px;
  255. padding: 0 3px 1px;
  256. }
  257. article sup,
  258. article sub {
  259. font-size: 0.75em;
  260. line-height: 1;
  261. }
  262. article p {
  263. margin: 0 18px 12px;
  264. word-wrap: break-word;
  265. }
  266. article ul p,
  267. article ol p {
  268. margin: 0 0 6px;
  269. }
  270. article pre,
  271. article pre.hljs {
  272. font-family: var(--font-mono);
  273. margin: 14px 0;
  274. padding: 7px 18px;
  275. background: var(--td-box-divider-bg);
  276. font-size: 16px;
  277. white-space: pre-wrap;
  278. word-wrap: break-word;
  279. overflow-x: visible;
  280. position: relative;
  281. }
  282. article ul pre,
  283. article ol pre,
  284. article ul pre.hljs,
  285. article ol pre.hljs {
  286. margin: 6px 0 6px -18px;
  287. }
  288. article.rtl ul pre,
  289. article.rtl ol pre,
  290. article.rtl ul pre.hljs,
  291. article.rtl ol pre.hljs {
  292. margin-right: -18px;
  293. margin-left: 0;
  294. }
  295. article pre + pre {
  296. margin-top: -14px;
  297. }
  298. article h3,
  299. article h4 {
  300. font-family: var(--font-serif);
  301. font-size: 24px;
  302. line-height: 30px;
  303. margin: 18px 18px 9px;
  304. font-weight: normal;
  305. }
  306. article h4 {
  307. font-size: 19px;
  308. margin: 18px 18px 7px;
  309. }
  310. article ul h3,
  311. article ol h3 {
  312. margin: 12px 0 7px;
  313. }
  314. article ul h4,
  315. article ol h4 {
  316. margin: 10px 0 5px;
  317. }
  318. article blockquote {
  319. font-family: var(--font-serif);
  320. margin: 18px 18px 16px;
  321. padding-left: 22px;
  322. position: relative;
  323. font-style: italic;
  324. word-wrap: break-word;
  325. }
  326. article blockquote:before {
  327. content: '';
  328. position: absolute;
  329. left: 1px;
  330. top: 3px;
  331. bottom: 3px;
  332. width: 3px;
  333. background-color: var(--td-window-bg-active);
  334. border-radius: 3px;
  335. }
  336. article.rtl blockquote {
  337. padding-right: 22px;
  338. padding-left: 0;
  339. }
  340. article.rtl blockquote:before {
  341. right: 1px;
  342. left: auto;
  343. }
  344. article aside {
  345. font-family: var(--font-serif);
  346. margin: 18px 18px 16px;
  347. padding: 0 18px;
  348. text-align: center;
  349. font-style: italic;
  350. }
  351. article ul blockquote,
  352. article ol blockquote,
  353. article ul aside,
  354. article ol aside {
  355. margin: 12px 0 10px;
  356. }
  357. article blockquote cite,
  358. article aside cite,
  359. article footer cite,
  360. article .pullquote cite {
  361. font-family: var(--font-sans);
  362. font-size: 15px;
  363. display: block;
  364. color: var(--td-window-sub-text-fg);
  365. line-height: 19px;
  366. padding: 5px 0 2px;
  367. font-style: normal;
  368. }
  369. article hr {
  370. width: 50%;
  371. margin: 36px auto 26px;
  372. padding: 2px 0 10px;
  373. border: none;
  374. }
  375. article ul hr,
  376. article ol hr {
  377. margin: 18px auto;
  378. }
  379. article hr:before {
  380. content: '';
  381. display: block;
  382. border-top: 1px solid var(--td-window-sub-text-fg);
  383. padding: 0 0 2px;
  384. }
  385. article footer hr {
  386. margin: 18px auto 6px;
  387. }
  388. article ul,
  389. article ol {
  390. margin: 0 18px 12px;
  391. padding-left: 18px;
  392. }
  393. article.rtl ul,
  394. article.rtl ol {
  395. padding-right: 18px;
  396. padding-left: 0;
  397. }
  398. /*article ul {
  399. list-style: none;
  400. }*/
  401. article ul > li,
  402. article ol > li {
  403. padding-left: 4px;
  404. }
  405. article.rtl ul > li,
  406. article.rtl ol > li {
  407. padding-right: 4px;
  408. padding-left: 0;
  409. }
  410. /*article ul > li {
  411. position: relative;
  412. }
  413. article ul > li:before {
  414. content: '\2022';
  415. position: absolute;
  416. display: block;
  417. font-size: 163%;
  418. left: -19px;
  419. top: 1px;
  420. }
  421. article.rtl ul > li:before {
  422. left: auto;
  423. right: -19px;
  424. }*/
  425. article ul ul,
  426. article ul ol,
  427. article ol ul,
  428. article ol ol {
  429. margin: 0 0 12px;
  430. }
  431. article table {
  432. width: 100%;
  433. border-collapse: collapse;
  434. }
  435. article table.bordered,
  436. article table.bordered td,
  437. article table.bordered th {
  438. border: 1px solid var(--td-history-to-down-shadow);
  439. }
  440. article table.striped tr:nth-child(odd) td {
  441. background-color: var(--td-box-divider-bg);
  442. }
  443. article table caption {
  444. font-size: 15px;
  445. line-height: 18px;
  446. margin: 4px 0 7px;
  447. text-align: left;
  448. color: var(--td-window-sub-text-fg);
  449. }
  450. article.rtl table caption {
  451. text-align: right;
  452. }
  453. article td,
  454. article th {
  455. font-size: 15px;
  456. line-height: 21px;
  457. padding: 6px 5px 5px;
  458. background-color: var(--td-window-bg);
  459. vertical-align: middle;
  460. font-weight: normal;
  461. text-align: left;
  462. }
  463. article th {
  464. background-color: var(--td-box-divider-bg);
  465. }
  466. article.rtl table td,
  467. article.rtl table th {
  468. text-align: right;
  469. }
  470. article details {
  471. position: relative;
  472. margin: 0 0 12px;
  473. padding: 0 0 1px;
  474. }
  475. article details:before {
  476. content: '';
  477. display: block;
  478. border-bottom: 1px solid var(--td-history-to-down-shadow);
  479. position: absolute;
  480. left: 18px;
  481. right: 0;
  482. bottom: 0;
  483. }
  484. article.rtl details:before {
  485. right: 18px;
  486. left: 0;
  487. }
  488. article details + details {
  489. margin-top: -12px;
  490. }
  491. article details > details:last-child {
  492. margin-bottom: -1px;
  493. }
  494. article summary {
  495. padding: 10px 18px 10px 42px;
  496. line-height: 25px;
  497. min-height: 25px;
  498. }
  499. article.rtl summary {
  500. padding-left: 18px;
  501. padding-right: 42px;
  502. }
  503. article summary:hover {
  504. cursor: pointer;
  505. }
  506. article summary:focus {
  507. outline: none;
  508. }
  509. article summary::-webkit-details-marker {
  510. display: none;
  511. }
  512. article summary::marker {
  513. content: '';
  514. }
  515. article summary:before {
  516. content: '';
  517. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAICAYAAADN5B7xAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAH1JREFUeNqEjUEKgCAQRSfrNi1bdZFadJjsMC46SSAIHqjB5mcFqdFfhD3eUyKZtb6ln92O2janmXdvrRu+ZTfAgasu1jAHU4qiHAwc/Ff4oCQKsxxZ0NT33XrxUTjkWvgiXFf3TWkU6Vt+XihH515yFiQRpfLnEMUw3yHAABZNTT9emBrvAAAAAElFTkSuQmCC');
  518. transition: all .2s ease;
  519. display: inline-block;
  520. position: absolute;
  521. width: 12px;
  522. height: 8px;
  523. left: 18px;
  524. top: 18px;
  525. }
  526. article.rtl summary:before {
  527. right: 18px;
  528. left: auto;
  529. }
  530. @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  531. article summary:before {
  532. background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAQCAYAAAAMJL+VAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAPxJREFUeNq8lEESgiAUhgFbZ0epSW28gB2pZbrrSukBHDWto1TrwHih45AiaDOxesLP9w1PBlzXNfrLSNPqkGWV8ysHGMBqv4mAlyFC7MRPk+T51Z0Lh73AAJZgIoRFUR/bEMb4TggJPG9TTIUzxmIuWHWzOCLfQQgwRiedRMBpIsObFvn+NgSTLEE2bCiKm6eDQ0bAkS2v4AjYuPvJcqtEu9DDshaB665zFZzSV6yCfyr5JplLTOA9wZiEg/a+72Qic9nxubMOPijQSZraCK4UjEiezSVYmsBHBSrJAEIJ1wr0knG4kUAt0cONBX2JGXzGi1uG7SNmOt4CDADc4r+K4txg+wAAAABJRU5ErkJggg==');
  533. background-size: 12px 8px;
  534. }
  535. }
  536. article details[open] > summary:before {
  537. /*transform: rotateZ(-180deg);*/
  538. transform: scaleY(-1);
  539. }
  540. article li summary {
  541. padding-left: 24px;
  542. }
  543. article li details:before,
  544. article li summary:before {
  545. left: 0;
  546. }
  547. img,
  548. video,
  549. iframe {
  550. max-width: 100%;
  551. max-height: 480px;
  552. vertical-align: top;
  553. }
  554. video {
  555. width: 100%;
  556. }
  557. audio {
  558. width: 100%;
  559. width: calc(100% - 36px);
  560. margin: 0 18px;
  561. vertical-align: top;
  562. }
  563. img {
  564. font-size: 12px;
  565. line-height: 14px;
  566. color: var(--td-window-sub-text-fg);
  567. }
  568. img.pic {
  569. max-height: none;
  570. font-size: inherit;
  571. vertical-align: middle;
  572. position: relative;
  573. top: -0.1em;
  574. }
  575. img.pic.optional {
  576. opacity: 0.4;
  577. }
  578. body:hover img.pic.optional {
  579. opacity: 1;
  580. }
  581. iframe.autosize {
  582. max-height: none;
  583. }
  584. .iframe-wrap {
  585. max-width: 100%;
  586. vertical-align: top;
  587. display: inline-block;
  588. position: relative;
  589. }
  590. .iframe-wrap iframe {
  591. position: absolute;
  592. width: 100%;
  593. height: 100%;
  594. top: 0;
  595. left: 0;
  596. }
  597. figure {
  598. margin: 0 0 16px;
  599. padding: 0;
  600. text-align: center;
  601. position: relative;
  602. }
  603. figure.nowide {
  604. margin-left: 18px;
  605. margin-right: 18px;
  606. }
  607. figure.nowide figcaption {
  608. padding-left: 0;
  609. padding-right: 0;
  610. }
  611. ul figure.nowide,
  612. ol figure.nowide {
  613. margin: 0 0 12px;
  614. }
  615. figure > figure {
  616. margin: 0;
  617. }
  618. figcaption {
  619. font-size: 15px;
  620. color: var(--td-window-sub-text-fg);
  621. padding: 6px 18px 0;
  622. line-height: 19px;
  623. text-align: left;
  624. }
  625. article.rtl figcaption {
  626. text-align: right;
  627. }
  628. ul figcaption,
  629. ol figcaption {
  630. padding-left: 0;
  631. padding-right: 0;
  632. }
  633. figcaption > cite {
  634. font-family: var(--font-sans);
  635. font-size: 12px;
  636. display: block;
  637. line-height: 15px;
  638. padding: 2px 0 0;
  639. font-style: normal;
  640. }
  641. footer {
  642. margin: 12px 18px;
  643. color: var(--td-window-sub-text-fg);
  644. }
  645. figure.slideshow-wrap {
  646. position: relative;
  647. }
  648. figure.slideshow {
  649. position: absolute;
  650. top: 0px;
  651. white-space: nowrap;
  652. width: 100%;
  653. background: #000;
  654. overflow: hidden;
  655. }
  656. figure.slideshow a {
  657. transition: margin 200ms ease-in-out;
  658. }
  659. figure.slideshow .photo-wrap,
  660. figure.slideshow .video-wrap {
  661. position: static !important;
  662. display: inline-block;
  663. margin: 0;
  664. vertical-align: middle;
  665. }
  666. .slideshow-buttons {
  667. position: absolute;
  668. width: 100%;
  669. bottom: 10px;
  670. white-space: nowrap;
  671. overflow: hidden;
  672. z-index: 5;
  673. }
  674. .slideshow-buttons > fieldset {
  675. padding: 0;
  676. margin: 0;
  677. border: none;
  678. line-height: 0;
  679. overflow: hidden;
  680. overflow-x: auto;
  681. min-width: auto;
  682. }
  683. .slideshow-buttons label {
  684. display: inline-block;
  685. padding: 7px;
  686. cursor: pointer;
  687. }
  688. .slideshow-buttons input {
  689. position: absolute;
  690. left: -10000px;
  691. }
  692. .slideshow-buttons label i {
  693. display: inline-block;
  694. background: #fff;
  695. box-shadow: 0 0 3px rgba(0, 0, 0, .4);
  696. border-radius: 3.5px;
  697. width: 7px;
  698. height: 7px;
  699. opacity: .6;
  700. transition: opacity .3s;
  701. }
  702. .slideshow-buttons input:checked ~ i {
  703. opacity: 1;
  704. }
  705. .slideshow-next,
  706. .slideshow-prev {
  707. position: absolute;
  708. z-index: 4;
  709. top: 0;
  710. width: 25%;
  711. max-width: 128px;
  712. height: 100%;
  713. cursor: pointer;
  714. transition: opacity 200ms ease-in-out;
  715. user-select: none;
  716. opacity: 0.6;
  717. }
  718. .slideshow-next {
  719. right: 0;
  720. background: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  721. }
  722. .slideshow-prev {
  723. left: 0;
  724. background: linear-gradient(to left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 100%);
  725. }
  726. .slideshow-next:hover {
  727. opacity: 1;
  728. }
  729. .slideshow-prev:hover {
  730. opacity: 1;
  731. }
  732. .slideshow-prev svg,
  733. .slideshow-next svg {
  734. fill: none;
  735. top: calc(50% - 12px);
  736. position: absolute;
  737. z-index: 5;
  738. width: 24px;
  739. height: 24px;
  740. pointer-events: none;
  741. }
  742. .slideshow-prev svg {
  743. left: calc(min(50% - 12px, 20px));
  744. }
  745. .slideshow-next svg {
  746. right: calc(min(50% - 12px, 20px));
  747. }
  748. .slideshow-prev path,
  749. .slideshow-next path {
  750. stroke-width: 1.4;
  751. stroke: #fff;
  752. }
  753. figure.collage-wrap {
  754. margin: 0px 12px;
  755. }
  756. figure.collage-wrap figcaption {
  757. padding: 6px 6px 0px;
  758. }
  759. figure.collage {
  760. overflow: hidden;
  761. border-radius: 6px;
  762. }
  763. figure.collage .photo-wrap,
  764. figure.collage .video-wrap {
  765. position: absolute;
  766. }
  767. figure.collage .photo-wrap .photo {
  768. background-size: cover;
  769. }
  770. figure.collage .video-wrap video {
  771. object-fit: cover;
  772. position: absolute;
  773. top: 50%;
  774. left: 50%;
  775. width: auto;
  776. height: auto;
  777. min-width: 100%;
  778. min-height: 100%;
  779. transform: translate(-50%, -50%);
  780. }
  781. figure.collage .video-wrap .video-small,
  782. video[autoplay] {
  783. pointer-events: none;
  784. }
  785. figure.table-wrap {
  786. overflow: auto;
  787. -webkit-overflow-scrolling: touch;
  788. }
  789. figure.table {
  790. display: table-cell;
  791. padding: 0 18px;
  792. }
  793. article ol figure.table-wrap,
  794. article ul figure.table-wrap {
  795. margin-top: 7px;
  796. }
  797. article ol figure.table,
  798. article ul figure.table {
  799. padding: 0;
  800. }
  801. figure blockquote.embed-post {
  802. text-align: left;
  803. margin-bottom: 0;
  804. }
  805. article.rtl figure blockquote.embed-post {
  806. text-align: right;
  807. }
  808. blockquote.embed-post address {
  809. margin: 0;
  810. padding: 5px 0 9px;
  811. overflow: hidden;
  812. }
  813. blockquote.embed-post address figure {
  814. width: 50px;
  815. height: 50px;
  816. float: left;
  817. margin: 0 12px 0 0;
  818. background: no-repeat center;
  819. background-size: cover;
  820. border-radius: 50%;
  821. }
  822. article.rtl blockquote.embed-post address figure {
  823. float: right;
  824. margin-left: 12px;
  825. margin-right: 0;
  826. }
  827. blockquote.embed-post address a {
  828. display: inline-block;
  829. padding-top: 2px;
  830. font-size: 17px;
  831. font-weight: 600;
  832. color: var(--td-window-fg);
  833. }
  834. blockquote.embed-post address time {
  835. display: block;
  836. line-height: 19px;
  837. }
  838. blockquote.embed-post p,
  839. blockquote.embed-post blockquote {
  840. margin: 0 0 7px;
  841. clear: left;
  842. }
  843. blockquote.embed-post figcaption {
  844. padding-left: 0;
  845. padding-right: 0;
  846. }
  847. blockquote.embed-post figure.collage {
  848. margin-left: -2px;
  849. margin-right: -2px;
  850. }
  851. blockquote.embed-post footer {
  852. margin: 12px 0 0;
  853. font-style: normal;
  854. }
  855. blockquote.embed-post footer hr {
  856. display: none;
  857. }
  858. section.embed-post {
  859. display: block;
  860. width: auto;
  861. height: auto;
  862. background: var(--td-box-divider-bg);
  863. margin: 0 18px 12px;
  864. padding: 24px 18px;
  865. text-align: center;
  866. }
  867. section.embed-post strong {
  868. font-size: 21px;
  869. font-weight: normal;
  870. display: block;
  871. color: var(--td-window-sub-text-fg);
  872. }
  873. section.embed-post small {
  874. display: block;
  875. color: var(--td-window-sub-text-fg);
  876. }
  877. section.related {
  878. margin: 7px 0 12px;
  879. }
  880. section.related h4 {
  881. font-family: var(--font-sans);
  882. font-size: 17px;
  883. line-height: 26px;
  884. font-weight: 500;
  885. display: block;
  886. padding: 7px 18px;
  887. background: var(--td-box-divider-bg);
  888. margin: 0;
  889. color: var(--td-window-fg);
  890. }
  891. section.related a.related-link {
  892. display: block;
  893. padding: 15px 18px 16px;
  894. background: var(--td-window-bg);
  895. position: relative;
  896. overflow: hidden;
  897. }
  898. section.related a.related-link:after {
  899. content: '';
  900. display: block;
  901. border-bottom: 1px solid var(--td-history-to-down-shadow);
  902. position: absolute;
  903. left: 18px;
  904. right: 0;
  905. bottom: 0;
  906. }
  907. section.related a.related-link:last-child:after {
  908. border-bottom: 0px;
  909. }
  910. section.related .related-link-url {
  911. display: block;
  912. font-size: 15px;
  913. line-height: 18px;
  914. padding: 7px 0;
  915. color: var(--td-window-sub-text-fg);
  916. word-break: break-word;
  917. }
  918. section.related .related-link-thumb {
  919. display: inline-block;
  920. float: right;
  921. width: 87px;
  922. height: 87px;
  923. border-radius: 4px;
  924. background: no-repeat center;
  925. background-size: cover;
  926. margin-left: 15px;
  927. }
  928. section.related .related-link-content {
  929. display: block;
  930. margin: -3px 0;
  931. }
  932. section.related .related-link-title {
  933. font-size: 15px;
  934. font-weight: 500;
  935. line-height: 18px;
  936. display: block;
  937. display: -webkit-box;
  938. margin-bottom: 4px;
  939. max-height: 36px;
  940. -webkit-line-clamp: 2;
  941. -webkit-box-orient: vertical;
  942. overflow: hidden;
  943. text-overflow: ellipsis;
  944. white-space: pre-wrap;
  945. color: var(--td-window-fg);
  946. }
  947. section.related .related-link-desc {
  948. font-size: 14px;
  949. line-height: 17px;
  950. display: block;
  951. display: -webkit-box;
  952. max-height: 51px;
  953. -webkit-line-clamp: 3;
  954. -webkit-box-orient: vertical;
  955. overflow: hidden;
  956. text-overflow: ellipsis;
  957. white-space: pre-wrap;
  958. color: var(--td-window-fg);
  959. }
  960. section.related .related-link-source {
  961. font-size: 13px;
  962. line-height: 17px;
  963. display: block;
  964. overflow: hidden;
  965. margin-top: 4px;
  966. text-overflow: ellipsis;
  967. white-space: nowrap;
  968. color: var(--td-window-sub-text-fg);
  969. }
  970. section.message {
  971. position: absolute;
  972. display: table;
  973. width: 100%;
  974. height: 100%;
  975. }
  976. section.message.static {
  977. position: static;
  978. min-height: 200px;
  979. height: 100vh;
  980. }
  981. section.message > aside {
  982. display: table-cell;
  983. vertical-align: middle;
  984. text-align: center;
  985. color: var(--td-window-sub-text-fg);
  986. font-size: 24px;
  987. pointer-events: none;
  988. }
  989. section.message > aside > cite {
  990. display: block;
  991. font-size: 14px;
  992. padding: 10px 0 0;
  993. font-style: normal;
  994. color: var(--td-window-sub-text-fg);
  995. }
  996. section.channel {
  997. margin-top: -16px;
  998. margin-bottom: -9px;
  999. }
  1000. section.channel:first-child {
  1001. margin-top: 0;
  1002. }
  1003. section.channel > a {
  1004. display: block;
  1005. background: var(--td-box-divider-bg);
  1006. }
  1007. section.channel > a > div.join {
  1008. color: var(--td-window-active-text-fg);
  1009. font-weight: 500;
  1010. padding: 7px 18px;
  1011. float: right;
  1012. }
  1013. section.channel.joined > a > div.join {
  1014. display: none;
  1015. }
  1016. section.channel > a > div.join:hover {
  1017. text-decoration: underline;
  1018. }
  1019. section.channel > a > div.join span:before {
  1020. content: var(--td-lng-iv-join-channel);
  1021. }
  1022. section.channel > a > h4 {
  1023. font-family: var(--font-sans);
  1024. font-size: 17px;
  1025. line-height: 26px;
  1026. font-weight: 500;
  1027. margin: 0;
  1028. color: var(--td-window-fg);
  1029. white-space: nowrap;
  1030. overflow: hidden;
  1031. text-overflow: ellipsis;
  1032. padding: 7px 18px;
  1033. }
  1034. .pullquote {
  1035. text-align: center;
  1036. max-width: 420px;
  1037. font-size: 19px;
  1038. display: block;
  1039. margin: 0 auto;
  1040. }
  1041. .media-outer {
  1042. margin-bottom: 16px;
  1043. }
  1044. .photo-wrap,
  1045. .video-wrap {
  1046. width: 100%;
  1047. margin: 0 auto;
  1048. position: relative;
  1049. overflow: hidden;
  1050. }
  1051. .photo-bg,
  1052. .video-bg {
  1053. background-size: cover;
  1054. background-position: center;
  1055. background-repeat: no-repeat;
  1056. position: absolute;
  1057. filter: blur(16px);
  1058. width: 100%;
  1059. height: 100%;
  1060. }
  1061. .video-bg,
  1062. video {
  1063. position: absolute;
  1064. top: 0px;
  1065. }
  1066. .photo {
  1067. position: relative;
  1068. background-size: contain;
  1069. background-position: center;
  1070. background-repeat: no-repeat;
  1071. }
  1072. .photo,
  1073. video {
  1074. opacity: 0;
  1075. transition: opacity 300ms ease-in-out;
  1076. }
  1077. .photo.loaded,
  1078. video.loaded {
  1079. opacity: 1;
  1080. }
  1081. .video-play-outer {
  1082. position: relative;
  1083. width: 100%;
  1084. height: 100%;
  1085. display: flex;
  1086. justify-content: center;
  1087. align-items: center;
  1088. }
  1089. .video-play {
  1090. position: relative;
  1091. width: 48px;
  1092. height: 0;
  1093. padding-top: 48px;
  1094. max-width: 48px;
  1095. max-height: 48px;
  1096. background-color: rgba(0, 0, 0, 0.34);
  1097. border-radius: 50%;
  1098. display: flex;
  1099. justify-content: center;
  1100. align-items: center;
  1101. overflow: hidden;
  1102. }
  1103. .video-play::before {
  1104. content: '';
  1105. position: absolute;
  1106. margin: -48px -4px 0px 0px;
  1107. width: 0;
  1108. height: 0;
  1109. border-style: solid;
  1110. border-width: 10px 0 10px 16px;
  1111. border-color: transparent transparent transparent white;
  1112. }
  1113. .toast {
  1114. position: fixed;
  1115. top: 50%;
  1116. left: 50%;
  1117. transform: translate(-50%, -50%);
  1118. background-color: var(--td-toast-bg);
  1119. color: var(--td-toast-fg);
  1120. padding: 10px 20px;
  1121. border-radius: 6px;
  1122. z-index: 9999;
  1123. opacity: 0;
  1124. animation: fadeIn 200ms linear forwards;
  1125. }
  1126. .toast.hiding {
  1127. opacity: 1;
  1128. animation: fadeOut 1000ms linear forwards;
  1129. }