4
0

common.css 23 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345
  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: 10px;
  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. #header-menu .icon,
  149. .page-header ul a .icon {
  150. margin-bottom: 2px;
  151. }
  152. .page-header-action-form {
  153. display: inline-flex;
  154. }
  155. :is(.page-button, .page-link) {
  156. color: var(--link-color);
  157. border: none;
  158. background-color: transparent;
  159. font-size: 1rem;
  160. cursor: pointer;
  161. &:is(:hover, :focus) {
  162. color: var(--link-hover-color);
  163. }
  164. }
  165. .page-button:active {
  166. translate: 1px 1px;
  167. }
  168. /* Logo */
  169. .logo {
  170. text-align: center;
  171. display: flex;
  172. justify-content: center;
  173. }
  174. .logo a {
  175. color: var(--logo-color);
  176. letter-spacing: 1px;
  177. display: flex;
  178. align-items: center;
  179. }
  180. .logo a:hover {
  181. color: #339966;
  182. }
  183. .logo a span {
  184. color: #339966;
  185. }
  186. .logo a:hover span {
  187. color: var(--logo-hover-color-span);
  188. }
  189. /* PWA prompt */
  190. #prompt-home-screen {
  191. display: none;
  192. position: fixed;
  193. bottom: 0;
  194. right: 0;
  195. width: 100%;
  196. text-align: center;
  197. background: #000;
  198. opacity: 85%;
  199. }
  200. #btn-add-to-home-screen {
  201. text-decoration: none;
  202. height: 30px;
  203. color: #fff;
  204. background-color: transparent;
  205. border: 0;
  206. }
  207. #btn-add-to-home-screen:hover {
  208. color: red;
  209. }
  210. /* Notification - "Toast" */
  211. #toast-wrapper {
  212. visibility: hidden;
  213. opacity: 0;
  214. position: fixed;
  215. left: 0;
  216. bottom: 10%;
  217. color: #fff;
  218. width: 100%;
  219. text-align: center;
  220. }
  221. #toast-msg {
  222. background-color: rgba(0,0,0,0.7);
  223. padding-bottom: 4px;
  224. padding-left: 4px;
  225. padding-right: 5px;
  226. border-radius: 5px;
  227. }
  228. .toast-animate {
  229. animation: toastKeyFrames 2s;
  230. }
  231. @keyframes toastKeyFrames {
  232. 0% {visibility: hidden; opacity: 0;}
  233. 25% {visibility: visible; opacity: 1; z-index: 9999}
  234. 50% {visibility: visible; opacity: 1; z-index: 9999}
  235. 75% {visibility: visible; opacity: 1; z-index: 9999}
  236. 100% {visibility: hidden; opacity: 0; z-index: 0}
  237. }
  238. /* Hide the logo when there is not enough space to display menus when using languages more verbose than English */
  239. @media (min-width: 620px) and (max-width: 850px) {
  240. .logo {
  241. display: none;
  242. }
  243. }
  244. @media (min-width: 850px) {
  245. .logo {
  246. padding-right: 8px;
  247. }
  248. }
  249. @media (min-width: 620px) {
  250. body {
  251. margin: auto;
  252. max-width: 900px; /* Wide enough to display the logo and the menu one a single row for any languages */
  253. }
  254. .header {
  255. padding-left: 3px;
  256. }
  257. .header li {
  258. display: inline-block;
  259. padding: 0 5px 0 0;
  260. line-height: normal;
  261. border: none;
  262. font-size: 1.0em;
  263. }
  264. .header nav {
  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. margin-bottom: 10px;;
  357. appearance: none;
  358. }
  359. input[type="search"]:focus,
  360. input[type="url"]:focus,
  361. input[type="password"]:focus,
  362. input[type="text"]:focus,
  363. input[type="number"]:focus {
  364. color: var(--input-focus-color);
  365. border-color: var(--input-focus-border-color);
  366. outline: 0;
  367. box-shadow: var(--input-focus-box-shadow);
  368. }
  369. #form-entries-per-page {
  370. max-width: 80px;
  371. }
  372. input[type="checkbox"] {
  373. margin-top: 10px;
  374. margin-bottom: 10px;
  375. }
  376. textarea {
  377. width: 350px;
  378. color: var(--input-color);
  379. background: var(--input-background);
  380. border: var(--input-border);
  381. padding: 3px;
  382. margin-bottom: 10px;
  383. margin-top: 5px;
  384. appearance: none;
  385. }
  386. textarea:focus {
  387. color: var(--input-focus-color);
  388. border-color: var(--input-focus-border-color);
  389. outline: 0;
  390. box-shadow: var(--input-focus-box-shadow);
  391. }
  392. input::placeholder {
  393. color: var(--input-placeholder-color);
  394. padding-top: 2px;
  395. }
  396. .form-label-row {
  397. display: flex;
  398. }
  399. .form-help {
  400. font-size: 0.9em;
  401. color: brown;
  402. margin-bottom: 15px;
  403. }
  404. .form-section {
  405. border-left: 2px dotted #ddd;
  406. padding-left: 20px;
  407. margin-left: 10px;
  408. }
  409. details > summary {
  410. outline: none;
  411. cursor: pointer;
  412. }
  413. .details-content {
  414. margin-top: 15px;
  415. }
  416. /* Buttons */
  417. a.button {
  418. text-decoration: none;
  419. }
  420. .button {
  421. display: inline-block;
  422. appearance: none;
  423. font-size: 1.1em;
  424. cursor: pointer;
  425. padding: 3px 10px;
  426. border: 1px solid;
  427. border-radius: unset;
  428. }
  429. .button-primary {
  430. border-color: var(--button-primary-border-color);
  431. background: var(--button-primary-background);
  432. color: var(--button-primary-color);
  433. }
  434. a.button-primary:hover,
  435. a.button-primary:focus,
  436. .button-primary:hover,
  437. .button-primary:focus {
  438. border-color: var(--button-primary-focus-border-color);
  439. background: var(--button-primary-focus-background);
  440. color: var(--button-primary-color);
  441. }
  442. .button-danger {
  443. border-color: #b0281a;
  444. background: #d14836;
  445. color: #fff;
  446. }
  447. .button-danger:hover,
  448. .button-danger:focus {
  449. color: #fff;
  450. background: #c53727;
  451. }
  452. .button:disabled {
  453. color: #ccc;
  454. background: #f7f7f7;
  455. border-color: #ccc;
  456. }
  457. .buttons {
  458. margin-top: 10px;
  459. margin-bottom: 20px;
  460. }
  461. fieldset .buttons {
  462. margin-bottom: 0;
  463. }
  464. /* Alerts */
  465. .alert {
  466. padding: 8px 35px 8px 14px;
  467. margin-bottom: 20px;
  468. color: var(--alert-color);
  469. background-color: var(--alert-background-color);
  470. border: 1px solid var(--alert-border-color);
  471. border-radius: 4px;
  472. overflow: auto;
  473. }
  474. .alert h3 {
  475. margin-top: 0;
  476. margin-bottom: 15px;
  477. }
  478. .alert-success {
  479. color: var(--alert-success-color);
  480. background-color: var(--alert-success-background-color);
  481. border-color: var(--alert-success-border-color);
  482. }
  483. .alert-error {
  484. color: var(--alert-error-color);
  485. background-color: var(--alert-error-background-color);
  486. border-color: var(--alert-error-border-color);
  487. }
  488. .alert-error h3,
  489. .alert-error a {
  490. color: var(--alert-error-color);
  491. }
  492. .alert-info {
  493. color: var(--alert-info-color);
  494. background-color: var(--alert-info-background-color);
  495. border-color: var(--alert-info-border-color);
  496. }
  497. /* Panel */
  498. .panel {
  499. color: var(--panel-color);
  500. background-color: var(--panel-background);
  501. border: 1px solid var(--panel-border-color);
  502. border-radius: 5px;
  503. padding: 10px;
  504. margin-bottom: 15px;
  505. }
  506. .panel h3 {
  507. font-weight: 500;
  508. margin-top: 0;
  509. margin-bottom: 20px;
  510. }
  511. .panel ul {
  512. margin-left: 30px;
  513. }
  514. /* Modals */
  515. template {
  516. display: none;
  517. }
  518. #modal-left {
  519. position: fixed;
  520. top: 0;
  521. left: 0;
  522. bottom: 0;
  523. width: 380px;
  524. overflow: auto;
  525. color: var(--modal-color);
  526. background: var(--modal-background);
  527. box-shadow: var(--modal-box-shadow);
  528. padding: 30px 5px 5px;
  529. }
  530. #modal-left h3 {
  531. font-weight: 400;
  532. margin: 0;
  533. }
  534. .btn-close-modal {
  535. position: absolute;
  536. top: 0;
  537. right: 0;
  538. font-size: 1.7em;
  539. color: #ccc;
  540. padding:0 .2em;
  541. margin: 10px;
  542. text-decoration: none;
  543. background-color: transparent;
  544. border: none;
  545. }
  546. .btn-close-modal:hover {
  547. color: #999;
  548. }
  549. /* Keyboard Shortcuts */
  550. .keyboard-shortcuts li {
  551. margin-left: 25px;
  552. list-style-type: square;
  553. color: var(--keyboard-shortcuts-li-color);
  554. font-size: 0.95em;
  555. line-height: 1.45em;
  556. }
  557. .keyboard-shortcuts p {
  558. line-height: 1.9em;
  559. }
  560. /* Login form */
  561. .login-form {
  562. margin: 50px auto 0;
  563. max-width: 300px;
  564. }
  565. .webauthn {
  566. margin-bottom: 20px;
  567. }
  568. /* Counters */
  569. .unread-counter-wrapper,
  570. .error-feeds-counter-wrapper {
  571. font-size: 0.9em;
  572. font-weight: 300;
  573. color: var(--counter-color);
  574. }
  575. /* Category label */
  576. .category {
  577. font-size: 0.75em;
  578. background-color: var(--category-background-color);
  579. border: 1px solid var(--category-border-color);
  580. border-radius: 5px;
  581. margin-left: 0.25em;
  582. padding: 1px 0.4em 1px 0.4em;
  583. white-space: nowrap;
  584. color: var(--category-color);
  585. }
  586. .category a {
  587. color: var(--category-link-color);
  588. text-decoration: none;
  589. }
  590. .category a:hover,
  591. .category a:focus {
  592. color: var(--category-link-hover-color);
  593. }
  594. .category-item-total {
  595. color: var(--body-color);
  596. }
  597. /* Pagination */
  598. .pagination {
  599. font-size: 1.1em;
  600. display: flex;
  601. align-items: center;
  602. justify-content: space-between;
  603. }
  604. .pagination-top {
  605. padding-bottom: 8px;
  606. }
  607. .pagination-bottom {
  608. padding-top: 8px;
  609. }
  610. .pagination-entry-top {
  611. padding-top: 8px;
  612. }
  613. .pagination-entry-bottom {
  614. border-top: 1px dotted var(--pagination-border-color);
  615. margin-bottom: 15px;
  616. margin-top: 50px;
  617. padding-top: 8px;
  618. }
  619. .pagination > div.pagination-backward > div {
  620. padding-right: 15px;
  621. }
  622. .pagination > div.pagination-forward > div {
  623. padding-left: 15px;
  624. }
  625. .pagination-next, .pagination-last {
  626. text-align: right;
  627. }
  628. .pagination-next:after {
  629. content: " ›";
  630. }
  631. .pagination-last:after {
  632. content: " »";
  633. }
  634. .pagination-prev:before {
  635. content: "‹ ";
  636. }
  637. .pagination-first:before {
  638. content: "« ";
  639. }
  640. .pagination a {
  641. color: var(--pagination-link-color);
  642. }
  643. .pagination a:hover,
  644. .pagination a:focus {
  645. text-decoration: none;
  646. }
  647. /* List view */
  648. .item {
  649. border: 1px dotted var(--item-border-color);
  650. margin-bottom: 20px;
  651. padding: var(--item-padding);
  652. overflow: hidden;
  653. }
  654. .item.current-item {
  655. border: var(--current-item-border-width) solid var(--current-item-border-color);
  656. padding: 3px;
  657. box-shadow: var(--current-item-box-shadow);
  658. }
  659. .item.current-item:focus {
  660. outline: none;
  661. }
  662. .item-header {
  663. font-size: 1rem;
  664. }
  665. .item-header span {
  666. font-weight: normal;
  667. display: inline-block;
  668. }
  669. .item-title {
  670. font-size: 1rem;
  671. margin: 0;
  672. display: inline;
  673. }
  674. .item-title a {
  675. text-decoration: none;
  676. font-weight: var(--item-title-link-font-weight);
  677. font-size: inherit;
  678. }
  679. .feed-entries-counter {
  680. display: inline-flex;
  681. gap: 2px;
  682. align-items: center;
  683. }
  684. .item-status-read .item-title a {
  685. color: var(--item-status-read-title-link-color);
  686. }
  687. .item-meta {
  688. color: var(--item-meta-focus-color);
  689. font-size: 0.8em;
  690. }
  691. .item-meta a {
  692. color: #777;
  693. text-decoration: none;
  694. }
  695. .item-meta :is(a:is(:focus, :hover), button:is(:focus, :hover)) {
  696. color: #333;
  697. }
  698. .item-meta ul {
  699. margin-top: 5px;
  700. }
  701. .item-meta li {
  702. display: inline-block;
  703. }
  704. .item-meta-info {
  705. font-size: 0.85em;
  706. }
  707. .item-meta-info li:not(:last-child):after {
  708. content: "|";
  709. color: var(--item-meta-li-color);
  710. }
  711. .item-meta-icons li {
  712. margin-right: 8px;
  713. margin-top: 4px;
  714. }
  715. .item-meta-icons li:last-child {
  716. margin-right: 0;
  717. }
  718. .item-meta-icons li > :is(a, button) {
  719. color: #777;
  720. text-decoration: none;
  721. font-size: 0.8rem;
  722. border: none;
  723. background-color: transparent;
  724. cursor: pointer;
  725. }
  726. .item-meta-icons a span {
  727. text-decoration: underline;
  728. }
  729. .item-meta-icons button:active {
  730. translate: 1px 1px;
  731. }
  732. .items {
  733. overflow-x: hidden;
  734. touch-action: pan-y;
  735. }
  736. .hide-read-items .item-status-read:not(.current-item) {
  737. display: none;
  738. }
  739. .entry-swipe {
  740. transition-property: transform;
  741. transition-duration: 0s;
  742. transition-timing-function: ease-out;
  743. }
  744. /* Feeds list */
  745. article.feed-parsing-error {
  746. background-color: var(--feed-parsing-error-background-color);
  747. border-style: var(--feed-parsing-error-border-style);
  748. border-color: var(--feed-parsing-error-border-color);
  749. }
  750. article.feed-has-unread {
  751. background-color: var(--feed-has-unread-background-color);
  752. border-style: var(--feed-has-unread-border-style);
  753. border-color: var(--feed-has-unread-border-color);
  754. }
  755. .parsing-error {
  756. font-size: 0.85em;
  757. margin-top: 2px;
  758. color: var(--parsing-error-color);
  759. }
  760. .parsing-error-count {
  761. cursor: pointer;
  762. }
  763. /* Categories list */
  764. article.category-has-unread {
  765. background-color: var(--category-has-unread-background-color);
  766. border-style: var(--category-has-unread-border-style);
  767. border-color: var(--category-has-unread-border-color);
  768. }
  769. /* Icons */
  770. .icon,
  771. .icon-label {
  772. vertical-align: text-bottom;
  773. display: inline-block;
  774. margin-right: 2px;
  775. }
  776. .icon {
  777. width: 16px;
  778. height: 16px;
  779. }
  780. /* Entry view */
  781. .entry header {
  782. padding-bottom: 5px;
  783. padding-inline: 5px;
  784. border-bottom: 1px dotted var(--entry-header-border-color);
  785. }
  786. .entry header h1 {
  787. font-size: 2.0em;
  788. line-height: 1.25em;
  789. margin: 5px 0 30px 0;
  790. overflow-wrap: break-word;
  791. }
  792. .entry header h1 a {
  793. text-decoration: none;
  794. color: var(--entry-header-title-link-color);
  795. }
  796. .entry header h1 a:hover,
  797. .entry header h1 a:focus {
  798. color: #666;
  799. }
  800. .entry-actions {
  801. margin-bottom: 20px;
  802. }
  803. .entry-actions a span {
  804. text-decoration: underline;
  805. }
  806. .entry-actions li {
  807. display: inline-block;
  808. margin-right: 15px;
  809. line-height: 1.7em;
  810. }
  811. .entry-actions .icon-label {
  812. vertical-align: middle;
  813. }
  814. .entry-meta {
  815. font-size: 0.95em;
  816. margin: 0 0 20px;
  817. color: #666;
  818. overflow-wrap: break-word;
  819. }
  820. .entry-tags {
  821. margin-top: 20px;
  822. margin-bottom: 20px;
  823. }
  824. .entry-tags strong {
  825. font-weight: 600;
  826. }
  827. .entry-tags-list {
  828. display: inline;
  829. margin: 0;
  830. padding: 0;
  831. }
  832. .entry-tags-list li {
  833. display: inline-block;
  834. }
  835. .entry-tags-list li::after {
  836. content: ", ";
  837. }
  838. .entry-tags-list li:last-child::after {
  839. content: "";
  840. }
  841. .entry-additional-tags {
  842. font-size: 0.8em;
  843. margin-top: 10px;
  844. }
  845. .entry-website img {
  846. vertical-align: top;
  847. }
  848. .entry-website a {
  849. color: #666;
  850. vertical-align: top;
  851. text-decoration: none;
  852. }
  853. .entry-website a:hover,
  854. .entry-website a:focus {
  855. text-decoration: underline;
  856. }
  857. .entry-date {
  858. font-size: 0.65em;
  859. font-style: italic;
  860. color: #555;
  861. }
  862. .entry-content {
  863. padding-top: 15px;
  864. font-size: 1.2em;
  865. font-weight: var(--entry-content-font-weight);
  866. font-family: var(--entry-content-font-family);
  867. color: var(--entry-content-color);
  868. line-height: 1.4em;
  869. overflow-wrap: break-word;
  870. }
  871. .entry-content h1, h2, h3, h4, h5, h6 {
  872. margin-top: 15px;
  873. margin-bottom: 10px;
  874. }
  875. .entry-content iframe,
  876. .entry-content video,
  877. .entry-content img {
  878. max-width: 100%;
  879. }
  880. .entry-content img {
  881. height: auto;
  882. }
  883. .entry-content figure {
  884. margin-top: 15px;
  885. margin-bottom: 15px;
  886. }
  887. .entry-content figure img {
  888. border: 1px solid #000;
  889. }
  890. .entry-content figcaption {
  891. font-size: 0.75em;
  892. text-transform: uppercase;
  893. color: #777;
  894. }
  895. .entry-content p {
  896. margin-top: 10px;
  897. margin-bottom: 15px;
  898. }
  899. .entry-content a {
  900. overflow-wrap: break-word;
  901. }
  902. .entry-content a:visited {
  903. color: var(--link-visited-color);
  904. }
  905. .entry-content dt {
  906. font-weight: 500;
  907. margin-top: 15px;
  908. color: #555;
  909. }
  910. .entry-content dd {
  911. margin-left: 15px;
  912. margin-top: 5px;
  913. padding-left: 20px;
  914. border-left: 3px solid #ddd;
  915. color: #777;
  916. font-weight: 300;
  917. line-height: 1.4em;
  918. }
  919. .entry-content blockquote {
  920. border-left: 4px solid #ddd;
  921. padding-left: 25px;
  922. margin-left: 20px;
  923. margin-top: 20px;
  924. margin-bottom: 20px;
  925. line-height: 1.4em;
  926. font-family: var(--entry-content-quote-font-family);
  927. }
  928. .entry-content q {
  929. color: var(--entry-content-quote-color);
  930. font-family: var(--entry-content-quote-font-family);
  931. font-style: italic;
  932. }
  933. .entry-content q:before {
  934. content: "“";
  935. }
  936. .entry-content q:after {
  937. content: "”";
  938. }
  939. .entry-content pre {
  940. padding: 5px;
  941. overflow: auto;
  942. overflow-wrap: initial;
  943. border-width: 1px;
  944. border-style: solid;
  945. }
  946. .entry-content pre,
  947. .entry-content code {
  948. color: var(--entry-content-code-color);
  949. background: var(--entry-content-code-background);
  950. border-color: var(--entry-content-code-border-color);
  951. }
  952. .entry-content table {
  953. max-width: 100%;
  954. }
  955. .entry-content ul,
  956. .entry-content ol {
  957. margin-left: 30px;
  958. margin-top: 15px;
  959. margin-bottom: 15px;
  960. }
  961. .entry-content li ul,
  962. .entry-content li ol {
  963. margin-top: 0;
  964. margin-bottom: 0;
  965. }
  966. .entry-content ul {
  967. list-style-type: square;
  968. }
  969. .entry-content strong {
  970. font-weight: 600;
  971. }
  972. .entry-content sub,
  973. .entry-content sup {
  974. font-size: 75%;
  975. line-height: 0;
  976. position: relative;
  977. vertical-align: baseline;
  978. }
  979. .entry-content sub {
  980. bottom: -0.25em;
  981. }
  982. .entry-content sup {
  983. top: -0.5em;
  984. }
  985. .entry-content abbr {
  986. cursor: pointer;
  987. text-decoration: none;
  988. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  989. }
  990. .entry-content aside {
  991. font-size: 0.9em;
  992. padding: 1ch;
  993. margin-bottom: 15px;
  994. font-style: italic;
  995. border: dotted var(--entry-content-aside-border-color) 2px;
  996. }
  997. details.entry-enclosures {
  998. margin-top: 25px;
  999. }
  1000. .entry-enclosures summary {
  1001. font-weight: 500;
  1002. font-size: 1.2em;
  1003. }
  1004. .entry-enclosure {
  1005. border: 1px dotted var(--entry-enclosure-border-color);
  1006. padding: 5px;
  1007. margin-top: 10px;
  1008. max-width: 100%;
  1009. }
  1010. .entry-enclosure-download {
  1011. font-size: 0.85em;
  1012. overflow-wrap: break-word;
  1013. }
  1014. .enclosure-video video,
  1015. .enclosure-image img {
  1016. max-width: 100%;
  1017. }
  1018. .entry-external-link {
  1019. font-size: 0.8em;
  1020. margin-top: 10px;
  1021. margin-bottom: 10px;
  1022. word-wrap: break-word;
  1023. }
  1024. /* Confirmation */
  1025. .confirm {
  1026. font-weight: 500;
  1027. color: #ed2d04;
  1028. }
  1029. .confirm button {
  1030. color: #ed2d04;
  1031. border: none;
  1032. background-color: transparent;
  1033. cursor: pointer;
  1034. font-size: inherit;
  1035. }
  1036. .loading {
  1037. font-style: italic;
  1038. }
  1039. /* Bookmarlet */
  1040. .bookmarklet {
  1041. border: 1px dashed #ccc;
  1042. border-radius: 5px;
  1043. padding: 15px;
  1044. margin: 15px;
  1045. text-align: center;
  1046. }
  1047. .bookmarklet a {
  1048. font-weight: 600;
  1049. text-decoration: none;
  1050. font-size: 1.2em;
  1051. }
  1052. .disabled {
  1053. opacity: 20%;
  1054. }
  1055. audio, video {
  1056. width: 100%;
  1057. }
  1058. .media-controls{
  1059. font-size: .9em;
  1060. display: flex;
  1061. flex-wrap: wrap;
  1062. }
  1063. .media-controls .media-control-label{
  1064. line-height: 1em;
  1065. }
  1066. .media-controls>div{
  1067. display: flex;
  1068. flex-wrap: nowrap;
  1069. justify-content:center;
  1070. min-width: 50%;
  1071. align-items: center;
  1072. }
  1073. .media-controls>div>*{
  1074. padding-left:12px;
  1075. }
  1076. .media-controls>div>*:first-child{
  1077. padding-left:0;
  1078. }
  1079. .media-controls span.speed-indicator{
  1080. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1081. This reduce ui flickering due to element moving around a bit
  1082. */
  1083. font-family: monospace;
  1084. }
  1085. .integration-form summary {
  1086. font-weight: 700;
  1087. }
  1088. .integration-form details {
  1089. margin-bottom: 15px;
  1090. }
  1091. .integration-form details .form-section {
  1092. margin-top: 15px;
  1093. }
  1094. .hidden {
  1095. display: none;
  1096. }
  1097. footer {
  1098. margin: 1em auto;
  1099. }
  1100. footer .elevator {
  1101. display: block;
  1102. width: fit-content;
  1103. margin: 0 auto;
  1104. }
  1105. .pagination-top .elevator,
  1106. .pagination-entry-top .elevator {
  1107. display: none;
  1108. }