common.css 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285
  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. }
  284. /* Tables */
  285. table {
  286. width: 100%;
  287. border-collapse: collapse;
  288. }
  289. table, th, td {
  290. border: 1px solid var(--table-border-color);
  291. }
  292. th, td {
  293. padding: 5px;
  294. text-align: left;
  295. }
  296. td {
  297. vertical-align: top;
  298. }
  299. th {
  300. background: var(--table-th-background);
  301. color: var(--table-th-color);
  302. font-weight: 400;
  303. }
  304. tr:hover {
  305. color: var(--table-tr-hover-color);
  306. background-color: var(--table-tr-hover-background-color);
  307. }
  308. .column-40 {
  309. width: 40%;
  310. }
  311. .column-25 {
  312. width: 25%;
  313. }
  314. .column-20 {
  315. width: 20%;
  316. }
  317. /* Forms */
  318. fieldset {
  319. border: 1px dotted #ddd;
  320. padding: 8px;
  321. margin-bottom: 20px;
  322. }
  323. legend {
  324. font-weight: 500;
  325. padding-left: 3px;
  326. padding-right: 3px;
  327. }
  328. label {
  329. cursor: pointer;
  330. display: block;
  331. }
  332. .radio-group {
  333. line-height: 1.9em;
  334. }
  335. div.radio-group label {
  336. display: inline-block;
  337. }
  338. select {
  339. margin-bottom: 15px;
  340. }
  341. input[type="search"],
  342. input[type="url"],
  343. input[type="password"],
  344. input[type="text"],
  345. input[type="number"] {
  346. color: var(--input-color);
  347. background: var(--input-background);
  348. border: var(--input-border);
  349. padding: 3px;
  350. line-height: 20px;
  351. width: 250px;
  352. font-size: 99%;
  353. margin-bottom: 10px;
  354. margin-top: 5px;
  355. appearance: none;
  356. }
  357. input[type="search"]:focus,
  358. input[type="url"]:focus,
  359. input[type="password"]:focus,
  360. input[type="text"]:focus,
  361. input[type="number"]:focus {
  362. color: var(--input-focus-color);
  363. border-color: var(--input-focus-border-color);
  364. outline: 0;
  365. box-shadow: var(--input-focus-box-shadow);
  366. }
  367. #form-entries-per-page {
  368. max-width: 80px;
  369. }
  370. input[type="checkbox"] {
  371. margin-bottom: 15px;
  372. }
  373. textarea {
  374. width: 350px;
  375. color: var(--input-color);
  376. background: var(--input-background);
  377. border: var(--input-border);
  378. padding: 3px;
  379. margin-bottom: 10px;
  380. margin-top: 5px;
  381. appearance: none;
  382. }
  383. textarea:focus {
  384. color: var(--input-focus-color);
  385. border-color: var(--input-focus-border-color);
  386. outline: 0;
  387. box-shadow: var(--input-focus-box-shadow);
  388. }
  389. input::placeholder {
  390. color: var(--input-placeholder-color);
  391. padding-top: 2px;
  392. }
  393. .form-label-row {
  394. display: flex;
  395. }
  396. .form-help {
  397. font-size: 0.9em;
  398. color: brown;
  399. margin-bottom: 15px;
  400. }
  401. .form-section {
  402. border-left: 2px dotted #ddd;
  403. padding-left: 20px;
  404. margin-left: 10px;
  405. }
  406. details > summary {
  407. outline: none;
  408. cursor: pointer;
  409. }
  410. .details-content {
  411. margin-top: 15px;
  412. }
  413. /* Buttons */
  414. a.button {
  415. text-decoration: none;
  416. }
  417. .button {
  418. display: inline-block;
  419. appearance: none;
  420. font-size: 1.1em;
  421. cursor: pointer;
  422. padding: 3px 10px;
  423. border: 1px solid;
  424. border-radius: unset;
  425. }
  426. .button-primary {
  427. border-color: var(--button-primary-border-color);
  428. background: var(--button-primary-background);
  429. color: var(--button-primary-color);
  430. }
  431. a.button-primary:hover,
  432. a.button-primary:focus,
  433. .button-primary:hover,
  434. .button-primary:focus {
  435. border-color: var(--button-primary-focus-border-color);
  436. background: var(--button-primary-focus-background);
  437. color: var(--button-primary-color);
  438. }
  439. .button-danger {
  440. border-color: #b0281a;
  441. background: #d14836;
  442. color: #fff;
  443. }
  444. .button-danger:hover,
  445. .button-danger:focus {
  446. color: #fff;
  447. background: #c53727;
  448. }
  449. .button:disabled {
  450. color: #ccc;
  451. background: #f7f7f7;
  452. border-color: #ccc;
  453. }
  454. .buttons {
  455. margin-top: 10px;
  456. margin-bottom: 20px;
  457. }
  458. fieldset .buttons {
  459. margin-bottom: 0;
  460. }
  461. /* Alerts */
  462. .alert {
  463. padding: 8px 35px 8px 14px;
  464. margin-bottom: 20px;
  465. color: var(--alert-color);
  466. background-color: var(--alert-background-color);
  467. border: 1px solid var(--alert-border-color);
  468. border-radius: 4px;
  469. overflow: auto;
  470. }
  471. .alert h3 {
  472. margin-top: 0;
  473. margin-bottom: 15px;
  474. }
  475. .alert-success {
  476. color: var(--alert-success-color);
  477. background-color: var(--alert-success-background-color);
  478. border-color: var(--alert-success-border-color);
  479. }
  480. .alert-error {
  481. color: var(--alert-error-color);
  482. background-color: var(--alert-error-background-color);
  483. border-color: var(--alert-error-border-color);
  484. }
  485. .alert-error h3,
  486. .alert-error a {
  487. color: var(--alert-error-color);
  488. }
  489. .alert-info {
  490. color: var(--alert-info-color);
  491. background-color: var(--alert-info-background-color);
  492. border-color: var(--alert-info-border-color);
  493. }
  494. /* Panel */
  495. .panel {
  496. color: var(--panel-color);
  497. background-color: var(--panel-background);
  498. border: 1px solid var(--panel-border-color);
  499. border-radius: 5px;
  500. padding: 10px;
  501. margin-bottom: 15px;
  502. }
  503. .panel h3 {
  504. font-weight: 500;
  505. margin-top: 0;
  506. margin-bottom: 20px;
  507. }
  508. .panel ul {
  509. margin-left: 30px;
  510. }
  511. /* Modals */
  512. template {
  513. display: none;
  514. }
  515. #modal-left {
  516. position: fixed;
  517. top: 0;
  518. left: 0;
  519. bottom: 0;
  520. width: 380px;
  521. overflow: auto;
  522. color: var(--modal-color);
  523. background: var(--modal-background);
  524. box-shadow: var(--modal-box-shadow);
  525. padding: 5px;
  526. padding-top: 30px;
  527. }
  528. #modal-left h3 {
  529. font-weight: 400;
  530. margin: 0;
  531. }
  532. .btn-close-modal {
  533. position: absolute;
  534. top: 0;
  535. right: 0;
  536. font-size: 1.7em;
  537. color: #ccc;
  538. padding:0 .2em;
  539. margin: 10px;
  540. text-decoration: none;
  541. background-color: transparent;
  542. border: none;
  543. }
  544. .btn-close-modal:hover {
  545. color: #999;
  546. }
  547. /* Keyboard Shortcuts */
  548. .keyboard-shortcuts li {
  549. margin-left: 25px;
  550. list-style-type: square;
  551. color: var(--keyboard-shortcuts-li-color);
  552. font-size: 0.95em;
  553. line-height: 1.45em;
  554. }
  555. .keyboard-shortcuts p {
  556. line-height: 1.9em;
  557. }
  558. /* Login form */
  559. .login-form {
  560. margin: 50px auto 0;
  561. max-width: 300px;
  562. }
  563. /* Counters */
  564. .unread-counter-wrapper,
  565. .error-feeds-counter-wrapper {
  566. font-size: 0.9em;
  567. font-weight: 300;
  568. color: var(--counter-color);
  569. }
  570. /* Category label */
  571. .category {
  572. font-size: 0.75em;
  573. background-color: var(--category-background-color);
  574. border: 1px solid var(--category-border-color);
  575. border-radius: 5px;
  576. margin-left: 0.25em;
  577. padding: 1px 0.4em 1px 0.4em;
  578. white-space: nowrap;
  579. color: var(--category-color);
  580. }
  581. .category a {
  582. color: var(--category-link-color);
  583. text-decoration: none;
  584. }
  585. .category a:hover,
  586. .category a:focus {
  587. color: var(--category-link-hover-color);
  588. }
  589. .category-item-total {
  590. color: var(--body-color);
  591. }
  592. /* Pagination */
  593. .pagination {
  594. font-size: 1.1em;
  595. display: flex;
  596. align-items: center;
  597. justify-content: space-between;
  598. }
  599. .pagination-top {
  600. padding-bottom: 8px;
  601. }
  602. .pagination-bottom {
  603. padding-top: 8px;
  604. }
  605. .pagination-entry-top {
  606. padding-top: 8px;
  607. }
  608. .pagination-entry-bottom {
  609. border-top: 1px dotted var(--pagination-border-color);
  610. margin-bottom: 15px;
  611. margin-top: 50px;
  612. padding-top: 8px;
  613. }
  614. .pagination > div {
  615. display: flex;
  616. }
  617. .pagination > div.pagination-backward > div {
  618. padding-right: 15px;
  619. }
  620. .pagination > div.pagination-forward > div {
  621. padding-left: 15px;
  622. }
  623. .pagination-next {
  624. text-align: right;
  625. }
  626. .pagination-next:after {
  627. content: " ›";
  628. }
  629. .pagination-last {
  630. text-align: right;
  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 figure {
  862. margin-top: 15px;
  863. margin-bottom: 15px;
  864. }
  865. .entry-content figure img {
  866. border: 1px solid #000;
  867. }
  868. .entry-content figcaption {
  869. font-size: 0.75em;
  870. text-transform: uppercase;
  871. color: #777;
  872. }
  873. .entry-content p {
  874. margin-top: 10px;
  875. margin-bottom: 15px;
  876. }
  877. .entry-content a {
  878. overflow-wrap: break-word;
  879. }
  880. .entry-content a:visited {
  881. color: var(--link-visited-color);
  882. }
  883. .entry-content dt {
  884. font-weight: 500;
  885. margin-top: 15px;
  886. color: #555;
  887. }
  888. .entry-content dd {
  889. margin-left: 15px;
  890. margin-top: 5px;
  891. padding-left: 20px;
  892. border-left: 3px solid #ddd;
  893. color: #777;
  894. font-weight: 300;
  895. line-height: 1.4em;
  896. }
  897. .entry-content blockquote {
  898. border-left: 4px solid #ddd;
  899. padding-left: 25px;
  900. margin-left: 20px;
  901. margin-top: 20px;
  902. margin-bottom: 20px;
  903. line-height: 1.4em;
  904. font-family: var(--entry-content-quote-font-family);
  905. }
  906. .entry-content q {
  907. color: var(--entry-content-quote-color);
  908. font-family: var(--entry-content-quote-font-family);
  909. font-style: italic;
  910. }
  911. .entry-content q:before {
  912. content: "“";
  913. }
  914. .entry-content q:after {
  915. content: "”";
  916. }
  917. .entry-content pre {
  918. padding: 5px;
  919. overflow: auto;
  920. overflow-wrap: initial;
  921. border-width: 1px;
  922. border-style: solid;
  923. }
  924. .entry-content pre,
  925. .entry-content code {
  926. color: var(--entry-content-code-color);
  927. background: var(--entry-content-code-background);
  928. border-color: var(--entry-content-code-border-color);
  929. }
  930. .entry-content table {
  931. max-width: 100%;
  932. }
  933. .entry-content ul,
  934. .entry-content ol {
  935. margin-left: 30px;
  936. margin-top: 15px;
  937. margin-bottom: 15px;
  938. }
  939. .entry-content li ul,
  940. .entry-content li ol {
  941. margin-top: 0;
  942. margin-bottom: 0;
  943. }
  944. .entry-content ul {
  945. list-style-type: square;
  946. }
  947. .entry-content strong {
  948. font-weight: 600;
  949. }
  950. .entry-content sub,
  951. .entry-content sup {
  952. font-size: 75%;
  953. line-height: 0;
  954. position: relative;
  955. vertical-align: baseline;
  956. }
  957. .entry-content sub {
  958. bottom: -0.25em;
  959. }
  960. .entry-content sup {
  961. top: -0.5em;
  962. }
  963. .entry-content abbr {
  964. cursor: pointer;
  965. text-decoration: none;
  966. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  967. }
  968. details.entry-enclosures {
  969. margin-top: 25px;
  970. }
  971. .entry-enclosures summary {
  972. font-weight: 500;
  973. font-size: 1.2em;
  974. }
  975. .entry-enclosure {
  976. border: 1px dotted var(--entry-enclosure-border-color);
  977. padding: 5px;
  978. margin-top: 10px;
  979. max-width: 100%;
  980. }
  981. .entry-enclosure-download {
  982. font-size: 0.85em;
  983. overflow-wrap: break-word;
  984. }
  985. .enclosure-video video,
  986. .enclosure-image img {
  987. max-width: 100%;
  988. }
  989. /* Confirmation */
  990. .confirm {
  991. font-weight: 500;
  992. color: #ed2d04;
  993. }
  994. .confirm button {
  995. color: #ed2d04;
  996. border: none;
  997. background-color: transparent;
  998. cursor: pointer;
  999. font-size: inherit;
  1000. }
  1001. .loading {
  1002. font-style: italic;
  1003. }
  1004. /* Bookmarlet */
  1005. .bookmarklet {
  1006. border: 1px dashed #ccc;
  1007. border-radius: 5px;
  1008. padding: 15px;
  1009. margin: 15px;
  1010. text-align: center;
  1011. }
  1012. .bookmarklet a {
  1013. font-weight: 600;
  1014. text-decoration: none;
  1015. font-size: 1.2em;
  1016. }
  1017. .disabled {
  1018. opacity: 20%;
  1019. }
  1020. audio, video {
  1021. width: 100%;
  1022. }
  1023. .media-controls{
  1024. font-size: .9em;
  1025. display: flex;
  1026. flex-wrap: wrap;
  1027. }
  1028. .media-controls .media-control-label{
  1029. line-height: 1em;
  1030. }
  1031. .media-controls>div{
  1032. display: flex;
  1033. flex-wrap: nowrap;
  1034. justify-content:center;
  1035. min-width: 50%;
  1036. align-items: center;
  1037. }
  1038. .media-controls>div>*{
  1039. padding-left:12px;
  1040. }
  1041. .media-controls>div>*:first-child{
  1042. padding-left:0;
  1043. }
  1044. .media-controls span.speed-indicator{
  1045. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1046. This reduce ui flickering due to element moving around a bit
  1047. */
  1048. font-family: monospace;
  1049. }
  1050. .integration-form summary {
  1051. font-weight: 700;
  1052. }
  1053. .integration-form details {
  1054. margin-bottom: 15px;
  1055. }
  1056. .integration-form details .form-section {
  1057. margin-top: 15px;
  1058. }
  1059. .hidden {
  1060. display: none;
  1061. }