common.css 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397
  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 :is(a, .logout-button):hover {
  115. color: #888;
  116. }
  117. .header :is(a, summary, .logout-button) {
  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 .logout-form {
  125. display: inline;
  126. }
  127. .header .logout-button {
  128. background: none;
  129. padding: 0;
  130. cursor: pointer;
  131. font-family: inherit;
  132. }
  133. .header .active a {
  134. color: var(--header-active-link-color);
  135. /* Note: Firefox on Windows does not show the link as bold if the value is under 600 */
  136. font-weight: 600;
  137. }
  138. .header a:focus {
  139. color: var(--header-link-focus-color);
  140. }
  141. /* Page header and footer*/
  142. .page-header {
  143. padding-inline: 3px;
  144. margin-bottom: 10px;
  145. }
  146. .page-footer {
  147. margin-bottom: 10px;
  148. }
  149. .page-header h1 {
  150. font-weight: 500;
  151. border-bottom: 1px dotted var(--page-header-title-border-color);
  152. font-size: 1.5rem;
  153. }
  154. .page-header h1 a {
  155. text-decoration: none;
  156. color: var(--page-header-title-color);
  157. }
  158. .page-header h1 a:hover,
  159. .page-header h1 a:focus {
  160. color: #666;
  161. }
  162. .page-header li,
  163. .page-footer li {
  164. list-style-type: none;
  165. line-height: 1.8em;
  166. white-space: nowrap;
  167. }
  168. #header-menu .icon,
  169. .page-header ul a .icon {
  170. margin-bottom: 2px;
  171. }
  172. .page-header-action-form {
  173. display: inline-flex;
  174. }
  175. :is(.page-button, .page-link) {
  176. color: var(--link-color);
  177. border: none;
  178. background-color: transparent;
  179. font-size: 1rem;
  180. cursor: pointer;
  181. &:is(:hover, :focus) {
  182. color: var(--link-hover-color);
  183. }
  184. }
  185. .page-button:active {
  186. translate: 1px 1px;
  187. }
  188. /* Logo */
  189. .logo {
  190. text-align: center;
  191. display: flex;
  192. justify-content: center;
  193. }
  194. .logo a {
  195. color: var(--logo-color);
  196. letter-spacing: 1px;
  197. display: flex;
  198. align-items: center;
  199. }
  200. .logo a:hover {
  201. color: #339966;
  202. }
  203. .logo a span {
  204. color: #339966;
  205. }
  206. .logo a:hover span {
  207. color: var(--logo-hover-color-span);
  208. }
  209. /* PWA prompt */
  210. #prompt-home-screen {
  211. display: none;
  212. position: fixed;
  213. bottom: 0;
  214. right: 0;
  215. width: 100%;
  216. text-align: center;
  217. background: #000;
  218. opacity: 85%;
  219. }
  220. #btn-add-to-home-screen {
  221. text-decoration: none;
  222. height: 30px;
  223. color: #fff;
  224. background-color: transparent;
  225. border: 0;
  226. }
  227. #btn-add-to-home-screen:hover {
  228. color: red;
  229. }
  230. /* Notification - "Toast" */
  231. #toast-wrapper {
  232. visibility: hidden;
  233. opacity: 0;
  234. position: fixed;
  235. left: 0;
  236. bottom: 10%;
  237. color: #fff;
  238. width: 100%;
  239. text-align: center;
  240. }
  241. #toast-msg {
  242. background-color: rgba(0,0,0,0.7);
  243. padding-bottom: 4px;
  244. padding-left: 4px;
  245. padding-right: 5px;
  246. border-radius: 5px;
  247. }
  248. .toast-animate {
  249. animation: toastKeyFrames 2s;
  250. }
  251. @keyframes toastKeyFrames {
  252. 0% {visibility: hidden; opacity: 0;}
  253. 25% {visibility: visible; opacity: 1; z-index: 9999}
  254. 50% {visibility: visible; opacity: 1; z-index: 9999}
  255. 75% {visibility: visible; opacity: 1; z-index: 9999}
  256. 100% {visibility: hidden; opacity: 0; z-index: 0}
  257. }
  258. /* Hide the logo when there is not enough space to display menus when using languages more verbose than English */
  259. @media (min-width: 620px) and (max-width: 850px) {
  260. .logo {
  261. display: none;
  262. }
  263. }
  264. @media (min-width: 850px) {
  265. .logo {
  266. padding-right: 8px;
  267. }
  268. }
  269. @media (min-width: 620px) {
  270. body {
  271. margin: auto;
  272. max-width: 900px; /* Wide enough to display the logo and the menu one a single row for any languages */
  273. }
  274. .header {
  275. padding-left: 3px;
  276. }
  277. .header li {
  278. display: inline-block;
  279. padding: 0 5px 0 0;
  280. line-height: normal;
  281. border: none;
  282. font-size: 1.0em;
  283. }
  284. .header nav {
  285. flex-direction: row;
  286. }
  287. .header .logo svg {
  288. display: none;
  289. }
  290. .header ul:not(.js-menu-show), .header ul.js-menu-show {
  291. display: revert;
  292. }
  293. .header :is(a, summary):hover {
  294. color: var(--header-link-hover-color);
  295. }
  296. .page-header li,
  297. .page-footer li {
  298. display: inline;
  299. padding-right: 15px;
  300. }
  301. .pagination-backward,
  302. .pagination-forward {
  303. display: flex;
  304. }
  305. }
  306. /* Tables */
  307. table {
  308. width: 100%;
  309. border-collapse: collapse;
  310. }
  311. table, th, td {
  312. border: 1px solid var(--table-border-color);
  313. }
  314. th, td {
  315. padding: 5px;
  316. text-align: left;
  317. }
  318. td {
  319. vertical-align: top;
  320. }
  321. th {
  322. background: var(--table-th-background);
  323. color: var(--table-th-color);
  324. font-weight: 400;
  325. }
  326. tr:hover {
  327. color: var(--table-tr-hover-color);
  328. background-color: var(--table-tr-hover-background-color);
  329. }
  330. .column-40 {
  331. width: 40%;
  332. }
  333. .column-25 {
  334. width: 25%;
  335. }
  336. .column-20 {
  337. width: 20%;
  338. }
  339. /* Forms */
  340. fieldset {
  341. border: 1px dotted #ddd;
  342. padding: 8px;
  343. margin-bottom: 20px;
  344. }
  345. legend {
  346. font-weight: 500;
  347. padding-left: 3px;
  348. padding-right: 3px;
  349. }
  350. label {
  351. cursor: pointer;
  352. display: block;
  353. }
  354. .radio-group {
  355. line-height: 1.9em;
  356. }
  357. div.radio-group label {
  358. display: inline-block;
  359. }
  360. select {
  361. margin-bottom: 15px;
  362. }
  363. input[type="search"],
  364. input[type="url"],
  365. input[type="password"],
  366. input[type="text"],
  367. input[type="number"] {
  368. color: var(--input-color);
  369. background: var(--input-background);
  370. border: var(--input-border);
  371. padding: 3px;
  372. line-height: 20px;
  373. width: 250px;
  374. font-size: 99%;
  375. margin-top: 5px;
  376. margin-bottom: 10px;;
  377. appearance: none;
  378. }
  379. input[type="search"]:focus,
  380. input[type="url"]:focus,
  381. input[type="password"]:focus,
  382. input[type="text"]:focus,
  383. input[type="number"]: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. #form-entries-per-page {
  390. max-width: 80px;
  391. }
  392. input[type="checkbox"] {
  393. margin-top: 10px;
  394. margin-bottom: 10px;
  395. }
  396. .search-form {
  397. display: flex;
  398. flex-direction: column;
  399. align-items: flex-start;
  400. gap: 6px;
  401. }
  402. .search-input-row {
  403. display: flex;
  404. align-items: center;
  405. gap: 12px;
  406. }
  407. .search-input-row input[type="search"] {
  408. margin: 0;
  409. }
  410. .search-input-row .button {
  411. margin: 0;
  412. }
  413. .search-filter {
  414. display: inline-flex;
  415. align-items: center;
  416. gap: 6px;
  417. margin: 0;
  418. }
  419. .search-filter input[type="checkbox"] {
  420. margin: 0;
  421. }
  422. textarea {
  423. width: 350px;
  424. color: var(--input-color);
  425. background: var(--input-background);
  426. border: var(--input-border);
  427. padding: 3px;
  428. margin-bottom: 10px;
  429. margin-top: 5px;
  430. appearance: none;
  431. }
  432. textarea:focus {
  433. color: var(--input-focus-color);
  434. border-color: var(--input-focus-border-color);
  435. outline: 0;
  436. box-shadow: var(--input-focus-box-shadow);
  437. }
  438. input::placeholder {
  439. color: var(--input-placeholder-color);
  440. padding-top: 2px;
  441. }
  442. .form-label-row {
  443. display: flex;
  444. }
  445. .form-help {
  446. font-size: 0.9em;
  447. color: brown;
  448. margin-bottom: 15px;
  449. }
  450. .form-section {
  451. border-left: 2px dotted #ddd;
  452. padding-left: 20px;
  453. margin-left: 10px;
  454. }
  455. details > summary {
  456. outline: none;
  457. cursor: pointer;
  458. }
  459. .details-content {
  460. margin-top: 15px;
  461. }
  462. /* Buttons */
  463. a.button {
  464. text-decoration: none;
  465. }
  466. .button {
  467. display: inline-block;
  468. appearance: none;
  469. font-size: 1.1em;
  470. cursor: pointer;
  471. padding: 3px 10px;
  472. border: 1px solid;
  473. border-radius: unset;
  474. }
  475. .button-primary {
  476. border-color: var(--button-primary-border-color);
  477. background: var(--button-primary-background);
  478. color: var(--button-primary-color);
  479. }
  480. a.button-primary:hover,
  481. a.button-primary:focus,
  482. .button-primary:hover,
  483. .button-primary:focus {
  484. border-color: var(--button-primary-focus-border-color);
  485. background: var(--button-primary-focus-background);
  486. color: var(--button-primary-color);
  487. }
  488. .button-danger {
  489. border-color: #b0281a;
  490. background: #d14836;
  491. color: #fff;
  492. }
  493. .button-danger:hover,
  494. .button-danger:focus {
  495. color: #fff;
  496. background: #c53727;
  497. }
  498. .button:disabled {
  499. color: #ccc;
  500. background: #f7f7f7;
  501. border-color: #ccc;
  502. }
  503. .buttons {
  504. margin-top: 10px;
  505. margin-bottom: 20px;
  506. }
  507. fieldset .buttons {
  508. margin-bottom: 0;
  509. }
  510. /* Alerts */
  511. .alert {
  512. padding: 8px 35px 8px 14px;
  513. margin-bottom: 20px;
  514. color: var(--alert-color);
  515. background-color: var(--alert-background-color);
  516. border: 1px solid var(--alert-border-color);
  517. border-radius: 4px;
  518. overflow: auto;
  519. }
  520. .alert h3 {
  521. margin-top: 0;
  522. margin-bottom: 15px;
  523. }
  524. .alert-success {
  525. color: var(--alert-success-color);
  526. background-color: var(--alert-success-background-color);
  527. border-color: var(--alert-success-border-color);
  528. }
  529. .alert-error {
  530. color: var(--alert-error-color);
  531. background-color: var(--alert-error-background-color);
  532. border-color: var(--alert-error-border-color);
  533. }
  534. .alert-error h3,
  535. .alert-error a {
  536. color: var(--alert-error-color);
  537. }
  538. .alert-info {
  539. color: var(--alert-info-color);
  540. background-color: var(--alert-info-background-color);
  541. border-color: var(--alert-info-border-color);
  542. }
  543. /* Panel */
  544. .panel {
  545. color: var(--panel-color);
  546. background-color: var(--panel-background);
  547. border: 1px solid var(--panel-border-color);
  548. border-radius: 5px;
  549. padding: 10px;
  550. margin-bottom: 15px;
  551. }
  552. .panel h3 {
  553. font-weight: 500;
  554. margin-top: 0;
  555. margin-bottom: 20px;
  556. }
  557. .panel ul {
  558. margin-left: 30px;
  559. }
  560. /* Modals */
  561. template {
  562. display: none;
  563. }
  564. dialog {
  565. max-height: none;
  566. height: 100vh;
  567. border: none;
  568. padding: 1%;
  569. }
  570. .btn-close-modal {
  571. position: absolute;
  572. top: 0;
  573. right: 0;
  574. font-size: 1.7em;
  575. color: #ccc;
  576. padding:0 .2em;
  577. margin: 10px;
  578. text-decoration: none;
  579. background-color: transparent;
  580. border: none;
  581. }
  582. .btn-close-modal:hover {
  583. color: #999;
  584. }
  585. /* Keyboard Shortcuts */
  586. .keyboard-shortcuts li {
  587. margin-left: 25px;
  588. list-style-type: square;
  589. color: var(--keyboard-shortcuts-li-color);
  590. font-size: 0.95em;
  591. line-height: 1.45em;
  592. }
  593. .keyboard-shortcuts p {
  594. line-height: 1.9em;
  595. }
  596. /* Login form */
  597. .login-form {
  598. margin: 50px auto 0;
  599. max-width: 300px;
  600. }
  601. .webauthn {
  602. margin-bottom: 20px;
  603. }
  604. /* Counters */
  605. .unread-counter-wrapper,
  606. .error-feeds-counter-wrapper {
  607. font-size: 0.9em;
  608. font-weight: 300;
  609. color: var(--counter-color);
  610. }
  611. /* Category label */
  612. .category {
  613. font-size: 0.75em;
  614. background-color: var(--category-background-color);
  615. border: 1px solid var(--category-border-color);
  616. border-radius: 5px;
  617. margin-left: 0.25em;
  618. padding: 1px 0.4em 1px 0.4em;
  619. white-space: nowrap;
  620. color: var(--category-color);
  621. }
  622. .category a {
  623. color: var(--category-link-color);
  624. text-decoration: none;
  625. }
  626. .category a:hover,
  627. .category a:focus {
  628. color: var(--category-link-hover-color);
  629. }
  630. .category-item-total {
  631. color: var(--body-color);
  632. }
  633. /* Pagination */
  634. .pagination {
  635. font-size: 1.1em;
  636. display: flex;
  637. align-items: center;
  638. justify-content: space-between;
  639. }
  640. .pagination-top {
  641. padding-bottom: 8px;
  642. }
  643. .pagination-bottom {
  644. padding-top: 8px;
  645. }
  646. .pagination-entry-top {
  647. padding-top: 8px;
  648. }
  649. .pagination-entry-bottom {
  650. border-top: 1px dotted var(--pagination-border-color);
  651. margin-bottom: 15px;
  652. margin-top: 50px;
  653. padding-top: 8px;
  654. }
  655. .pagination > div.pagination-backward > div {
  656. padding-right: 15px;
  657. }
  658. .pagination > div.pagination-forward > div {
  659. padding-left: 15px;
  660. }
  661. .pagination-next, .pagination-last {
  662. text-align: right;
  663. }
  664. .pagination-next:after {
  665. content: " ›";
  666. }
  667. .pagination-last:after {
  668. content: " »";
  669. }
  670. .pagination-prev:before {
  671. content: "‹ ";
  672. }
  673. .pagination-first:before {
  674. content: "« ";
  675. }
  676. .pagination a {
  677. color: var(--pagination-link-color);
  678. }
  679. .pagination a:hover,
  680. .pagination a:focus {
  681. text-decoration: none;
  682. }
  683. /* List view */
  684. .item {
  685. border: 1px dotted var(--item-border-color);
  686. margin-bottom: 20px;
  687. padding: var(--item-padding);
  688. overflow: hidden;
  689. }
  690. .item.current-item {
  691. border: var(--current-item-border-width) solid var(--current-item-border-color);
  692. padding: 3px;
  693. box-shadow: var(--current-item-box-shadow);
  694. }
  695. .item.current-item:focus {
  696. outline: none;
  697. }
  698. .item-header {
  699. font-size: 1rem;
  700. }
  701. .item-header span {
  702. font-weight: normal;
  703. display: inline-block;
  704. }
  705. .item-title {
  706. font-size: 1rem;
  707. margin: 0;
  708. display: inline;
  709. }
  710. .item-title a {
  711. text-decoration: none;
  712. font-weight: var(--item-title-link-font-weight);
  713. font-size: inherit;
  714. }
  715. .feed-entries-counter {
  716. display: inline-flex;
  717. gap: 2px;
  718. align-items: center;
  719. }
  720. .item-status-read .item-title a {
  721. color: var(--item-status-read-title-link-color);
  722. }
  723. .item-meta {
  724. color: var(--item-meta-focus-color);
  725. font-size: 0.8em;
  726. }
  727. .item-meta a {
  728. color: #777;
  729. text-decoration: none;
  730. }
  731. .item-meta :is(a:is(:focus, :hover), button:is(:focus, :hover)) {
  732. color: #333;
  733. }
  734. .item-meta ul {
  735. margin-top: 5px;
  736. }
  737. .item-meta li {
  738. display: inline-block;
  739. }
  740. .item-meta-info {
  741. font-size: 0.85em;
  742. }
  743. .item-meta-info li:not(:last-child):after {
  744. content: "|";
  745. color: var(--item-meta-li-color);
  746. }
  747. .item-meta-icons li {
  748. margin-right: 8px;
  749. margin-top: 4px;
  750. }
  751. .item-meta-icons li:last-child {
  752. margin-right: 0;
  753. }
  754. .item-meta-icons li :is(a, button) {
  755. color: #777;
  756. text-decoration: none;
  757. font-size: 0.8rem;
  758. border: none;
  759. background-color: transparent;
  760. cursor: pointer;
  761. }
  762. .item-meta-icons li form {
  763. display: contents;
  764. }
  765. .item-meta-icons a span {
  766. text-decoration: underline;
  767. }
  768. .item-meta-icons button:active {
  769. translate: 1px 1px;
  770. }
  771. .items {
  772. overflow-x: hidden;
  773. touch-action: pan-y;
  774. }
  775. .hide-read-items .item-status-read:not(.current-item) {
  776. display: none;
  777. }
  778. .entry-swipe {
  779. transition-property: transform;
  780. transition-duration: 0s;
  781. transition-timing-function: ease-out;
  782. }
  783. /* Feeds list */
  784. article.feed-parsing-error {
  785. background-color: var(--feed-parsing-error-background-color);
  786. border-style: var(--feed-parsing-error-border-style);
  787. border-color: var(--feed-parsing-error-border-color);
  788. }
  789. article.feed-has-unread {
  790. background-color: var(--feed-has-unread-background-color);
  791. border-style: var(--feed-has-unread-border-style);
  792. border-color: var(--feed-has-unread-border-color);
  793. }
  794. .parsing-error {
  795. font-size: 0.85em;
  796. margin-top: 2px;
  797. color: var(--parsing-error-color);
  798. }
  799. .parsing-error-count {
  800. cursor: pointer;
  801. }
  802. /* Categories list */
  803. article.category-has-unread {
  804. background-color: var(--category-has-unread-background-color);
  805. border-style: var(--category-has-unread-border-style);
  806. border-color: var(--category-has-unread-border-color);
  807. }
  808. /* Icons */
  809. .icon,
  810. .icon-label {
  811. vertical-align: text-bottom;
  812. display: inline-block;
  813. margin-right: 2px;
  814. }
  815. .icon {
  816. width: 16px;
  817. height: 16px;
  818. }
  819. /* Entry view */
  820. .entry header {
  821. padding-bottom: 5px;
  822. padding-inline: 5px;
  823. border-bottom: 1px dotted var(--entry-header-border-color);
  824. }
  825. .entry header h1 {
  826. font-size: 2.0em;
  827. line-height: 1.25em;
  828. margin: 5px 0 30px 0;
  829. overflow-wrap: break-word;
  830. }
  831. .entry header h1 a {
  832. text-decoration: none;
  833. color: var(--entry-header-title-link-color);
  834. }
  835. .entry header h1 a:hover,
  836. .entry header h1 a:focus {
  837. color: #666;
  838. }
  839. .entry-actions {
  840. margin-bottom: 20px;
  841. }
  842. .entry-actions a span {
  843. text-decoration: underline;
  844. }
  845. .entry-actions li {
  846. display: inline-block;
  847. margin-right: 15px;
  848. line-height: 1.7em;
  849. }
  850. .entry-actions .icon-label {
  851. vertical-align: middle;
  852. }
  853. .entry-meta {
  854. font-size: 0.95em;
  855. margin: 0 0 20px;
  856. color: #666;
  857. overflow-wrap: break-word;
  858. }
  859. .entry-tags {
  860. margin-top: 20px;
  861. margin-bottom: 20px;
  862. }
  863. .entry-tags strong {
  864. font-weight: 600;
  865. }
  866. .entry-tags-list {
  867. display: inline;
  868. margin: 0;
  869. padding: 0;
  870. }
  871. .entry-tags-list li {
  872. display: inline-block;
  873. }
  874. .entry-tags-list li::after {
  875. content: ", ";
  876. }
  877. .entry-tags-list li:last-child::after {
  878. content: "";
  879. }
  880. .entry-additional-tags {
  881. font-size: 0.8em;
  882. margin-top: 10px;
  883. }
  884. .entry-website img {
  885. vertical-align: top;
  886. }
  887. .entry-website a {
  888. color: #666;
  889. vertical-align: top;
  890. text-decoration: none;
  891. }
  892. .entry-website a:hover,
  893. .entry-website a:focus {
  894. text-decoration: underline;
  895. }
  896. .entry-date {
  897. font-size: 0.65em;
  898. font-style: italic;
  899. color: #555;
  900. }
  901. .entry-content {
  902. padding-top: 15px;
  903. font-size: 1.2em;
  904. font-weight: var(--entry-content-font-weight);
  905. font-family: var(--entry-content-font-family);
  906. color: var(--entry-content-color);
  907. line-height: 1.4em;
  908. overflow-wrap: break-word;
  909. }
  910. .entry-content h1, h2, h3, h4, h5, h6 {
  911. margin-top: 15px;
  912. margin-bottom: 10px;
  913. }
  914. .entry-content iframe,
  915. .entry-content video,
  916. .entry-content img {
  917. max-width: 100%;
  918. }
  919. .entry-content iframe {
  920. display: block;
  921. }
  922. .entry-content img {
  923. height: auto;
  924. }
  925. .entry-content figure {
  926. margin-top: 15px;
  927. margin-bottom: 15px;
  928. }
  929. .entry-content figure img {
  930. border: 1px solid #000;
  931. }
  932. .entry-content figcaption {
  933. font-size: 0.75em;
  934. text-transform: uppercase;
  935. color: #777;
  936. }
  937. .entry-content p {
  938. margin-top: 10px;
  939. margin-bottom: 15px;
  940. }
  941. .entry-content a {
  942. overflow-wrap: break-word;
  943. }
  944. .entry-content a:visited {
  945. color: var(--link-visited-color);
  946. }
  947. .entry-content dt {
  948. font-weight: 500;
  949. margin-top: 15px;
  950. color: #555;
  951. }
  952. .entry-content dd {
  953. margin-left: 15px;
  954. margin-top: 5px;
  955. padding-left: 20px;
  956. border-left: 3px solid #ddd;
  957. color: #777;
  958. font-weight: 300;
  959. line-height: 1.4em;
  960. }
  961. .entry-content blockquote {
  962. border-left: 4px solid #ddd;
  963. padding-left: 25px;
  964. margin-left: 20px;
  965. margin-top: 20px;
  966. margin-bottom: 20px;
  967. line-height: 1.4em;
  968. font-family: var(--entry-content-quote-font-family);
  969. }
  970. .entry-content q {
  971. color: var(--entry-content-quote-color);
  972. font-family: var(--entry-content-quote-font-family);
  973. font-style: italic;
  974. }
  975. .entry-content q:before {
  976. content: "“";
  977. }
  978. .entry-content q:after {
  979. content: "”";
  980. }
  981. .entry-content pre {
  982. padding: 5px;
  983. overflow: auto;
  984. overflow-wrap: initial;
  985. border-width: 1px;
  986. border-style: solid;
  987. }
  988. .entry-content pre,
  989. .entry-content code {
  990. color: var(--entry-content-code-color);
  991. background: var(--entry-content-code-background);
  992. border-color: var(--entry-content-code-border-color);
  993. }
  994. .entry-content table {
  995. max-width: 100%;
  996. }
  997. .entry-content ul,
  998. .entry-content ol {
  999. margin-left: 30px;
  1000. margin-top: 15px;
  1001. margin-bottom: 15px;
  1002. }
  1003. .entry-content li ul,
  1004. .entry-content li ol {
  1005. margin-top: 0;
  1006. margin-bottom: 0;
  1007. }
  1008. .entry-content ul {
  1009. list-style-type: square;
  1010. }
  1011. .entry-content strong {
  1012. font-weight: 600;
  1013. }
  1014. .entry-content sub,
  1015. .entry-content sup {
  1016. font-size: 75%;
  1017. line-height: 0;
  1018. position: relative;
  1019. vertical-align: baseline;
  1020. }
  1021. .entry-content sub {
  1022. bottom: -0.25em;
  1023. }
  1024. .entry-content sup {
  1025. top: -0.5em;
  1026. }
  1027. .entry-content abbr {
  1028. cursor: pointer;
  1029. text-decoration: none;
  1030. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  1031. }
  1032. .entry-content aside {
  1033. font-size: 0.9em;
  1034. padding: 1ch;
  1035. margin-bottom: 15px;
  1036. font-style: italic;
  1037. border: dotted var(--entry-content-aside-border-color) 2px;
  1038. }
  1039. details.entry-enclosures {
  1040. margin-top: 25px;
  1041. }
  1042. .entry-enclosures summary {
  1043. font-weight: 500;
  1044. font-size: 1.2em;
  1045. }
  1046. .entry-enclosure {
  1047. border: 1px dotted var(--entry-enclosure-border-color);
  1048. padding: 5px;
  1049. margin-top: 10px;
  1050. max-width: 100%;
  1051. }
  1052. .entry-enclosure-download {
  1053. font-size: 0.85em;
  1054. overflow-wrap: break-word;
  1055. }
  1056. .enclosure-video video,
  1057. .enclosure-image img {
  1058. max-width: 100%;
  1059. }
  1060. .entry-external-link {
  1061. font-size: 0.8em;
  1062. margin-top: 10px;
  1063. margin-bottom: 10px;
  1064. word-wrap: break-word;
  1065. }
  1066. /* Confirmation */
  1067. .confirm {
  1068. font-weight: 500;
  1069. color: #ed2d04;
  1070. }
  1071. .confirm button {
  1072. color: #ed2d04;
  1073. border: none;
  1074. background-color: transparent;
  1075. cursor: pointer;
  1076. font-size: inherit;
  1077. }
  1078. .loading {
  1079. font-style: italic;
  1080. }
  1081. /* Bookmarlet */
  1082. .bookmarklet {
  1083. border: 1px dashed #ccc;
  1084. border-radius: 5px;
  1085. padding: 15px;
  1086. margin: 15px;
  1087. text-align: center;
  1088. }
  1089. .bookmarklet a {
  1090. font-weight: 600;
  1091. text-decoration: none;
  1092. font-size: 1.2em;
  1093. }
  1094. .disabled {
  1095. opacity: 20%;
  1096. }
  1097. audio, video {
  1098. width: 100%;
  1099. }
  1100. .media-controls{
  1101. font-size: .9em;
  1102. display: flex;
  1103. flex-wrap: wrap;
  1104. }
  1105. .media-controls .media-control-label{
  1106. line-height: 1em;
  1107. }
  1108. .media-controls>div{
  1109. display: flex;
  1110. flex-wrap: nowrap;
  1111. justify-content:center;
  1112. min-width: 50%;
  1113. align-items: center;
  1114. }
  1115. .media-controls>div>*{
  1116. padding-left:12px;
  1117. }
  1118. .media-controls>div>*:first-child{
  1119. padding-left:0;
  1120. }
  1121. .media-controls span.speed-indicator{
  1122. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1123. This reduce ui flickering due to element moving around a bit
  1124. */
  1125. font-family: monospace;
  1126. }
  1127. .integration-form summary {
  1128. font-weight: 700;
  1129. }
  1130. .integration-form details {
  1131. margin-bottom: 15px;
  1132. }
  1133. .integration-form details .form-section {
  1134. margin-top: 15px;
  1135. }
  1136. .hidden {
  1137. display: none;
  1138. }
  1139. footer {
  1140. margin: 1em auto;
  1141. }
  1142. footer .elevator {
  1143. display: block;
  1144. width: fit-content;
  1145. margin: 0 auto;
  1146. }
  1147. .pagination-top .elevator,
  1148. .pagination-entry-top .elevator {
  1149. display: none;
  1150. }