common.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296
  1. /* Layout */
  2. * {
  3. margin: 0;
  4. padding: 0;
  5. box-sizing: border-box;
  6. }
  7. html {
  8. -webkit-text-size-adjust: 100%;
  9. text-size-adjust: 100%;
  10. }
  11. body {
  12. font-family: var(--font-family);
  13. text-rendering: optimizeLegibility;
  14. color: var(--body-color);
  15. background: var(--body-background);
  16. }
  17. hr {
  18. border: 0;
  19. height: 0;
  20. border-top: 1px dotted var(--hr-border-color);
  21. padding-bottom: 10px;
  22. }
  23. h1, h2, h3 {
  24. color: var(--title-color);
  25. }
  26. main {
  27. padding-left: 3px;
  28. padding-right: 3px;
  29. margin-bottom: 30px;
  30. }
  31. a {
  32. color: var(--link-color);
  33. }
  34. a:focus {
  35. outline: 0;
  36. color: var(--link-focus-color);
  37. text-decoration: none;
  38. outline: 1px dotted #aaa;
  39. }
  40. a:hover {
  41. color: var(--link-hover-color);
  42. text-decoration: none;
  43. }
  44. .sr-only {
  45. border: 0 !important;
  46. clip: rect(1px, 1px, 1px, 1px) !important;
  47. clip-path: inset(50%) !important;
  48. height: 1px !important;
  49. overflow: hidden !important;
  50. margin: -1px !important;
  51. padding: 0 !important;
  52. position: absolute !important;
  53. width: 1px !important;
  54. white-space: nowrap !important;
  55. }
  56. .skip-to-content-link {
  57. --padding-size: 8px;
  58. --border-size: 1px;
  59. background-color: var(--category-background-color);
  60. color: var(--category-color);
  61. border: var(--border-size) solid var(--category-border-color);
  62. border-radius: 5px;
  63. inset-inline-start: 50%;
  64. padding: var(--padding-size);
  65. position: absolute;
  66. transition: translate 0.3s;
  67. translate: -50% calc(-100% - calc(var(--padding-size) * 2) - calc(var(--border-size) * 2));
  68. }
  69. .skip-to-content-link:focus {
  70. translate: -50% 0;
  71. }
  72. /* Header and main menu */
  73. .header {
  74. margin-top: 10px;
  75. margin-bottom: 20px;
  76. }
  77. .header nav {
  78. display: flex;
  79. align-items: stretch;
  80. flex-direction: column;
  81. }
  82. .header nav .logo svg {
  83. padding: 5px;
  84. inline-size: 24px;
  85. block-size: 24px;
  86. }
  87. .header nav .logo[aria-expanded="true"] svg {
  88. rotate: 180deg;
  89. }
  90. .header ul.js-menu-show {
  91. display: initial;
  92. }
  93. .header ul:not(.js-menu-show) {
  94. display: none;
  95. }
  96. .header li {
  97. cursor: pointer;
  98. padding-left: 10px;
  99. line-height: 2.1em;
  100. font-size: 1.2em;
  101. border-bottom: 1px dotted var(--header-list-border-color);
  102. }
  103. .header li a:hover {
  104. color: #888;
  105. }
  106. .header :is(a, summary) {
  107. font-size: 0.9em;
  108. color: var(--header-link-color);
  109. text-decoration: none;
  110. border: none;
  111. font-weight: 400;
  112. }
  113. .header .active a {
  114. color: var(--header-active-link-color);
  115. /* Note: Firefox on Windows does not show the link as bold if the value is under 600 */
  116. font-weight: 600;
  117. }
  118. .header a:focus {
  119. color: var(--header-link-focus-color);
  120. }
  121. /* Page header and footer*/
  122. .page-header {
  123. padding-inline: 3px;
  124. margin-bottom: 25px;
  125. }
  126. .page-footer {
  127. margin-bottom: 10px;
  128. }
  129. .page-header h1 {
  130. font-weight: 500;
  131. border-bottom: 1px dotted var(--page-header-title-border-color);
  132. font-size: 1.5rem;
  133. }
  134. .page-header h1 a {
  135. text-decoration: none;
  136. color: var(--page-header-title-color);
  137. }
  138. .page-header h1 a:hover,
  139. .page-header h1 a:focus {
  140. color: #666;
  141. }
  142. .page-header li,
  143. .page-footer li {
  144. list-style-type: none;
  145. line-height: 1.8em;
  146. white-space: nowrap;
  147. }
  148. .page-header ul a .icon {
  149. padding-bottom: 2px;
  150. }
  151. .page-header-action-form {
  152. display: inline-flex;
  153. }
  154. :is(.page-button, .page-link) {
  155. color: var(--link-color);
  156. border: none;
  157. background-color: transparent;
  158. font-size: 1rem;
  159. cursor: pointer;
  160. &:is(:hover, :focus) {
  161. color: var(--link-hover-color);
  162. }
  163. }
  164. .page-button:active {
  165. translate: 1px 1px;
  166. }
  167. /* Logo */
  168. .logo {
  169. text-align: center;
  170. display: flex;
  171. justify-content: center;
  172. }
  173. .logo a {
  174. color: var(--logo-color);
  175. letter-spacing: 1px;
  176. display: flex;
  177. align-items: center;
  178. }
  179. .logo a:hover {
  180. color: #339966;
  181. }
  182. .logo a span {
  183. color: #339966;
  184. }
  185. .logo a:hover span {
  186. color: var(--logo-hover-color-span);
  187. }
  188. /* PWA prompt */
  189. #prompt-home-screen {
  190. display: none;
  191. position: fixed;
  192. bottom: 0;
  193. right: 0;
  194. width: 100%;
  195. text-align: center;
  196. background: #000;
  197. opacity: 85%;
  198. }
  199. #btn-add-to-home-screen {
  200. text-decoration: none;
  201. line-height: 30px;
  202. color: #fff;
  203. background-color: transparent;
  204. border: 0;
  205. }
  206. #btn-add-to-home-screen:hover {
  207. color: red;
  208. }
  209. /* Notification - "Toast" */
  210. #toast-wrapper {
  211. visibility: hidden;
  212. opacity: 0;
  213. position: fixed;
  214. left: 0;
  215. bottom: 10%;
  216. color: #fff;
  217. width: 100%;
  218. text-align: center;
  219. }
  220. #toast-msg {
  221. background-color: rgba(0,0,0,0.7);
  222. padding-bottom: 4px;
  223. padding-left: 4px;
  224. padding-right: 5px;
  225. border-radius: 5px;
  226. }
  227. .toast-animate {
  228. animation: toastKeyFrames 2s;
  229. }
  230. @keyframes toastKeyFrames {
  231. 0% {visibility: hidden; opacity: 0;}
  232. 25% {visibility: visible; opacity: 1; z-index: 9999}
  233. 50% {visibility: visible; opacity: 1; z-index: 9999}
  234. 75% {visibility: visible; opacity: 1; z-index: 9999}
  235. 100% {visibility: hidden; opacity: 0; z-index: 0}
  236. }
  237. /* Hide the logo when there is not enough space to display menus when using languages more verbose than English */
  238. @media (min-width: 620px) and (max-width: 830px) {
  239. .logo {
  240. display: none;
  241. }
  242. }
  243. @media (min-width: 830px) {
  244. .logo {
  245. padding-right: 8px;
  246. }
  247. }
  248. @media (min-width: 620px) {
  249. body {
  250. margin: auto;
  251. max-width: 820px;
  252. }
  253. .header {
  254. padding-left: 3px;
  255. }
  256. .header li {
  257. display: inline-block;
  258. padding: 0 12px 0 0;
  259. line-height: normal;
  260. border: none;
  261. font-size: 1.0em;
  262. }
  263. .header nav {
  264. align-items: end;
  265. flex-direction: row;
  266. }
  267. .header .logo svg {
  268. display: none;
  269. }
  270. .header ul:not(.js-menu-show), .header ul.js-menu-show {
  271. display: revert;
  272. }
  273. .header :is(a, summary):hover {
  274. color: var(--header-link-hover-color);
  275. }
  276. .page-header li,
  277. .page-footer li {
  278. display: inline;
  279. padding-right: 15px;
  280. }
  281. .pagination-backward,
  282. .pagination-forward {
  283. display: flex;
  284. }
  285. }
  286. /* Tables */
  287. table {
  288. width: 100%;
  289. border-collapse: collapse;
  290. }
  291. table, th, td {
  292. border: 1px solid var(--table-border-color);
  293. }
  294. th, td {
  295. padding: 5px;
  296. text-align: left;
  297. }
  298. td {
  299. vertical-align: top;
  300. }
  301. th {
  302. background: var(--table-th-background);
  303. color: var(--table-th-color);
  304. font-weight: 400;
  305. }
  306. tr:hover {
  307. color: var(--table-tr-hover-color);
  308. background-color: var(--table-tr-hover-background-color);
  309. }
  310. .column-40 {
  311. width: 40%;
  312. }
  313. .column-25 {
  314. width: 25%;
  315. }
  316. .column-20 {
  317. width: 20%;
  318. }
  319. /* Forms */
  320. fieldset {
  321. border: 1px dotted #ddd;
  322. padding: 8px;
  323. margin-bottom: 20px;
  324. }
  325. legend {
  326. font-weight: 500;
  327. padding-left: 3px;
  328. padding-right: 3px;
  329. }
  330. label {
  331. cursor: pointer;
  332. display: block;
  333. }
  334. .radio-group {
  335. line-height: 1.9em;
  336. }
  337. div.radio-group label {
  338. display: inline-block;
  339. }
  340. select {
  341. margin-bottom: 15px;
  342. }
  343. input[type="search"],
  344. input[type="url"],
  345. input[type="password"],
  346. input[type="text"],
  347. input[type="number"] {
  348. color: var(--input-color);
  349. background: var(--input-background);
  350. border: var(--input-border);
  351. padding: 3px;
  352. line-height: 20px;
  353. width: 250px;
  354. font-size: 99%;
  355. margin-top: 5px;
  356. appearance: none;
  357. }
  358. input[type="search"]:focus,
  359. input[type="url"]:focus,
  360. input[type="password"]:focus,
  361. input[type="text"]:focus,
  362. input[type="number"]:focus {
  363. color: var(--input-focus-color);
  364. border-color: var(--input-focus-border-color);
  365. outline: 0;
  366. box-shadow: var(--input-focus-box-shadow);
  367. }
  368. #form-entries-per-page {
  369. max-width: 80px;
  370. }
  371. input[type="checkbox"] {
  372. margin-top: 10px;
  373. margin-bottom: 10px;
  374. }
  375. textarea {
  376. width: 350px;
  377. color: var(--input-color);
  378. background: var(--input-background);
  379. border: var(--input-border);
  380. padding: 3px;
  381. margin-bottom: 10px;
  382. margin-top: 5px;
  383. appearance: none;
  384. }
  385. textarea:focus {
  386. color: var(--input-focus-color);
  387. border-color: var(--input-focus-border-color);
  388. outline: 0;
  389. box-shadow: var(--input-focus-box-shadow);
  390. }
  391. input::placeholder {
  392. color: var(--input-placeholder-color);
  393. padding-top: 2px;
  394. }
  395. .form-label-row {
  396. display: flex;
  397. }
  398. .form-help {
  399. font-size: 0.9em;
  400. color: brown;
  401. margin-bottom: 15px;
  402. }
  403. .form-section {
  404. border-left: 2px dotted #ddd;
  405. padding-left: 20px;
  406. margin-left: 10px;
  407. }
  408. details > summary {
  409. outline: none;
  410. cursor: pointer;
  411. }
  412. .details-content {
  413. margin-top: 15px;
  414. }
  415. /* Buttons */
  416. a.button {
  417. text-decoration: none;
  418. }
  419. .button {
  420. display: inline-block;
  421. appearance: none;
  422. font-size: 1.1em;
  423. cursor: pointer;
  424. padding: 3px 10px;
  425. border: 1px solid;
  426. border-radius: unset;
  427. }
  428. .button-primary {
  429. border-color: var(--button-primary-border-color);
  430. background: var(--button-primary-background);
  431. color: var(--button-primary-color);
  432. }
  433. a.button-primary:hover,
  434. a.button-primary:focus,
  435. .button-primary:hover,
  436. .button-primary:focus {
  437. border-color: var(--button-primary-focus-border-color);
  438. background: var(--button-primary-focus-background);
  439. color: var(--button-primary-color);
  440. }
  441. .button-danger {
  442. border-color: #b0281a;
  443. background: #d14836;
  444. color: #fff;
  445. }
  446. .button-danger:hover,
  447. .button-danger:focus {
  448. color: #fff;
  449. background: #c53727;
  450. }
  451. .button:disabled {
  452. color: #ccc;
  453. background: #f7f7f7;
  454. border-color: #ccc;
  455. }
  456. .buttons {
  457. margin-top: 10px;
  458. margin-bottom: 20px;
  459. }
  460. fieldset .buttons {
  461. margin-bottom: 0;
  462. }
  463. /* Alerts */
  464. .alert {
  465. padding: 8px 35px 8px 14px;
  466. margin-bottom: 20px;
  467. color: var(--alert-color);
  468. background-color: var(--alert-background-color);
  469. border: 1px solid var(--alert-border-color);
  470. border-radius: 4px;
  471. overflow: auto;
  472. }
  473. .alert h3 {
  474. margin-top: 0;
  475. margin-bottom: 15px;
  476. }
  477. .alert-success {
  478. color: var(--alert-success-color);
  479. background-color: var(--alert-success-background-color);
  480. border-color: var(--alert-success-border-color);
  481. }
  482. .alert-error {
  483. color: var(--alert-error-color);
  484. background-color: var(--alert-error-background-color);
  485. border-color: var(--alert-error-border-color);
  486. }
  487. .alert-error h3,
  488. .alert-error a {
  489. color: var(--alert-error-color);
  490. }
  491. .alert-info {
  492. color: var(--alert-info-color);
  493. background-color: var(--alert-info-background-color);
  494. border-color: var(--alert-info-border-color);
  495. }
  496. /* Panel */
  497. .panel {
  498. color: var(--panel-color);
  499. background-color: var(--panel-background);
  500. border: 1px solid var(--panel-border-color);
  501. border-radius: 5px;
  502. padding: 10px;
  503. margin-bottom: 15px;
  504. }
  505. .panel h3 {
  506. font-weight: 500;
  507. margin-top: 0;
  508. margin-bottom: 20px;
  509. }
  510. .panel ul {
  511. margin-left: 30px;
  512. }
  513. /* Modals */
  514. template {
  515. display: none;
  516. }
  517. #modal-left {
  518. position: fixed;
  519. top: 0;
  520. left: 0;
  521. bottom: 0;
  522. width: 380px;
  523. overflow: auto;
  524. color: var(--modal-color);
  525. background: var(--modal-background);
  526. box-shadow: var(--modal-box-shadow);
  527. padding: 30px 5px 5px;
  528. }
  529. #modal-left h3 {
  530. font-weight: 400;
  531. margin: 0;
  532. }
  533. .btn-close-modal {
  534. position: absolute;
  535. top: 0;
  536. right: 0;
  537. font-size: 1.7em;
  538. color: #ccc;
  539. padding:0 .2em;
  540. margin: 10px;
  541. text-decoration: none;
  542. background-color: transparent;
  543. border: none;
  544. }
  545. .btn-close-modal:hover {
  546. color: #999;
  547. }
  548. /* Keyboard Shortcuts */
  549. .keyboard-shortcuts li {
  550. margin-left: 25px;
  551. list-style-type: square;
  552. color: var(--keyboard-shortcuts-li-color);
  553. font-size: 0.95em;
  554. line-height: 1.45em;
  555. }
  556. .keyboard-shortcuts p {
  557. line-height: 1.9em;
  558. }
  559. /* Login form */
  560. .login-form {
  561. margin: 50px auto 0;
  562. max-width: 300px;
  563. }
  564. .webauthn {
  565. margin-bottom: 20px;
  566. }
  567. /* Counters */
  568. .unread-counter-wrapper,
  569. .error-feeds-counter-wrapper {
  570. font-size: 0.9em;
  571. font-weight: 300;
  572. color: var(--counter-color);
  573. }
  574. /* Category label */
  575. .category {
  576. font-size: 0.75em;
  577. background-color: var(--category-background-color);
  578. border: 1px solid var(--category-border-color);
  579. border-radius: 5px;
  580. margin-left: 0.25em;
  581. padding: 1px 0.4em 1px 0.4em;
  582. white-space: nowrap;
  583. color: var(--category-color);
  584. }
  585. .category a {
  586. color: var(--category-link-color);
  587. text-decoration: none;
  588. }
  589. .category a:hover,
  590. .category a:focus {
  591. color: var(--category-link-hover-color);
  592. }
  593. .category-item-total {
  594. color: var(--body-color);
  595. }
  596. /* Pagination */
  597. .pagination {
  598. font-size: 1.1em;
  599. display: flex;
  600. align-items: center;
  601. justify-content: space-between;
  602. }
  603. .pagination-top {
  604. padding-bottom: 8px;
  605. }
  606. .pagination-bottom {
  607. padding-top: 8px;
  608. }
  609. .pagination-entry-top {
  610. padding-top: 8px;
  611. }
  612. .pagination-entry-bottom {
  613. border-top: 1px dotted var(--pagination-border-color);
  614. margin-bottom: 15px;
  615. margin-top: 50px;
  616. padding-top: 8px;
  617. }
  618. .pagination > div.pagination-backward > div {
  619. padding-right: 15px;
  620. }
  621. .pagination > div.pagination-forward > div {
  622. padding-left: 15px;
  623. }
  624. .pagination-next, .pagination-last {
  625. text-align: right;
  626. }
  627. .pagination-next:after {
  628. content: " ›";
  629. }
  630. .pagination-last:after {
  631. content: " »";
  632. }
  633. .pagination-prev:before {
  634. content: "‹ ";
  635. }
  636. .pagination-first:before {
  637. content: "« ";
  638. }
  639. .pagination a {
  640. color: var(--pagination-link-color);
  641. }
  642. .pagination a:hover,
  643. .pagination a:focus {
  644. text-decoration: none;
  645. }
  646. /* List view */
  647. .item {
  648. border: 1px dotted var(--item-border-color);
  649. margin-bottom: 20px;
  650. padding: var(--item-padding);
  651. overflow: hidden;
  652. }
  653. .item.current-item {
  654. border: var(--current-item-border-width) solid var(--current-item-border-color);
  655. padding: 3px;
  656. box-shadow: var(--current-item-box-shadow);
  657. }
  658. .item.current-item:focus {
  659. outline: none;
  660. }
  661. .item-header {
  662. font-size: 1rem;
  663. }
  664. .item-header span {
  665. font-weight: normal;
  666. display: inline-block;
  667. }
  668. .item-title {
  669. font-size: 1rem;
  670. margin: 0;
  671. display: inline;
  672. }
  673. .item-title a {
  674. text-decoration: none;
  675. font-weight: var(--item-title-link-font-weight);
  676. font-size: inherit;
  677. }
  678. .feed-entries-counter {
  679. display: inline-flex;
  680. gap: 2px;
  681. align-items: center;
  682. }
  683. .item-status-read .item-title a {
  684. color: var(--item-status-read-title-link-color);
  685. }
  686. .item-meta {
  687. color: var(--item-meta-focus-color);
  688. font-size: 0.8em;
  689. }
  690. .item-meta a {
  691. color: #777;
  692. text-decoration: none;
  693. }
  694. .item-meta :is(a:is(:focus, :hover), button:is(:focus, :hover)) {
  695. color: #333;
  696. }
  697. .item-meta ul {
  698. margin-top: 5px;
  699. }
  700. .item-meta li {
  701. display: inline-block;
  702. }
  703. .item-meta-info {
  704. font-size: 0.85em;
  705. }
  706. .item-meta-info li:not(:last-child):after {
  707. content: "|";
  708. color: var(--item-meta-li-color);
  709. }
  710. .item-meta-icons li {
  711. margin-right: 8px;
  712. margin-top: 4px;
  713. }
  714. .item-meta-icons li:last-child {
  715. margin-right: 0;
  716. }
  717. .item-meta-icons li > :is(a, button) {
  718. color: #777;
  719. text-decoration: none;
  720. font-size: 0.8rem;
  721. border: none;
  722. background-color: transparent;
  723. cursor: pointer;
  724. }
  725. .item-meta-icons a span {
  726. text-decoration: underline;
  727. }
  728. .item-meta-icons button:active {
  729. translate: 1px 1px;
  730. }
  731. .items {
  732. overflow-x: hidden;
  733. touch-action: pan-y;
  734. }
  735. .hide-read-items .item-status-read:not(.current-item) {
  736. display: none;
  737. }
  738. .entry-swipe {
  739. transition-property: transform;
  740. transition-duration: 0s;
  741. transition-timing-function: ease-out;
  742. }
  743. /* Feeds list */
  744. article.feed-parsing-error {
  745. background-color: var(--feed-parsing-error-background-color);
  746. border-style: var(--feed-parsing-error-border-style);
  747. border-color: var(--feed-parsing-error-border-color);
  748. }
  749. article.feed-has-unread {
  750. background-color: var(--feed-has-unread-background-color);
  751. border-style: var(--feed-has-unread-border-style);
  752. border-color: var(--feed-has-unread-border-color);
  753. }
  754. .parsing-error {
  755. font-size: 0.85em;
  756. margin-top: 2px;
  757. color: var(--parsing-error-color);
  758. }
  759. .parsing-error-count {
  760. cursor: pointer;
  761. }
  762. /* Categories list */
  763. article.category-has-unread {
  764. background-color: var(--category-has-unread-background-color);
  765. border-style: var(--category-has-unread-border-style);
  766. border-color: var(--category-has-unread-border-color);
  767. }
  768. /* Icons */
  769. .icon,
  770. .icon-label {
  771. vertical-align: middle;
  772. display: inline-block;
  773. padding-right: 2px;
  774. }
  775. .icon {
  776. width: 16px;
  777. height: 16px;
  778. }
  779. /* Entry view */
  780. .entry header {
  781. padding-bottom: 5px;
  782. padding-inline: 5px;
  783. border-bottom: 1px dotted var(--entry-header-border-color);
  784. }
  785. .entry header h1 {
  786. font-size: 2.0em;
  787. line-height: 1.25em;
  788. margin: 5px 0 30px 0;
  789. overflow-wrap: break-word;
  790. }
  791. .entry header h1 a {
  792. text-decoration: none;
  793. color: var(--entry-header-title-link-color);
  794. }
  795. .entry header h1 a:hover,
  796. .entry header h1 a:focus {
  797. color: #666;
  798. }
  799. .entry-actions {
  800. margin-bottom: 20px;
  801. }
  802. .entry-actions a span {
  803. text-decoration: underline;
  804. }
  805. .entry-actions li {
  806. display: inline-block;
  807. margin-right: 15px;
  808. line-height: 1.7em;
  809. }
  810. .entry-meta {
  811. font-size: 0.95em;
  812. margin: 0 0 20px;
  813. color: #666;
  814. overflow-wrap: break-word;
  815. }
  816. .entry-tags {
  817. margin-top: 20px;
  818. margin-bottom: 20px;
  819. }
  820. .entry-tags strong {
  821. font-weight: 600;
  822. }
  823. .entry-website img {
  824. vertical-align: top;
  825. }
  826. .entry-website a {
  827. color: #666;
  828. vertical-align: top;
  829. text-decoration: none;
  830. }
  831. .entry-website a:hover,
  832. .entry-website a:focus {
  833. text-decoration: underline;
  834. }
  835. .entry-date {
  836. font-size: 0.65em;
  837. font-style: italic;
  838. color: #555;
  839. }
  840. .entry-content {
  841. padding-top: 15px;
  842. font-size: 1.2em;
  843. font-weight: var(--entry-content-font-weight);
  844. font-family: var(--entry-content-font-family);
  845. color: var(--entry-content-color);
  846. line-height: 1.4em;
  847. overflow-wrap: break-word;
  848. touch-action: pan-y pinch-zoom;
  849. }
  850. .entry-content h1, h2, h3, h4, h5, h6 {
  851. margin-top: 15px;
  852. margin-bottom: 10px;
  853. }
  854. .entry-content iframe,
  855. .entry-content video,
  856. .entry-content img {
  857. max-width: 100%;
  858. }
  859. .entry-content img {
  860. height: auto;
  861. }
  862. .entry-content figure {
  863. margin-top: 15px;
  864. margin-bottom: 15px;
  865. }
  866. .entry-content figure img {
  867. border: 1px solid #000;
  868. }
  869. .entry-content figcaption {
  870. font-size: 0.75em;
  871. text-transform: uppercase;
  872. color: #777;
  873. }
  874. .entry-content p {
  875. margin-top: 10px;
  876. margin-bottom: 15px;
  877. }
  878. .entry-content a {
  879. overflow-wrap: break-word;
  880. }
  881. .entry-content a:visited {
  882. color: var(--link-visited-color);
  883. }
  884. .entry-content dt {
  885. font-weight: 500;
  886. margin-top: 15px;
  887. color: #555;
  888. }
  889. .entry-content dd {
  890. margin-left: 15px;
  891. margin-top: 5px;
  892. padding-left: 20px;
  893. border-left: 3px solid #ddd;
  894. color: #777;
  895. font-weight: 300;
  896. line-height: 1.4em;
  897. }
  898. .entry-content blockquote {
  899. border-left: 4px solid #ddd;
  900. padding-left: 25px;
  901. margin-left: 20px;
  902. margin-top: 20px;
  903. margin-bottom: 20px;
  904. line-height: 1.4em;
  905. font-family: var(--entry-content-quote-font-family);
  906. }
  907. .entry-content q {
  908. color: var(--entry-content-quote-color);
  909. font-family: var(--entry-content-quote-font-family);
  910. font-style: italic;
  911. }
  912. .entry-content q:before {
  913. content: "“";
  914. }
  915. .entry-content q:after {
  916. content: "”";
  917. }
  918. .entry-content pre {
  919. padding: 5px;
  920. overflow: auto;
  921. overflow-wrap: initial;
  922. border-width: 1px;
  923. border-style: solid;
  924. }
  925. .entry-content pre,
  926. .entry-content code {
  927. color: var(--entry-content-code-color);
  928. background: var(--entry-content-code-background);
  929. border-color: var(--entry-content-code-border-color);
  930. }
  931. .entry-content table {
  932. max-width: 100%;
  933. }
  934. .entry-content ul,
  935. .entry-content ol {
  936. margin-left: 30px;
  937. margin-top: 15px;
  938. margin-bottom: 15px;
  939. }
  940. .entry-content li ul,
  941. .entry-content li ol {
  942. margin-top: 0;
  943. margin-bottom: 0;
  944. }
  945. .entry-content ul {
  946. list-style-type: square;
  947. }
  948. .entry-content strong {
  949. font-weight: 600;
  950. }
  951. .entry-content sub,
  952. .entry-content sup {
  953. font-size: 75%;
  954. line-height: 0;
  955. position: relative;
  956. vertical-align: baseline;
  957. }
  958. .entry-content sub {
  959. bottom: -0.25em;
  960. }
  961. .entry-content sup {
  962. top: -0.5em;
  963. }
  964. .entry-content abbr {
  965. cursor: pointer;
  966. text-decoration: none;
  967. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  968. }
  969. .entry-content aside {
  970. font-size: 0.9em;
  971. padding: 1ch;
  972. margin-bottom: 15px;
  973. font-style: italic;
  974. border: dotted var(--entry-content-aside-border-color) 2px;
  975. }
  976. details.entry-enclosures {
  977. margin-top: 25px;
  978. }
  979. .entry-enclosures summary {
  980. font-weight: 500;
  981. font-size: 1.2em;
  982. }
  983. .entry-enclosure {
  984. border: 1px dotted var(--entry-enclosure-border-color);
  985. padding: 5px;
  986. margin-top: 10px;
  987. max-width: 100%;
  988. }
  989. .entry-enclosure-download {
  990. font-size: 0.85em;
  991. overflow-wrap: break-word;
  992. }
  993. .enclosure-video video,
  994. .enclosure-image img {
  995. max-width: 100%;
  996. }
  997. /* Confirmation */
  998. .confirm {
  999. font-weight: 500;
  1000. color: #ed2d04;
  1001. }
  1002. .confirm button {
  1003. color: #ed2d04;
  1004. border: none;
  1005. background-color: transparent;
  1006. cursor: pointer;
  1007. font-size: inherit;
  1008. }
  1009. .loading {
  1010. font-style: italic;
  1011. }
  1012. /* Bookmarlet */
  1013. .bookmarklet {
  1014. border: 1px dashed #ccc;
  1015. border-radius: 5px;
  1016. padding: 15px;
  1017. margin: 15px;
  1018. text-align: center;
  1019. }
  1020. .bookmarklet a {
  1021. font-weight: 600;
  1022. text-decoration: none;
  1023. font-size: 1.2em;
  1024. }
  1025. .disabled {
  1026. opacity: 20%;
  1027. }
  1028. audio, video {
  1029. width: 100%;
  1030. }
  1031. .media-controls{
  1032. font-size: .9em;
  1033. display: flex;
  1034. flex-wrap: wrap;
  1035. }
  1036. .media-controls .media-control-label{
  1037. line-height: 1em;
  1038. }
  1039. .media-controls>div{
  1040. display: flex;
  1041. flex-wrap: nowrap;
  1042. justify-content:center;
  1043. min-width: 50%;
  1044. align-items: center;
  1045. }
  1046. .media-controls>div>*{
  1047. padding-left:12px;
  1048. }
  1049. .media-controls>div>*:first-child{
  1050. padding-left:0;
  1051. }
  1052. .media-controls span.speed-indicator{
  1053. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1054. This reduce ui flickering due to element moving around a bit
  1055. */
  1056. font-family: monospace;
  1057. }
  1058. .integration-form summary {
  1059. font-weight: 700;
  1060. }
  1061. .integration-form details {
  1062. margin-bottom: 15px;
  1063. }
  1064. .integration-form details .form-section {
  1065. margin-top: 15px;
  1066. }
  1067. .hidden {
  1068. display: none;
  1069. }