common.css 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309
  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, .pagination-last {
  627. text-align: right;
  628. }
  629. .pagination-next:after {
  630. content: " ›";
  631. }
  632. .pagination-last:after {
  633. content: " »";
  634. }
  635. .pagination-prev:before {
  636. content: "‹ ";
  637. }
  638. .pagination-first:before {
  639. content: "« ";
  640. }
  641. .pagination a {
  642. color: var(--pagination-link-color);
  643. }
  644. .pagination a:hover,
  645. .pagination a:focus {
  646. text-decoration: none;
  647. }
  648. /* List view */
  649. .item {
  650. border: 1px dotted var(--item-border-color);
  651. margin-bottom: 20px;
  652. padding: var(--item-padding);
  653. overflow: hidden;
  654. }
  655. .item.current-item {
  656. border: var(--current-item-border-width) solid var(--current-item-border-color);
  657. padding: 3px;
  658. box-shadow: var(--current-item-box-shadow);
  659. }
  660. .item.current-item:focus {
  661. outline: none;
  662. }
  663. .item-header {
  664. font-size: 1rem;
  665. }
  666. .item-header span {
  667. font-weight: normal;
  668. display: inline-block;
  669. }
  670. .item-title {
  671. font-size: 1rem;
  672. margin: 0;
  673. display: inline;
  674. }
  675. .item-title a {
  676. text-decoration: none;
  677. font-weight: var(--item-title-link-font-weight);
  678. font-size: inherit;
  679. }
  680. .feed-entries-counter {
  681. display: inline-flex;
  682. gap: 2px;
  683. align-items: center;
  684. }
  685. .item-status-read .item-title a {
  686. color: var(--item-status-read-title-link-color);
  687. }
  688. .item-meta {
  689. color: var(--item-meta-focus-color);
  690. font-size: 0.8em;
  691. }
  692. .item-meta a {
  693. color: #777;
  694. text-decoration: none;
  695. }
  696. .item-meta :is(a:is(:focus, :hover), button:is(:focus, :hover)) {
  697. color: #333;
  698. }
  699. .item-meta ul {
  700. margin-top: 5px;
  701. }
  702. .item-meta li {
  703. display: inline-block;
  704. }
  705. .item-meta-info {
  706. font-size: 0.85em;
  707. }
  708. .item-meta-info li:not(:last-child):after {
  709. content: "|";
  710. color: var(--item-meta-li-color);
  711. }
  712. .item-meta-icons li {
  713. margin-right: 8px;
  714. margin-top: 4px;
  715. }
  716. .item-meta-icons li:last-child {
  717. margin-right: 0;
  718. }
  719. .item-meta-icons li > :is(a, button) {
  720. color: #777;
  721. text-decoration: none;
  722. font-size: 0.8rem;
  723. border: none;
  724. background-color: transparent;
  725. cursor: pointer;
  726. }
  727. .item-meta-icons a span {
  728. text-decoration: underline;
  729. }
  730. .item-meta-icons button:active {
  731. translate: 1px 1px;
  732. }
  733. .items {
  734. overflow-x: hidden;
  735. touch-action: pan-y;
  736. }
  737. .hide-read-items .item-status-read:not(.current-item) {
  738. display: none;
  739. }
  740. .entry-swipe {
  741. transition-property: transform;
  742. transition-duration: 0s;
  743. transition-timing-function: ease-out;
  744. }
  745. /* Feeds list */
  746. article.feed-parsing-error {
  747. background-color: var(--feed-parsing-error-background-color);
  748. border-style: var(--feed-parsing-error-border-style);
  749. border-color: var(--feed-parsing-error-border-color);
  750. }
  751. article.feed-has-unread {
  752. background-color: var(--feed-has-unread-background-color);
  753. border-style: var(--feed-has-unread-border-style);
  754. border-color: var(--feed-has-unread-border-color);
  755. }
  756. .parsing-error {
  757. font-size: 0.85em;
  758. margin-top: 2px;
  759. color: var(--parsing-error-color);
  760. }
  761. .parsing-error-count {
  762. cursor: pointer;
  763. }
  764. /* Categories list */
  765. article.category-has-unread {
  766. background-color: var(--category-has-unread-background-color);
  767. border-style: var(--category-has-unread-border-style);
  768. border-color: var(--category-has-unread-border-color);
  769. }
  770. /* Icons */
  771. .icon,
  772. .icon-label {
  773. vertical-align: middle;
  774. display: inline-block;
  775. padding-right: 2px;
  776. }
  777. .icon {
  778. width: 16px;
  779. height: 16px;
  780. }
  781. /* Entry view */
  782. .entry header {
  783. padding-bottom: 5px;
  784. padding-inline: 5px;
  785. border-bottom: 1px dotted var(--entry-header-border-color);
  786. }
  787. .entry header h1 {
  788. font-size: 2.0em;
  789. line-height: 1.25em;
  790. margin: 5px 0 30px 0;
  791. overflow-wrap: break-word;
  792. }
  793. .entry header h1 a {
  794. text-decoration: none;
  795. color: var(--entry-header-title-link-color);
  796. }
  797. .entry header h1 a:hover,
  798. .entry header h1 a:focus {
  799. color: #666;
  800. }
  801. .entry-actions {
  802. margin-bottom: 20px;
  803. }
  804. .entry-actions a span {
  805. text-decoration: underline;
  806. }
  807. .entry-actions li {
  808. display: inline-block;
  809. margin-right: 15px;
  810. line-height: 1.7em;
  811. }
  812. .entry-meta {
  813. font-size: 0.95em;
  814. margin: 0 0 20px;
  815. color: #666;
  816. overflow-wrap: break-word;
  817. }
  818. .entry-tags {
  819. margin-top: 20px;
  820. margin-bottom: 20px;
  821. }
  822. .entry-tags strong {
  823. font-weight: 600;
  824. }
  825. .entry-website img {
  826. vertical-align: top;
  827. }
  828. .entry-website a {
  829. color: #666;
  830. vertical-align: top;
  831. text-decoration: none;
  832. }
  833. .entry-website a:hover,
  834. .entry-website a:focus {
  835. text-decoration: underline;
  836. }
  837. .entry-date {
  838. font-size: 0.65em;
  839. font-style: italic;
  840. color: #555;
  841. }
  842. .entry-content {
  843. padding-top: 15px;
  844. font-size: 1.2em;
  845. font-weight: var(--entry-content-font-weight);
  846. font-family: var(--entry-content-font-family);
  847. color: var(--entry-content-color);
  848. line-height: 1.4em;
  849. overflow-wrap: break-word;
  850. touch-action: pan-y pinch-zoom;
  851. }
  852. .entry-content h1, h2, h3, h4, h5, h6 {
  853. margin-top: 15px;
  854. margin-bottom: 10px;
  855. }
  856. .entry-content iframe,
  857. .entry-content video,
  858. .entry-content img {
  859. max-width: 100%;
  860. }
  861. .entry-content img {
  862. height: auto;
  863. }
  864. .entry-content figure {
  865. margin-top: 15px;
  866. margin-bottom: 15px;
  867. }
  868. .entry-content figure img {
  869. border: 1px solid #000;
  870. }
  871. .entry-content figcaption {
  872. font-size: 0.75em;
  873. text-transform: uppercase;
  874. color: #777;
  875. }
  876. .entry-content p {
  877. margin-top: 10px;
  878. margin-bottom: 15px;
  879. }
  880. .entry-content a {
  881. overflow-wrap: break-word;
  882. }
  883. .entry-content a:visited {
  884. color: var(--link-visited-color);
  885. }
  886. .entry-content dt {
  887. font-weight: 500;
  888. margin-top: 15px;
  889. color: #555;
  890. }
  891. .entry-content dd {
  892. margin-left: 15px;
  893. margin-top: 5px;
  894. padding-left: 20px;
  895. border-left: 3px solid #ddd;
  896. color: #777;
  897. font-weight: 300;
  898. line-height: 1.4em;
  899. }
  900. .entry-content blockquote {
  901. border-left: 4px solid #ddd;
  902. padding-left: 25px;
  903. margin-left: 20px;
  904. margin-top: 20px;
  905. margin-bottom: 20px;
  906. line-height: 1.4em;
  907. font-family: var(--entry-content-quote-font-family);
  908. }
  909. .entry-content q {
  910. color: var(--entry-content-quote-color);
  911. font-family: var(--entry-content-quote-font-family);
  912. font-style: italic;
  913. }
  914. .entry-content q:before {
  915. content: "“";
  916. }
  917. .entry-content q:after {
  918. content: "”";
  919. }
  920. .entry-content pre {
  921. padding: 5px;
  922. overflow: auto;
  923. overflow-wrap: initial;
  924. border-width: 1px;
  925. border-style: solid;
  926. }
  927. .entry-content pre,
  928. .entry-content code {
  929. color: var(--entry-content-code-color);
  930. background: var(--entry-content-code-background);
  931. border-color: var(--entry-content-code-border-color);
  932. }
  933. .entry-content table {
  934. max-width: 100%;
  935. }
  936. .entry-content ul,
  937. .entry-content ol {
  938. margin-left: 30px;
  939. margin-top: 15px;
  940. margin-bottom: 15px;
  941. }
  942. .entry-content li ul,
  943. .entry-content li ol {
  944. margin-top: 0;
  945. margin-bottom: 0;
  946. }
  947. .entry-content ul {
  948. list-style-type: square;
  949. }
  950. .entry-content strong {
  951. font-weight: 600;
  952. }
  953. .entry-content sub,
  954. .entry-content sup {
  955. font-size: 75%;
  956. line-height: 0;
  957. position: relative;
  958. vertical-align: baseline;
  959. }
  960. .entry-content sub {
  961. bottom: -0.25em;
  962. }
  963. .entry-content sup {
  964. top: -0.5em;
  965. }
  966. .entry-content abbr {
  967. cursor: pointer;
  968. text-decoration: none;
  969. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  970. }
  971. .entry-content aside {
  972. font-size: 0.9em;
  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. @media (max-width: 620px) {
  981. .entry-content aside {
  982. width: 100%;
  983. margin-left: 0;
  984. margin-top: 15px;
  985. float: none;
  986. }
  987. }
  988. details.entry-enclosures {
  989. margin-top: 25px;
  990. }
  991. .entry-enclosures summary {
  992. font-weight: 500;
  993. font-size: 1.2em;
  994. }
  995. .entry-enclosure {
  996. border: 1px dotted var(--entry-enclosure-border-color);
  997. padding: 5px;
  998. margin-top: 10px;
  999. max-width: 100%;
  1000. }
  1001. .entry-enclosure-download {
  1002. font-size: 0.85em;
  1003. overflow-wrap: break-word;
  1004. }
  1005. .enclosure-video video,
  1006. .enclosure-image img {
  1007. max-width: 100%;
  1008. }
  1009. /* Confirmation */
  1010. .confirm {
  1011. font-weight: 500;
  1012. color: #ed2d04;
  1013. }
  1014. .confirm button {
  1015. color: #ed2d04;
  1016. border: none;
  1017. background-color: transparent;
  1018. cursor: pointer;
  1019. font-size: inherit;
  1020. }
  1021. .loading {
  1022. font-style: italic;
  1023. }
  1024. /* Bookmarlet */
  1025. .bookmarklet {
  1026. border: 1px dashed #ccc;
  1027. border-radius: 5px;
  1028. padding: 15px;
  1029. margin: 15px;
  1030. text-align: center;
  1031. }
  1032. .bookmarklet a {
  1033. font-weight: 600;
  1034. text-decoration: none;
  1035. font-size: 1.2em;
  1036. }
  1037. .disabled {
  1038. opacity: 20%;
  1039. }
  1040. audio, video {
  1041. width: 100%;
  1042. }
  1043. .media-controls{
  1044. font-size: .9em;
  1045. display: flex;
  1046. flex-wrap: wrap;
  1047. }
  1048. .media-controls .media-control-label{
  1049. line-height: 1em;
  1050. }
  1051. .media-controls>div{
  1052. display: flex;
  1053. flex-wrap: nowrap;
  1054. justify-content:center;
  1055. min-width: 50%;
  1056. align-items: center;
  1057. }
  1058. .media-controls>div>*{
  1059. padding-left:12px;
  1060. }
  1061. .media-controls>div>*:first-child{
  1062. padding-left:0;
  1063. }
  1064. .media-controls span.speed-indicator{
  1065. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1066. This reduce ui flickering due to element moving around a bit
  1067. */
  1068. font-family: monospace;
  1069. }
  1070. .integration-form summary {
  1071. font-weight: 700;
  1072. }
  1073. .integration-form details {
  1074. margin-bottom: 15px;
  1075. }
  1076. .integration-form details .form-section {
  1077. margin-top: 15px;
  1078. }
  1079. .hidden {
  1080. display: none;
  1081. }