common.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299
  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. width: 30%;
  973. padding: 1ch;
  974. margin-left: 15px;
  975. float: right;
  976. font-style: italic;
  977. border: dotted var(--entry-content-aside-border-color) 2px;
  978. }
  979. details.entry-enclosures {
  980. margin-top: 25px;
  981. }
  982. .entry-enclosures summary {
  983. font-weight: 500;
  984. font-size: 1.2em;
  985. }
  986. .entry-enclosure {
  987. border: 1px dotted var(--entry-enclosure-border-color);
  988. padding: 5px;
  989. margin-top: 10px;
  990. max-width: 100%;
  991. }
  992. .entry-enclosure-download {
  993. font-size: 0.85em;
  994. overflow-wrap: break-word;
  995. }
  996. .enclosure-video video,
  997. .enclosure-image img {
  998. max-width: 100%;
  999. }
  1000. /* Confirmation */
  1001. .confirm {
  1002. font-weight: 500;
  1003. color: #ed2d04;
  1004. }
  1005. .confirm button {
  1006. color: #ed2d04;
  1007. border: none;
  1008. background-color: transparent;
  1009. cursor: pointer;
  1010. font-size: inherit;
  1011. }
  1012. .loading {
  1013. font-style: italic;
  1014. }
  1015. /* Bookmarlet */
  1016. .bookmarklet {
  1017. border: 1px dashed #ccc;
  1018. border-radius: 5px;
  1019. padding: 15px;
  1020. margin: 15px;
  1021. text-align: center;
  1022. }
  1023. .bookmarklet a {
  1024. font-weight: 600;
  1025. text-decoration: none;
  1026. font-size: 1.2em;
  1027. }
  1028. .disabled {
  1029. opacity: 20%;
  1030. }
  1031. audio, video {
  1032. width: 100%;
  1033. }
  1034. .media-controls{
  1035. font-size: .9em;
  1036. display: flex;
  1037. flex-wrap: wrap;
  1038. }
  1039. .media-controls .media-control-label{
  1040. line-height: 1em;
  1041. }
  1042. .media-controls>div{
  1043. display: flex;
  1044. flex-wrap: nowrap;
  1045. justify-content:center;
  1046. min-width: 50%;
  1047. align-items: center;
  1048. }
  1049. .media-controls>div>*{
  1050. padding-left:12px;
  1051. }
  1052. .media-controls>div>*:first-child{
  1053. padding-left:0;
  1054. }
  1055. .media-controls span.speed-indicator{
  1056. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1057. This reduce ui flickering due to element moving around a bit
  1058. */
  1059. font-family: monospace;
  1060. }
  1061. .integration-form summary {
  1062. font-weight: 700;
  1063. }
  1064. .integration-form details {
  1065. margin-bottom: 15px;
  1066. }
  1067. .integration-form details .form-section {
  1068. margin-top: 15px;
  1069. }
  1070. .hidden {
  1071. display: none;
  1072. }