common.css 22 KB

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