common.css 22 KB

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