common.css 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303
  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;
  259. padding-right: 12px;
  260. line-height: normal;
  261. border: none;
  262. font-size: 1.0em;
  263. }
  264. .header nav {
  265. align-items: end;
  266. flex-direction: row;
  267. }
  268. .header .logo svg {
  269. display: none;
  270. }
  271. .header ul:not(.js-menu-show), .header ul.js-menu-show {
  272. display: revert;
  273. }
  274. .header :is(a, summary):hover {
  275. color: var(--header-link-hover-color);
  276. }
  277. .page-header li,
  278. .page-footer li {
  279. display: inline;
  280. padding-right: 15px;
  281. }
  282. .pagination-backward,
  283. .pagination-forward {
  284. display: flex;
  285. }
  286. }
  287. /* Tables */
  288. table {
  289. width: 100%;
  290. border-collapse: collapse;
  291. }
  292. table, th, td {
  293. border: 1px solid var(--table-border-color);
  294. }
  295. th, td {
  296. padding: 5px;
  297. text-align: left;
  298. }
  299. td {
  300. vertical-align: top;
  301. }
  302. th {
  303. background: var(--table-th-background);
  304. color: var(--table-th-color);
  305. font-weight: 400;
  306. }
  307. tr:hover {
  308. color: var(--table-tr-hover-color);
  309. background-color: var(--table-tr-hover-background-color);
  310. }
  311. .column-40 {
  312. width: 40%;
  313. }
  314. .column-25 {
  315. width: 25%;
  316. }
  317. .column-20 {
  318. width: 20%;
  319. }
  320. /* Forms */
  321. fieldset {
  322. border: 1px dotted #ddd;
  323. padding: 8px;
  324. margin-bottom: 20px;
  325. }
  326. legend {
  327. font-weight: 500;
  328. padding-left: 3px;
  329. padding-right: 3px;
  330. }
  331. label {
  332. cursor: pointer;
  333. display: block;
  334. }
  335. .radio-group {
  336. line-height: 1.9em;
  337. }
  338. div.radio-group label {
  339. display: inline-block;
  340. }
  341. select {
  342. margin-bottom: 15px;
  343. }
  344. input[type="search"],
  345. input[type="url"],
  346. input[type="password"],
  347. input[type="text"],
  348. input[type="number"] {
  349. color: var(--input-color);
  350. background: var(--input-background);
  351. border: var(--input-border);
  352. padding: 3px;
  353. line-height: 20px;
  354. width: 250px;
  355. font-size: 99%;
  356. margin-top: 5px;
  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: 5px;
  529. padding-top: 30px;
  530. }
  531. #modal-left h3 {
  532. font-weight: 400;
  533. margin: 0;
  534. }
  535. .btn-close-modal {
  536. position: absolute;
  537. top: 0;
  538. right: 0;
  539. font-size: 1.7em;
  540. color: #ccc;
  541. padding:0 .2em;
  542. margin: 10px;
  543. text-decoration: none;
  544. background-color: transparent;
  545. border: none;
  546. }
  547. .btn-close-modal:hover {
  548. color: #999;
  549. }
  550. /* Keyboard Shortcuts */
  551. .keyboard-shortcuts li {
  552. margin-left: 25px;
  553. list-style-type: square;
  554. color: var(--keyboard-shortcuts-li-color);
  555. font-size: 0.95em;
  556. line-height: 1.45em;
  557. }
  558. .keyboard-shortcuts p {
  559. line-height: 1.9em;
  560. }
  561. /* Login form */
  562. .login-form {
  563. margin: 50px auto 0;
  564. max-width: 300px;
  565. }
  566. .webauthn {
  567. margin-bottom: 20px;
  568. }
  569. /* Counters */
  570. .unread-counter-wrapper,
  571. .error-feeds-counter-wrapper {
  572. font-size: 0.9em;
  573. font-weight: 300;
  574. color: var(--counter-color);
  575. }
  576. /* Category label */
  577. .category {
  578. font-size: 0.75em;
  579. background-color: var(--category-background-color);
  580. border: 1px solid var(--category-border-color);
  581. border-radius: 5px;
  582. margin-left: 0.25em;
  583. padding: 1px 0.4em 1px 0.4em;
  584. white-space: nowrap;
  585. color: var(--category-color);
  586. }
  587. .category a {
  588. color: var(--category-link-color);
  589. text-decoration: none;
  590. }
  591. .category a:hover,
  592. .category a:focus {
  593. color: var(--category-link-hover-color);
  594. }
  595. .category-item-total {
  596. color: var(--body-color);
  597. }
  598. /* Pagination */
  599. .pagination {
  600. font-size: 1.1em;
  601. display: flex;
  602. align-items: center;
  603. justify-content: space-between;
  604. }
  605. .pagination-top {
  606. padding-bottom: 8px;
  607. }
  608. .pagination-bottom {
  609. padding-top: 8px;
  610. }
  611. .pagination-entry-top {
  612. padding-top: 8px;
  613. }
  614. .pagination-entry-bottom {
  615. border-top: 1px dotted var(--pagination-border-color);
  616. margin-bottom: 15px;
  617. margin-top: 50px;
  618. padding-top: 8px;
  619. }
  620. .pagination > div.pagination-backward > div {
  621. padding-right: 15px;
  622. }
  623. .pagination > div.pagination-forward > div {
  624. padding-left: 15px;
  625. }
  626. .pagination-next {
  627. text-align: right;
  628. }
  629. .pagination-next:after {
  630. content: " ›";
  631. }
  632. .pagination-last {
  633. text-align: right;
  634. }
  635. .pagination-last:after {
  636. content: " »";
  637. }
  638. .pagination-prev:before {
  639. content: "‹ ";
  640. }
  641. .pagination-first:before {
  642. content: "« ";
  643. }
  644. .pagination a {
  645. color: var(--pagination-link-color);
  646. }
  647. .pagination a:hover,
  648. .pagination a:focus {
  649. text-decoration: none;
  650. }
  651. /* List view */
  652. .item {
  653. border: 1px dotted var(--item-border-color);
  654. margin-bottom: 20px;
  655. padding: var(--item-padding);
  656. overflow: hidden;
  657. }
  658. .item.current-item {
  659. border: var(--current-item-border-width) solid var(--current-item-border-color);
  660. padding: 3px;
  661. box-shadow: var(--current-item-box-shadow);
  662. }
  663. .item.current-item:focus {
  664. outline: none;
  665. }
  666. .item-header {
  667. font-size: 1rem;
  668. }
  669. .item-header span {
  670. font-weight: normal;
  671. display: inline-block;
  672. }
  673. .item-title {
  674. font-size: 1rem;
  675. margin: 0;
  676. display: inline;
  677. }
  678. .item-title a {
  679. text-decoration: none;
  680. font-weight: var(--item-title-link-font-weight);
  681. font-size: inherit;
  682. }
  683. .feed-entries-counter {
  684. display: inline-flex;
  685. gap: 2px;
  686. align-items: center;
  687. }
  688. .item-status-read .item-title a {
  689. color: var(--item-status-read-title-link-color);
  690. }
  691. .item-meta {
  692. color: var(--item-meta-focus-color);
  693. font-size: 0.8em;
  694. }
  695. .item-meta a {
  696. color: #777;
  697. text-decoration: none;
  698. }
  699. .item-meta :is(a:is(:focus, :hover), button:is(:focus, :hover)) {
  700. color: #333;
  701. }
  702. .item-meta ul {
  703. margin-top: 5px;
  704. }
  705. .item-meta li {
  706. display: inline-block;
  707. }
  708. .item-meta-info {
  709. font-size: 0.85em;
  710. }
  711. .item-meta-info li:not(:last-child):after {
  712. content: "|";
  713. color: var(--item-meta-li-color);
  714. }
  715. .item-meta-icons li {
  716. margin-right: 8px;
  717. margin-top: 4px;
  718. }
  719. .item-meta-icons li:last-child {
  720. margin-right: 0;
  721. }
  722. .item-meta-icons li > :is(a, button) {
  723. color: #777;
  724. text-decoration: none;
  725. font-size: 0.8rem;
  726. border: none;
  727. background-color: transparent;
  728. cursor: pointer;
  729. }
  730. .item-meta-icons a span {
  731. text-decoration: underline;
  732. }
  733. .item-meta-icons button:active {
  734. translate: 1px 1px;
  735. }
  736. .items {
  737. overflow-x: hidden;
  738. touch-action: pan-y;
  739. }
  740. .hide-read-items .item-status-read:not(.current-item) {
  741. display: none;
  742. }
  743. .entry-swipe {
  744. transition-property: transform;
  745. transition-duration: 0s;
  746. transition-timing-function: ease-out;
  747. }
  748. /* Feeds list */
  749. article.feed-parsing-error {
  750. background-color: var(--feed-parsing-error-background-color);
  751. border-style: var(--feed-parsing-error-border-style);
  752. border-color: var(--feed-parsing-error-border-color);
  753. }
  754. article.feed-has-unread {
  755. background-color: var(--feed-has-unread-background-color);
  756. border-style: var(--feed-has-unread-border-style);
  757. border-color: var(--feed-has-unread-border-color);
  758. }
  759. .parsing-error {
  760. font-size: 0.85em;
  761. margin-top: 2px;
  762. color: var(--parsing-error-color);
  763. }
  764. .parsing-error-count {
  765. cursor: pointer;
  766. }
  767. /* Categories list */
  768. article.category-has-unread {
  769. background-color: var(--category-has-unread-background-color);
  770. border-style: var(--category-has-unread-border-style);
  771. border-color: var(--category-has-unread-border-color);
  772. }
  773. /* Icons */
  774. .icon,
  775. .icon-label {
  776. vertical-align: middle;
  777. display: inline-block;
  778. padding-right: 2px;
  779. }
  780. .icon {
  781. width: 16px;
  782. height: 16px;
  783. }
  784. /* Entry view */
  785. .entry header {
  786. padding-bottom: 5px;
  787. padding-inline: 5px;
  788. border-bottom: 1px dotted var(--entry-header-border-color);
  789. }
  790. .entry header h1 {
  791. font-size: 2.0em;
  792. line-height: 1.25em;
  793. margin: 5px 0 30px 0;
  794. overflow-wrap: break-word;
  795. }
  796. .entry header h1 a {
  797. text-decoration: none;
  798. color: var(--entry-header-title-link-color);
  799. }
  800. .entry header h1 a:hover,
  801. .entry header h1 a:focus {
  802. color: #666;
  803. }
  804. .entry-actions {
  805. margin-bottom: 20px;
  806. }
  807. .entry-actions a span {
  808. text-decoration: underline;
  809. }
  810. .entry-actions li {
  811. display: inline-block;
  812. margin-right: 15px;
  813. line-height: 1.7em;
  814. }
  815. .entry-meta {
  816. font-size: 0.95em;
  817. margin: 0 0 20px;
  818. color: #666;
  819. overflow-wrap: break-word;
  820. }
  821. .entry-tags {
  822. margin-top: 20px;
  823. margin-bottom: 20px;
  824. }
  825. .entry-tags strong {
  826. font-weight: 600;
  827. }
  828. .entry-website img {
  829. vertical-align: top;
  830. }
  831. .entry-website a {
  832. color: #666;
  833. vertical-align: top;
  834. text-decoration: none;
  835. }
  836. .entry-website a:hover,
  837. .entry-website a:focus {
  838. text-decoration: underline;
  839. }
  840. .entry-date {
  841. font-size: 0.65em;
  842. font-style: italic;
  843. color: #555;
  844. }
  845. .entry-content {
  846. padding-top: 15px;
  847. font-size: 1.2em;
  848. font-weight: var(--entry-content-font-weight);
  849. font-family: var(--entry-content-font-family);
  850. color: var(--entry-content-color);
  851. line-height: 1.4em;
  852. overflow-wrap: break-word;
  853. touch-action: pan-y pinch-zoom;
  854. }
  855. .entry-content h1, h2, h3, h4, h5, h6 {
  856. margin-top: 15px;
  857. margin-bottom: 10px;
  858. }
  859. .entry-content iframe,
  860. .entry-content video,
  861. .entry-content img {
  862. max-width: 100%;
  863. }
  864. .entry-content img {
  865. height: auto;
  866. }
  867. .entry-content figure {
  868. margin-top: 15px;
  869. margin-bottom: 15px;
  870. }
  871. .entry-content figure img {
  872. border: 1px solid #000;
  873. }
  874. .entry-content figcaption {
  875. font-size: 0.75em;
  876. text-transform: uppercase;
  877. color: #777;
  878. }
  879. .entry-content p {
  880. margin-top: 10px;
  881. margin-bottom: 15px;
  882. }
  883. .entry-content a {
  884. overflow-wrap: break-word;
  885. }
  886. .entry-content a:visited {
  887. color: var(--link-visited-color);
  888. }
  889. .entry-content dt {
  890. font-weight: 500;
  891. margin-top: 15px;
  892. color: #555;
  893. }
  894. .entry-content dd {
  895. margin-left: 15px;
  896. margin-top: 5px;
  897. padding-left: 20px;
  898. border-left: 3px solid #ddd;
  899. color: #777;
  900. font-weight: 300;
  901. line-height: 1.4em;
  902. }
  903. .entry-content blockquote {
  904. border-left: 4px solid #ddd;
  905. padding-left: 25px;
  906. margin-left: 20px;
  907. margin-top: 20px;
  908. margin-bottom: 20px;
  909. line-height: 1.4em;
  910. font-family: var(--entry-content-quote-font-family);
  911. }
  912. .entry-content q {
  913. color: var(--entry-content-quote-color);
  914. font-family: var(--entry-content-quote-font-family);
  915. font-style: italic;
  916. }
  917. .entry-content q:before {
  918. content: "“";
  919. }
  920. .entry-content q:after {
  921. content: "”";
  922. }
  923. .entry-content pre {
  924. padding: 5px;
  925. overflow: auto;
  926. overflow-wrap: initial;
  927. border-width: 1px;
  928. border-style: solid;
  929. }
  930. .entry-content pre,
  931. .entry-content code {
  932. color: var(--entry-content-code-color);
  933. background: var(--entry-content-code-background);
  934. border-color: var(--entry-content-code-border-color);
  935. }
  936. .entry-content table {
  937. max-width: 100%;
  938. }
  939. .entry-content ul,
  940. .entry-content ol {
  941. margin-left: 30px;
  942. margin-top: 15px;
  943. margin-bottom: 15px;
  944. }
  945. .entry-content li ul,
  946. .entry-content li ol {
  947. margin-top: 0;
  948. margin-bottom: 0;
  949. }
  950. .entry-content ul {
  951. list-style-type: square;
  952. }
  953. .entry-content strong {
  954. font-weight: 600;
  955. }
  956. .entry-content sub,
  957. .entry-content sup {
  958. font-size: 75%;
  959. line-height: 0;
  960. position: relative;
  961. vertical-align: baseline;
  962. }
  963. .entry-content sub {
  964. bottom: -0.25em;
  965. }
  966. .entry-content sup {
  967. top: -0.5em;
  968. }
  969. .entry-content abbr {
  970. cursor: pointer;
  971. text-decoration: none;
  972. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  973. }
  974. .entry-content aside {
  975. width: 30%;
  976. padding: 1ch;
  977. margin-left: 15px;
  978. float: right;
  979. font-style: italic;
  980. border: dotted var(--entry-content-aside-border-color) 2px;
  981. }
  982. details.entry-enclosures {
  983. margin-top: 25px;
  984. }
  985. .entry-enclosures summary {
  986. font-weight: 500;
  987. font-size: 1.2em;
  988. }
  989. .entry-enclosure {
  990. border: 1px dotted var(--entry-enclosure-border-color);
  991. padding: 5px;
  992. margin-top: 10px;
  993. max-width: 100%;
  994. }
  995. .entry-enclosure-download {
  996. font-size: 0.85em;
  997. overflow-wrap: break-word;
  998. }
  999. .enclosure-video video,
  1000. .enclosure-image img {
  1001. max-width: 100%;
  1002. }
  1003. /* Confirmation */
  1004. .confirm {
  1005. font-weight: 500;
  1006. color: #ed2d04;
  1007. }
  1008. .confirm button {
  1009. color: #ed2d04;
  1010. border: none;
  1011. background-color: transparent;
  1012. cursor: pointer;
  1013. font-size: inherit;
  1014. }
  1015. .loading {
  1016. font-style: italic;
  1017. }
  1018. /* Bookmarlet */
  1019. .bookmarklet {
  1020. border: 1px dashed #ccc;
  1021. border-radius: 5px;
  1022. padding: 15px;
  1023. margin: 15px;
  1024. text-align: center;
  1025. }
  1026. .bookmarklet a {
  1027. font-weight: 600;
  1028. text-decoration: none;
  1029. font-size: 1.2em;
  1030. }
  1031. .disabled {
  1032. opacity: 20%;
  1033. }
  1034. audio, video {
  1035. width: 100%;
  1036. }
  1037. .media-controls{
  1038. font-size: .9em;
  1039. display: flex;
  1040. flex-wrap: wrap;
  1041. }
  1042. .media-controls .media-control-label{
  1043. line-height: 1em;
  1044. }
  1045. .media-controls>div{
  1046. display: flex;
  1047. flex-wrap: nowrap;
  1048. justify-content:center;
  1049. min-width: 50%;
  1050. align-items: center;
  1051. }
  1052. .media-controls>div>*{
  1053. padding-left:12px;
  1054. }
  1055. .media-controls>div>*:first-child{
  1056. padding-left:0;
  1057. }
  1058. .media-controls span.speed-indicator{
  1059. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1060. This reduce ui flickering due to element moving around a bit
  1061. */
  1062. font-family: monospace;
  1063. }
  1064. .integration-form summary {
  1065. font-weight: 700;
  1066. }
  1067. .integration-form details {
  1068. margin-bottom: 15px;
  1069. }
  1070. .integration-form details .form-section {
  1071. margin-top: 15px;
  1072. }
  1073. .hidden {
  1074. display: none;
  1075. }