common.css 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344
  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. }
  1023. /* Confirmation */
  1024. .confirm {
  1025. font-weight: 500;
  1026. color: #ed2d04;
  1027. }
  1028. .confirm button {
  1029. color: #ed2d04;
  1030. border: none;
  1031. background-color: transparent;
  1032. cursor: pointer;
  1033. font-size: inherit;
  1034. }
  1035. .loading {
  1036. font-style: italic;
  1037. }
  1038. /* Bookmarlet */
  1039. .bookmarklet {
  1040. border: 1px dashed #ccc;
  1041. border-radius: 5px;
  1042. padding: 15px;
  1043. margin: 15px;
  1044. text-align: center;
  1045. }
  1046. .bookmarklet a {
  1047. font-weight: 600;
  1048. text-decoration: none;
  1049. font-size: 1.2em;
  1050. }
  1051. .disabled {
  1052. opacity: 20%;
  1053. }
  1054. audio, video {
  1055. width: 100%;
  1056. }
  1057. .media-controls{
  1058. font-size: .9em;
  1059. display: flex;
  1060. flex-wrap: wrap;
  1061. }
  1062. .media-controls .media-control-label{
  1063. line-height: 1em;
  1064. }
  1065. .media-controls>div{
  1066. display: flex;
  1067. flex-wrap: nowrap;
  1068. justify-content:center;
  1069. min-width: 50%;
  1070. align-items: center;
  1071. }
  1072. .media-controls>div>*{
  1073. padding-left:12px;
  1074. }
  1075. .media-controls>div>*:first-child{
  1076. padding-left:0;
  1077. }
  1078. .media-controls span.speed-indicator{
  1079. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1080. This reduce ui flickering due to element moving around a bit
  1081. */
  1082. font-family: monospace;
  1083. }
  1084. .integration-form summary {
  1085. font-weight: 700;
  1086. }
  1087. .integration-form details {
  1088. margin-bottom: 15px;
  1089. }
  1090. .integration-form details .form-section {
  1091. margin-top: 15px;
  1092. }
  1093. .hidden {
  1094. display: none;
  1095. }
  1096. footer {
  1097. margin: 1em auto;
  1098. }
  1099. footer .elevator {
  1100. display: block;
  1101. width: fit-content;
  1102. margin: 0 auto;
  1103. }
  1104. .pagination-top .elevator,
  1105. .pagination-entry-top .elevator {
  1106. display: none;
  1107. }