common.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346
  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. /* Smoother pages transition */
  73. @media not all and (prefers-reduced-motion: reduce) {
  74. @view-transition {
  75. navigation: auto;
  76. }
  77. }
  78. @media (prefers-reduced-motion: reduce) {
  79. @view-transition {
  80. navigation: none;
  81. }
  82. }
  83. /* Header and main menu */
  84. .header {
  85. margin-top: 10px;
  86. margin-bottom: 20px;
  87. }
  88. .header nav {
  89. display: flex;
  90. align-items: stretch;
  91. flex-direction: column;
  92. }
  93. .header nav .logo svg {
  94. padding: 5px;
  95. inline-size: 24px;
  96. block-size: 24px;
  97. }
  98. .header nav .logo[aria-expanded="true"] svg {
  99. rotate: 180deg;
  100. }
  101. .header ul.js-menu-show {
  102. display: initial;
  103. }
  104. .header ul:not(.js-menu-show) {
  105. display: none;
  106. }
  107. .header li {
  108. cursor: pointer;
  109. padding-left: 10px;
  110. line-height: 2.1em;
  111. font-size: 1.2em;
  112. border-bottom: 1px dotted var(--header-list-border-color);
  113. }
  114. .header li a:hover {
  115. color: #888;
  116. }
  117. .header :is(a, summary) {
  118. font-size: 0.9em;
  119. color: var(--header-link-color);
  120. text-decoration: none;
  121. border: none;
  122. font-weight: 400;
  123. }
  124. .header .active a {
  125. color: var(--header-active-link-color);
  126. /* Note: Firefox on Windows does not show the link as bold if the value is under 600 */
  127. font-weight: 600;
  128. }
  129. .header a:focus {
  130. color: var(--header-link-focus-color);
  131. }
  132. /* Page header and footer*/
  133. .page-header {
  134. padding-inline: 3px;
  135. margin-bottom: 10px;
  136. }
  137. .page-footer {
  138. margin-bottom: 10px;
  139. }
  140. .page-header h1 {
  141. font-weight: 500;
  142. border-bottom: 1px dotted var(--page-header-title-border-color);
  143. font-size: 1.5rem;
  144. }
  145. .page-header h1 a {
  146. text-decoration: none;
  147. color: var(--page-header-title-color);
  148. }
  149. .page-header h1 a:hover,
  150. .page-header h1 a:focus {
  151. color: #666;
  152. }
  153. .page-header li,
  154. .page-footer li {
  155. list-style-type: none;
  156. line-height: 1.8em;
  157. white-space: nowrap;
  158. }
  159. #header-menu .icon,
  160. .page-header ul a .icon {
  161. margin-bottom: 2px;
  162. }
  163. .page-header-action-form {
  164. display: inline-flex;
  165. }
  166. :is(.page-button, .page-link) {
  167. color: var(--link-color);
  168. border: none;
  169. background-color: transparent;
  170. font-size: 1rem;
  171. cursor: pointer;
  172. &:is(:hover, :focus) {
  173. color: var(--link-hover-color);
  174. }
  175. }
  176. .page-button:active {
  177. translate: 1px 1px;
  178. }
  179. /* Logo */
  180. .logo {
  181. text-align: center;
  182. display: flex;
  183. justify-content: center;
  184. }
  185. .logo a {
  186. color: var(--logo-color);
  187. letter-spacing: 1px;
  188. display: flex;
  189. align-items: center;
  190. }
  191. .logo a:hover {
  192. color: #339966;
  193. }
  194. .logo a span {
  195. color: #339966;
  196. }
  197. .logo a:hover span {
  198. color: var(--logo-hover-color-span);
  199. }
  200. /* PWA prompt */
  201. #prompt-home-screen {
  202. display: none;
  203. position: fixed;
  204. bottom: 0;
  205. right: 0;
  206. width: 100%;
  207. text-align: center;
  208. background: #000;
  209. opacity: 85%;
  210. }
  211. #btn-add-to-home-screen {
  212. text-decoration: none;
  213. height: 30px;
  214. color: #fff;
  215. background-color: transparent;
  216. border: 0;
  217. }
  218. #btn-add-to-home-screen:hover {
  219. color: red;
  220. }
  221. /* Notification - "Toast" */
  222. #toast-wrapper {
  223. visibility: hidden;
  224. opacity: 0;
  225. position: fixed;
  226. left: 0;
  227. bottom: 10%;
  228. color: #fff;
  229. width: 100%;
  230. text-align: center;
  231. }
  232. #toast-msg {
  233. background-color: rgba(0,0,0,0.7);
  234. padding-bottom: 4px;
  235. padding-left: 4px;
  236. padding-right: 5px;
  237. border-radius: 5px;
  238. }
  239. .toast-animate {
  240. animation: toastKeyFrames 2s;
  241. }
  242. @keyframes toastKeyFrames {
  243. 0% {visibility: hidden; opacity: 0;}
  244. 25% {visibility: visible; opacity: 1; z-index: 9999}
  245. 50% {visibility: visible; opacity: 1; z-index: 9999}
  246. 75% {visibility: visible; opacity: 1; z-index: 9999}
  247. 100% {visibility: hidden; opacity: 0; z-index: 0}
  248. }
  249. /* Hide the logo when there is not enough space to display menus when using languages more verbose than English */
  250. @media (min-width: 620px) and (max-width: 850px) {
  251. .logo {
  252. display: none;
  253. }
  254. }
  255. @media (min-width: 850px) {
  256. .logo {
  257. padding-right: 8px;
  258. }
  259. }
  260. @media (min-width: 620px) {
  261. body {
  262. margin: auto;
  263. max-width: 900px; /* Wide enough to display the logo and the menu one a single row for any languages */
  264. }
  265. .header {
  266. padding-left: 3px;
  267. }
  268. .header li {
  269. display: inline-block;
  270. padding: 0 5px 0 0;
  271. line-height: normal;
  272. border: none;
  273. font-size: 1.0em;
  274. }
  275. .header nav {
  276. flex-direction: row;
  277. }
  278. .header .logo svg {
  279. display: none;
  280. }
  281. .header ul:not(.js-menu-show), .header ul.js-menu-show {
  282. display: revert;
  283. }
  284. .header :is(a, summary):hover {
  285. color: var(--header-link-hover-color);
  286. }
  287. .page-header li,
  288. .page-footer li {
  289. display: inline;
  290. padding-right: 15px;
  291. }
  292. .pagination-backward,
  293. .pagination-forward {
  294. display: flex;
  295. }
  296. }
  297. /* Tables */
  298. table {
  299. width: 100%;
  300. border-collapse: collapse;
  301. }
  302. table, th, td {
  303. border: 1px solid var(--table-border-color);
  304. }
  305. th, td {
  306. padding: 5px;
  307. text-align: left;
  308. }
  309. td {
  310. vertical-align: top;
  311. }
  312. th {
  313. background: var(--table-th-background);
  314. color: var(--table-th-color);
  315. font-weight: 400;
  316. }
  317. tr:hover {
  318. color: var(--table-tr-hover-color);
  319. background-color: var(--table-tr-hover-background-color);
  320. }
  321. .column-40 {
  322. width: 40%;
  323. }
  324. .column-25 {
  325. width: 25%;
  326. }
  327. .column-20 {
  328. width: 20%;
  329. }
  330. /* Forms */
  331. fieldset {
  332. border: 1px dotted #ddd;
  333. padding: 8px;
  334. margin-bottom: 20px;
  335. }
  336. legend {
  337. font-weight: 500;
  338. padding-left: 3px;
  339. padding-right: 3px;
  340. }
  341. label {
  342. cursor: pointer;
  343. display: block;
  344. }
  345. .radio-group {
  346. line-height: 1.9em;
  347. }
  348. div.radio-group label {
  349. display: inline-block;
  350. }
  351. select {
  352. margin-bottom: 15px;
  353. }
  354. input[type="search"],
  355. input[type="url"],
  356. input[type="password"],
  357. input[type="text"],
  358. input[type="number"] {
  359. color: var(--input-color);
  360. background: var(--input-background);
  361. border: var(--input-border);
  362. padding: 3px;
  363. line-height: 20px;
  364. width: 250px;
  365. font-size: 99%;
  366. margin-top: 5px;
  367. margin-bottom: 10px;;
  368. appearance: none;
  369. }
  370. input[type="search"]:focus,
  371. input[type="url"]:focus,
  372. input[type="password"]:focus,
  373. input[type="text"]:focus,
  374. input[type="number"]:focus {
  375. color: var(--input-focus-color);
  376. border-color: var(--input-focus-border-color);
  377. outline: 0;
  378. box-shadow: var(--input-focus-box-shadow);
  379. }
  380. #form-entries-per-page {
  381. max-width: 80px;
  382. }
  383. input[type="checkbox"] {
  384. margin-top: 10px;
  385. margin-bottom: 10px;
  386. }
  387. textarea {
  388. width: 350px;
  389. color: var(--input-color);
  390. background: var(--input-background);
  391. border: var(--input-border);
  392. padding: 3px;
  393. margin-bottom: 10px;
  394. margin-top: 5px;
  395. appearance: none;
  396. }
  397. textarea:focus {
  398. color: var(--input-focus-color);
  399. border-color: var(--input-focus-border-color);
  400. outline: 0;
  401. box-shadow: var(--input-focus-box-shadow);
  402. }
  403. input::placeholder {
  404. color: var(--input-placeholder-color);
  405. padding-top: 2px;
  406. }
  407. .form-label-row {
  408. display: flex;
  409. }
  410. .form-help {
  411. font-size: 0.9em;
  412. color: brown;
  413. margin-bottom: 15px;
  414. }
  415. .form-section {
  416. border-left: 2px dotted #ddd;
  417. padding-left: 20px;
  418. margin-left: 10px;
  419. }
  420. details > summary {
  421. outline: none;
  422. cursor: pointer;
  423. }
  424. .details-content {
  425. margin-top: 15px;
  426. }
  427. /* Buttons */
  428. a.button {
  429. text-decoration: none;
  430. }
  431. .button {
  432. display: inline-block;
  433. appearance: none;
  434. font-size: 1.1em;
  435. cursor: pointer;
  436. padding: 3px 10px;
  437. border: 1px solid;
  438. border-radius: unset;
  439. }
  440. .button-primary {
  441. border-color: var(--button-primary-border-color);
  442. background: var(--button-primary-background);
  443. color: var(--button-primary-color);
  444. }
  445. a.button-primary:hover,
  446. a.button-primary:focus,
  447. .button-primary:hover,
  448. .button-primary:focus {
  449. border-color: var(--button-primary-focus-border-color);
  450. background: var(--button-primary-focus-background);
  451. color: var(--button-primary-color);
  452. }
  453. .button-danger {
  454. border-color: #b0281a;
  455. background: #d14836;
  456. color: #fff;
  457. }
  458. .button-danger:hover,
  459. .button-danger:focus {
  460. color: #fff;
  461. background: #c53727;
  462. }
  463. .button:disabled {
  464. color: #ccc;
  465. background: #f7f7f7;
  466. border-color: #ccc;
  467. }
  468. .buttons {
  469. margin-top: 10px;
  470. margin-bottom: 20px;
  471. }
  472. fieldset .buttons {
  473. margin-bottom: 0;
  474. }
  475. /* Alerts */
  476. .alert {
  477. padding: 8px 35px 8px 14px;
  478. margin-bottom: 20px;
  479. color: var(--alert-color);
  480. background-color: var(--alert-background-color);
  481. border: 1px solid var(--alert-border-color);
  482. border-radius: 4px;
  483. overflow: auto;
  484. }
  485. .alert h3 {
  486. margin-top: 0;
  487. margin-bottom: 15px;
  488. }
  489. .alert-success {
  490. color: var(--alert-success-color);
  491. background-color: var(--alert-success-background-color);
  492. border-color: var(--alert-success-border-color);
  493. }
  494. .alert-error {
  495. color: var(--alert-error-color);
  496. background-color: var(--alert-error-background-color);
  497. border-color: var(--alert-error-border-color);
  498. }
  499. .alert-error h3,
  500. .alert-error a {
  501. color: var(--alert-error-color);
  502. }
  503. .alert-info {
  504. color: var(--alert-info-color);
  505. background-color: var(--alert-info-background-color);
  506. border-color: var(--alert-info-border-color);
  507. }
  508. /* Panel */
  509. .panel {
  510. color: var(--panel-color);
  511. background-color: var(--panel-background);
  512. border: 1px solid var(--panel-border-color);
  513. border-radius: 5px;
  514. padding: 10px;
  515. margin-bottom: 15px;
  516. }
  517. .panel h3 {
  518. font-weight: 500;
  519. margin-top: 0;
  520. margin-bottom: 20px;
  521. }
  522. .panel ul {
  523. margin-left: 30px;
  524. }
  525. /* Modals */
  526. template {
  527. display: none;
  528. }
  529. dialog {
  530. max-height: none;
  531. height: 100vh;
  532. border: none;
  533. padding: 1%;
  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: text-bottom;
  774. display: inline-block;
  775. margin-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-actions .icon-label {
  813. vertical-align: middle;
  814. }
  815. .entry-meta {
  816. font-size: 0.95em;
  817. margin: 0 0 20px;
  818. color: #666;
  819. overflow-wrap: break-word;
  820. }
  821. .entry-tags {
  822. margin-top: 20px;
  823. margin-bottom: 20px;
  824. }
  825. .entry-tags strong {
  826. font-weight: 600;
  827. }
  828. .entry-tags-list {
  829. display: inline;
  830. margin: 0;
  831. padding: 0;
  832. }
  833. .entry-tags-list li {
  834. display: inline-block;
  835. }
  836. .entry-tags-list li::after {
  837. content: ", ";
  838. }
  839. .entry-tags-list li:last-child::after {
  840. content: "";
  841. }
  842. .entry-additional-tags {
  843. font-size: 0.8em;
  844. margin-top: 10px;
  845. }
  846. .entry-website img {
  847. vertical-align: top;
  848. }
  849. .entry-website a {
  850. color: #666;
  851. vertical-align: top;
  852. text-decoration: none;
  853. }
  854. .entry-website a:hover,
  855. .entry-website a:focus {
  856. text-decoration: underline;
  857. }
  858. .entry-date {
  859. font-size: 0.65em;
  860. font-style: italic;
  861. color: #555;
  862. }
  863. .entry-content {
  864. padding-top: 15px;
  865. font-size: 1.2em;
  866. font-weight: var(--entry-content-font-weight);
  867. font-family: var(--entry-content-font-family);
  868. color: var(--entry-content-color);
  869. line-height: 1.4em;
  870. overflow-wrap: break-word;
  871. }
  872. .entry-content h1, h2, h3, h4, h5, h6 {
  873. margin-top: 15px;
  874. margin-bottom: 10px;
  875. }
  876. .entry-content iframe,
  877. .entry-content video,
  878. .entry-content img {
  879. max-width: 100%;
  880. }
  881. .entry-content img {
  882. height: auto;
  883. }
  884. .entry-content figure {
  885. margin-top: 15px;
  886. margin-bottom: 15px;
  887. }
  888. .entry-content figure img {
  889. border: 1px solid #000;
  890. }
  891. .entry-content figcaption {
  892. font-size: 0.75em;
  893. text-transform: uppercase;
  894. color: #777;
  895. }
  896. .entry-content p {
  897. margin-top: 10px;
  898. margin-bottom: 15px;
  899. }
  900. .entry-content a {
  901. overflow-wrap: break-word;
  902. }
  903. .entry-content a:visited {
  904. color: var(--link-visited-color);
  905. }
  906. .entry-content dt {
  907. font-weight: 500;
  908. margin-top: 15px;
  909. color: #555;
  910. }
  911. .entry-content dd {
  912. margin-left: 15px;
  913. margin-top: 5px;
  914. padding-left: 20px;
  915. border-left: 3px solid #ddd;
  916. color: #777;
  917. font-weight: 300;
  918. line-height: 1.4em;
  919. }
  920. .entry-content blockquote {
  921. border-left: 4px solid #ddd;
  922. padding-left: 25px;
  923. margin-left: 20px;
  924. margin-top: 20px;
  925. margin-bottom: 20px;
  926. line-height: 1.4em;
  927. font-family: var(--entry-content-quote-font-family);
  928. }
  929. .entry-content q {
  930. color: var(--entry-content-quote-color);
  931. font-family: var(--entry-content-quote-font-family);
  932. font-style: italic;
  933. }
  934. .entry-content q:before {
  935. content: "“";
  936. }
  937. .entry-content q:after {
  938. content: "”";
  939. }
  940. .entry-content pre {
  941. padding: 5px;
  942. overflow: auto;
  943. overflow-wrap: initial;
  944. border-width: 1px;
  945. border-style: solid;
  946. }
  947. .entry-content pre,
  948. .entry-content code {
  949. color: var(--entry-content-code-color);
  950. background: var(--entry-content-code-background);
  951. border-color: var(--entry-content-code-border-color);
  952. }
  953. .entry-content table {
  954. max-width: 100%;
  955. }
  956. .entry-content ul,
  957. .entry-content ol {
  958. margin-left: 30px;
  959. margin-top: 15px;
  960. margin-bottom: 15px;
  961. }
  962. .entry-content li ul,
  963. .entry-content li ol {
  964. margin-top: 0;
  965. margin-bottom: 0;
  966. }
  967. .entry-content ul {
  968. list-style-type: square;
  969. }
  970. .entry-content strong {
  971. font-weight: 600;
  972. }
  973. .entry-content sub,
  974. .entry-content sup {
  975. font-size: 75%;
  976. line-height: 0;
  977. position: relative;
  978. vertical-align: baseline;
  979. }
  980. .entry-content sub {
  981. bottom: -0.25em;
  982. }
  983. .entry-content sup {
  984. top: -0.5em;
  985. }
  986. .entry-content abbr {
  987. cursor: pointer;
  988. text-decoration: none;
  989. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  990. }
  991. .entry-content aside {
  992. font-size: 0.9em;
  993. padding: 1ch;
  994. margin-bottom: 15px;
  995. font-style: italic;
  996. border: dotted var(--entry-content-aside-border-color) 2px;
  997. }
  998. details.entry-enclosures {
  999. margin-top: 25px;
  1000. }
  1001. .entry-enclosures summary {
  1002. font-weight: 500;
  1003. font-size: 1.2em;
  1004. }
  1005. .entry-enclosure {
  1006. border: 1px dotted var(--entry-enclosure-border-color);
  1007. padding: 5px;
  1008. margin-top: 10px;
  1009. max-width: 100%;
  1010. }
  1011. .entry-enclosure-download {
  1012. font-size: 0.85em;
  1013. overflow-wrap: break-word;
  1014. }
  1015. .enclosure-video video,
  1016. .enclosure-image img {
  1017. max-width: 100%;
  1018. }
  1019. .entry-external-link {
  1020. font-size: 0.8em;
  1021. margin-top: 10px;
  1022. margin-bottom: 10px;
  1023. word-wrap: break-word;
  1024. }
  1025. /* Confirmation */
  1026. .confirm {
  1027. font-weight: 500;
  1028. color: #ed2d04;
  1029. }
  1030. .confirm button {
  1031. color: #ed2d04;
  1032. border: none;
  1033. background-color: transparent;
  1034. cursor: pointer;
  1035. font-size: inherit;
  1036. }
  1037. .loading {
  1038. font-style: italic;
  1039. }
  1040. /* Bookmarlet */
  1041. .bookmarklet {
  1042. border: 1px dashed #ccc;
  1043. border-radius: 5px;
  1044. padding: 15px;
  1045. margin: 15px;
  1046. text-align: center;
  1047. }
  1048. .bookmarklet a {
  1049. font-weight: 600;
  1050. text-decoration: none;
  1051. font-size: 1.2em;
  1052. }
  1053. .disabled {
  1054. opacity: 20%;
  1055. }
  1056. audio, video {
  1057. width: 100%;
  1058. }
  1059. .media-controls{
  1060. font-size: .9em;
  1061. display: flex;
  1062. flex-wrap: wrap;
  1063. }
  1064. .media-controls .media-control-label{
  1065. line-height: 1em;
  1066. }
  1067. .media-controls>div{
  1068. display: flex;
  1069. flex-wrap: nowrap;
  1070. justify-content:center;
  1071. min-width: 50%;
  1072. align-items: center;
  1073. }
  1074. .media-controls>div>*{
  1075. padding-left:12px;
  1076. }
  1077. .media-controls>div>*:first-child{
  1078. padding-left:0;
  1079. }
  1080. .media-controls span.speed-indicator{
  1081. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1082. This reduce ui flickering due to element moving around a bit
  1083. */
  1084. font-family: monospace;
  1085. }
  1086. .integration-form summary {
  1087. font-weight: 700;
  1088. }
  1089. .integration-form details {
  1090. margin-bottom: 15px;
  1091. }
  1092. .integration-form details .form-section {
  1093. margin-top: 15px;
  1094. }
  1095. .hidden {
  1096. display: none;
  1097. }
  1098. footer {
  1099. margin: 1em auto;
  1100. }
  1101. footer .elevator {
  1102. display: block;
  1103. width: fit-content;
  1104. margin: 0 auto;
  1105. }
  1106. .pagination-top .elevator,
  1107. .pagination-entry-top .elevator {
  1108. display: none;
  1109. }