common.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382
  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. .search-form {
  388. display: flex;
  389. flex-direction: column;
  390. align-items: flex-start;
  391. gap: 6px;
  392. }
  393. .search-input-row {
  394. display: flex;
  395. align-items: center;
  396. gap: 12px;
  397. }
  398. .search-input-row input[type="search"] {
  399. margin: 0;
  400. }
  401. .search-input-row .button {
  402. margin: 0;
  403. }
  404. .search-filter {
  405. display: inline-flex;
  406. align-items: center;
  407. gap: 6px;
  408. margin: 0;
  409. }
  410. .search-filter input[type="checkbox"] {
  411. margin: 0;
  412. }
  413. textarea {
  414. width: 350px;
  415. color: var(--input-color);
  416. background: var(--input-background);
  417. border: var(--input-border);
  418. padding: 3px;
  419. margin-bottom: 10px;
  420. margin-top: 5px;
  421. appearance: none;
  422. }
  423. textarea:focus {
  424. color: var(--input-focus-color);
  425. border-color: var(--input-focus-border-color);
  426. outline: 0;
  427. box-shadow: var(--input-focus-box-shadow);
  428. }
  429. input::placeholder {
  430. color: var(--input-placeholder-color);
  431. padding-top: 2px;
  432. }
  433. .form-label-row {
  434. display: flex;
  435. }
  436. .form-help {
  437. font-size: 0.9em;
  438. color: brown;
  439. margin-bottom: 15px;
  440. }
  441. .form-section {
  442. border-left: 2px dotted #ddd;
  443. padding-left: 20px;
  444. margin-left: 10px;
  445. }
  446. details > summary {
  447. outline: none;
  448. cursor: pointer;
  449. }
  450. .details-content {
  451. margin-top: 15px;
  452. }
  453. /* Buttons */
  454. a.button {
  455. text-decoration: none;
  456. }
  457. .button {
  458. display: inline-block;
  459. appearance: none;
  460. font-size: 1.1em;
  461. cursor: pointer;
  462. padding: 3px 10px;
  463. border: 1px solid;
  464. border-radius: unset;
  465. }
  466. .button-primary {
  467. border-color: var(--button-primary-border-color);
  468. background: var(--button-primary-background);
  469. color: var(--button-primary-color);
  470. }
  471. a.button-primary:hover,
  472. a.button-primary:focus,
  473. .button-primary:hover,
  474. .button-primary:focus {
  475. border-color: var(--button-primary-focus-border-color);
  476. background: var(--button-primary-focus-background);
  477. color: var(--button-primary-color);
  478. }
  479. .button-danger {
  480. border-color: #b0281a;
  481. background: #d14836;
  482. color: #fff;
  483. }
  484. .button-danger:hover,
  485. .button-danger:focus {
  486. color: #fff;
  487. background: #c53727;
  488. }
  489. .button:disabled {
  490. color: #ccc;
  491. background: #f7f7f7;
  492. border-color: #ccc;
  493. }
  494. .buttons {
  495. margin-top: 10px;
  496. margin-bottom: 20px;
  497. }
  498. fieldset .buttons {
  499. margin-bottom: 0;
  500. }
  501. /* Alerts */
  502. .alert {
  503. padding: 8px 35px 8px 14px;
  504. margin-bottom: 20px;
  505. color: var(--alert-color);
  506. background-color: var(--alert-background-color);
  507. border: 1px solid var(--alert-border-color);
  508. border-radius: 4px;
  509. overflow: auto;
  510. }
  511. .alert h3 {
  512. margin-top: 0;
  513. margin-bottom: 15px;
  514. }
  515. .alert-success {
  516. color: var(--alert-success-color);
  517. background-color: var(--alert-success-background-color);
  518. border-color: var(--alert-success-border-color);
  519. }
  520. .alert-error {
  521. color: var(--alert-error-color);
  522. background-color: var(--alert-error-background-color);
  523. border-color: var(--alert-error-border-color);
  524. }
  525. .alert-error h3,
  526. .alert-error a {
  527. color: var(--alert-error-color);
  528. }
  529. .alert-info {
  530. color: var(--alert-info-color);
  531. background-color: var(--alert-info-background-color);
  532. border-color: var(--alert-info-border-color);
  533. }
  534. /* Panel */
  535. .panel {
  536. color: var(--panel-color);
  537. background-color: var(--panel-background);
  538. border: 1px solid var(--panel-border-color);
  539. border-radius: 5px;
  540. padding: 10px;
  541. margin-bottom: 15px;
  542. }
  543. .panel h3 {
  544. font-weight: 500;
  545. margin-top: 0;
  546. margin-bottom: 20px;
  547. }
  548. .panel ul {
  549. margin-left: 30px;
  550. }
  551. /* Modals */
  552. template {
  553. display: none;
  554. }
  555. dialog {
  556. max-height: none;
  557. height: 100vh;
  558. border: none;
  559. padding: 1%;
  560. }
  561. .btn-close-modal {
  562. position: absolute;
  563. top: 0;
  564. right: 0;
  565. font-size: 1.7em;
  566. color: #ccc;
  567. padding:0 .2em;
  568. margin: 10px;
  569. text-decoration: none;
  570. background-color: transparent;
  571. border: none;
  572. }
  573. .btn-close-modal:hover {
  574. color: #999;
  575. }
  576. /* Keyboard Shortcuts */
  577. .keyboard-shortcuts li {
  578. margin-left: 25px;
  579. list-style-type: square;
  580. color: var(--keyboard-shortcuts-li-color);
  581. font-size: 0.95em;
  582. line-height: 1.45em;
  583. }
  584. .keyboard-shortcuts p {
  585. line-height: 1.9em;
  586. }
  587. /* Login form */
  588. .login-form {
  589. margin: 50px auto 0;
  590. max-width: 300px;
  591. }
  592. .webauthn {
  593. margin-bottom: 20px;
  594. }
  595. /* Counters */
  596. .unread-counter-wrapper,
  597. .error-feeds-counter-wrapper {
  598. font-size: 0.9em;
  599. font-weight: 300;
  600. color: var(--counter-color);
  601. }
  602. /* Category label */
  603. .category {
  604. font-size: 0.75em;
  605. background-color: var(--category-background-color);
  606. border: 1px solid var(--category-border-color);
  607. border-radius: 5px;
  608. margin-left: 0.25em;
  609. padding: 1px 0.4em 1px 0.4em;
  610. white-space: nowrap;
  611. color: var(--category-color);
  612. }
  613. .category a {
  614. color: var(--category-link-color);
  615. text-decoration: none;
  616. }
  617. .category a:hover,
  618. .category a:focus {
  619. color: var(--category-link-hover-color);
  620. }
  621. .category-item-total {
  622. color: var(--body-color);
  623. }
  624. /* Pagination */
  625. .pagination {
  626. font-size: 1.1em;
  627. display: flex;
  628. align-items: center;
  629. justify-content: space-between;
  630. }
  631. .pagination-top {
  632. padding-bottom: 8px;
  633. }
  634. .pagination-bottom {
  635. padding-top: 8px;
  636. }
  637. .pagination-entry-top {
  638. padding-top: 8px;
  639. }
  640. .pagination-entry-bottom {
  641. border-top: 1px dotted var(--pagination-border-color);
  642. margin-bottom: 15px;
  643. margin-top: 50px;
  644. padding-top: 8px;
  645. }
  646. .pagination > div.pagination-backward > div {
  647. padding-right: 15px;
  648. }
  649. .pagination > div.pagination-forward > div {
  650. padding-left: 15px;
  651. }
  652. .pagination-next, .pagination-last {
  653. text-align: right;
  654. }
  655. .pagination-next:after {
  656. content: " ›";
  657. }
  658. .pagination-last:after {
  659. content: " »";
  660. }
  661. .pagination-prev:before {
  662. content: "‹ ";
  663. }
  664. .pagination-first:before {
  665. content: "« ";
  666. }
  667. .pagination a {
  668. color: var(--pagination-link-color);
  669. }
  670. .pagination a:hover,
  671. .pagination a:focus {
  672. text-decoration: none;
  673. }
  674. /* List view */
  675. .item {
  676. border: 1px dotted var(--item-border-color);
  677. margin-bottom: 20px;
  678. padding: var(--item-padding);
  679. overflow: hidden;
  680. }
  681. .item.current-item {
  682. border: var(--current-item-border-width) solid var(--current-item-border-color);
  683. padding: 3px;
  684. box-shadow: var(--current-item-box-shadow);
  685. }
  686. .item.current-item:focus {
  687. outline: none;
  688. }
  689. .item-header {
  690. font-size: 1rem;
  691. }
  692. .item-header span {
  693. font-weight: normal;
  694. display: inline-block;
  695. }
  696. .item-title {
  697. font-size: 1rem;
  698. margin: 0;
  699. display: inline;
  700. }
  701. .item-title a {
  702. text-decoration: none;
  703. font-weight: var(--item-title-link-font-weight);
  704. font-size: inherit;
  705. }
  706. .feed-entries-counter {
  707. display: inline-flex;
  708. gap: 2px;
  709. align-items: center;
  710. }
  711. .item-status-read .item-title a {
  712. color: var(--item-status-read-title-link-color);
  713. }
  714. .item-meta {
  715. color: var(--item-meta-focus-color);
  716. font-size: 0.8em;
  717. }
  718. .item-meta a {
  719. color: #777;
  720. text-decoration: none;
  721. }
  722. .item-meta :is(a:is(:focus, :hover), button:is(:focus, :hover)) {
  723. color: #333;
  724. }
  725. .item-meta ul {
  726. margin-top: 5px;
  727. }
  728. .item-meta li {
  729. display: inline-block;
  730. }
  731. .item-meta-info {
  732. font-size: 0.85em;
  733. }
  734. .item-meta-info li:not(:last-child):after {
  735. content: "|";
  736. color: var(--item-meta-li-color);
  737. }
  738. .item-meta-icons li {
  739. margin-right: 8px;
  740. margin-top: 4px;
  741. }
  742. .item-meta-icons li:last-child {
  743. margin-right: 0;
  744. }
  745. .item-meta-icons li > :is(a, button) {
  746. color: #777;
  747. text-decoration: none;
  748. font-size: 0.8rem;
  749. border: none;
  750. background-color: transparent;
  751. cursor: pointer;
  752. }
  753. .item-meta-icons a span {
  754. text-decoration: underline;
  755. }
  756. .item-meta-icons button:active {
  757. translate: 1px 1px;
  758. }
  759. .items {
  760. overflow-x: hidden;
  761. touch-action: pan-y;
  762. }
  763. .hide-read-items .item-status-read:not(.current-item) {
  764. display: none;
  765. }
  766. .entry-swipe {
  767. transition-property: transform;
  768. transition-duration: 0s;
  769. transition-timing-function: ease-out;
  770. }
  771. /* Feeds list */
  772. article.feed-parsing-error {
  773. background-color: var(--feed-parsing-error-background-color);
  774. border-style: var(--feed-parsing-error-border-style);
  775. border-color: var(--feed-parsing-error-border-color);
  776. }
  777. article.feed-has-unread {
  778. background-color: var(--feed-has-unread-background-color);
  779. border-style: var(--feed-has-unread-border-style);
  780. border-color: var(--feed-has-unread-border-color);
  781. }
  782. .parsing-error {
  783. font-size: 0.85em;
  784. margin-top: 2px;
  785. color: var(--parsing-error-color);
  786. }
  787. .parsing-error-count {
  788. cursor: pointer;
  789. }
  790. /* Categories list */
  791. article.category-has-unread {
  792. background-color: var(--category-has-unread-background-color);
  793. border-style: var(--category-has-unread-border-style);
  794. border-color: var(--category-has-unread-border-color);
  795. }
  796. /* Icons */
  797. .icon,
  798. .icon-label {
  799. vertical-align: text-bottom;
  800. display: inline-block;
  801. margin-right: 2px;
  802. }
  803. .icon {
  804. width: 16px;
  805. height: 16px;
  806. }
  807. /* Entry view */
  808. .entry header {
  809. padding-bottom: 5px;
  810. padding-inline: 5px;
  811. border-bottom: 1px dotted var(--entry-header-border-color);
  812. }
  813. .entry header h1 {
  814. font-size: 2.0em;
  815. line-height: 1.25em;
  816. margin: 5px 0 30px 0;
  817. overflow-wrap: break-word;
  818. }
  819. .entry header h1 a {
  820. text-decoration: none;
  821. color: var(--entry-header-title-link-color);
  822. }
  823. .entry header h1 a:hover,
  824. .entry header h1 a:focus {
  825. color: #666;
  826. }
  827. .entry-actions {
  828. margin-bottom: 20px;
  829. }
  830. .entry-actions a span {
  831. text-decoration: underline;
  832. }
  833. .entry-actions li {
  834. display: inline-block;
  835. margin-right: 15px;
  836. line-height: 1.7em;
  837. }
  838. .entry-actions .icon-label {
  839. vertical-align: middle;
  840. }
  841. .entry-meta {
  842. font-size: 0.95em;
  843. margin: 0 0 20px;
  844. color: #666;
  845. overflow-wrap: break-word;
  846. }
  847. .entry-tags {
  848. margin-top: 20px;
  849. margin-bottom: 20px;
  850. }
  851. .entry-tags strong {
  852. font-weight: 600;
  853. }
  854. .entry-tags-list {
  855. display: inline;
  856. margin: 0;
  857. padding: 0;
  858. }
  859. .entry-tags-list li {
  860. display: inline-block;
  861. }
  862. .entry-tags-list li::after {
  863. content: ", ";
  864. }
  865. .entry-tags-list li:last-child::after {
  866. content: "";
  867. }
  868. .entry-additional-tags {
  869. font-size: 0.8em;
  870. margin-top: 10px;
  871. }
  872. .entry-website img {
  873. vertical-align: top;
  874. }
  875. .entry-website a {
  876. color: #666;
  877. vertical-align: top;
  878. text-decoration: none;
  879. }
  880. .entry-website a:hover,
  881. .entry-website a:focus {
  882. text-decoration: underline;
  883. }
  884. .entry-date {
  885. font-size: 0.65em;
  886. font-style: italic;
  887. color: #555;
  888. }
  889. .entry-content {
  890. padding-top: 15px;
  891. font-size: 1.2em;
  892. font-weight: var(--entry-content-font-weight);
  893. font-family: var(--entry-content-font-family);
  894. color: var(--entry-content-color);
  895. line-height: 1.4em;
  896. overflow-wrap: break-word;
  897. }
  898. .entry-content h1, h2, h3, h4, h5, h6 {
  899. margin-top: 15px;
  900. margin-bottom: 10px;
  901. }
  902. .entry-content iframe,
  903. .entry-content video,
  904. .entry-content img {
  905. max-width: 100%;
  906. }
  907. .entry-content iframe {
  908. display: block;
  909. }
  910. .entry-content img {
  911. height: auto;
  912. }
  913. .entry-content figure {
  914. margin-top: 15px;
  915. margin-bottom: 15px;
  916. }
  917. .entry-content figure img {
  918. border: 1px solid #000;
  919. }
  920. .entry-content figcaption {
  921. font-size: 0.75em;
  922. text-transform: uppercase;
  923. color: #777;
  924. }
  925. .entry-content p {
  926. margin-top: 10px;
  927. margin-bottom: 15px;
  928. }
  929. .entry-content a {
  930. overflow-wrap: break-word;
  931. }
  932. .entry-content a:visited {
  933. color: var(--link-visited-color);
  934. }
  935. .entry-content dt {
  936. font-weight: 500;
  937. margin-top: 15px;
  938. color: #555;
  939. }
  940. .entry-content dd {
  941. margin-left: 15px;
  942. margin-top: 5px;
  943. padding-left: 20px;
  944. border-left: 3px solid #ddd;
  945. color: #777;
  946. font-weight: 300;
  947. line-height: 1.4em;
  948. }
  949. .entry-content blockquote {
  950. border-left: 4px solid #ddd;
  951. padding-left: 25px;
  952. margin-left: 20px;
  953. margin-top: 20px;
  954. margin-bottom: 20px;
  955. line-height: 1.4em;
  956. font-family: var(--entry-content-quote-font-family);
  957. }
  958. .entry-content q {
  959. color: var(--entry-content-quote-color);
  960. font-family: var(--entry-content-quote-font-family);
  961. font-style: italic;
  962. }
  963. .entry-content q:before {
  964. content: "“";
  965. }
  966. .entry-content q:after {
  967. content: "”";
  968. }
  969. .entry-content pre {
  970. padding: 5px;
  971. overflow: auto;
  972. overflow-wrap: initial;
  973. border-width: 1px;
  974. border-style: solid;
  975. }
  976. .entry-content pre,
  977. .entry-content code {
  978. color: var(--entry-content-code-color);
  979. background: var(--entry-content-code-background);
  980. border-color: var(--entry-content-code-border-color);
  981. }
  982. .entry-content table {
  983. max-width: 100%;
  984. }
  985. .entry-content ul,
  986. .entry-content ol {
  987. margin-left: 30px;
  988. margin-top: 15px;
  989. margin-bottom: 15px;
  990. }
  991. .entry-content li ul,
  992. .entry-content li ol {
  993. margin-top: 0;
  994. margin-bottom: 0;
  995. }
  996. .entry-content ul {
  997. list-style-type: square;
  998. }
  999. .entry-content strong {
  1000. font-weight: 600;
  1001. }
  1002. .entry-content sub,
  1003. .entry-content sup {
  1004. font-size: 75%;
  1005. line-height: 0;
  1006. position: relative;
  1007. vertical-align: baseline;
  1008. }
  1009. .entry-content sub {
  1010. bottom: -0.25em;
  1011. }
  1012. .entry-content sup {
  1013. top: -0.5em;
  1014. }
  1015. .entry-content abbr {
  1016. cursor: pointer;
  1017. text-decoration: none;
  1018. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  1019. }
  1020. .entry-content aside {
  1021. font-size: 0.9em;
  1022. padding: 1ch;
  1023. margin-bottom: 15px;
  1024. font-style: italic;
  1025. border: dotted var(--entry-content-aside-border-color) 2px;
  1026. }
  1027. details.entry-enclosures {
  1028. margin-top: 25px;
  1029. }
  1030. .entry-enclosures summary {
  1031. font-weight: 500;
  1032. font-size: 1.2em;
  1033. }
  1034. .entry-enclosure {
  1035. border: 1px dotted var(--entry-enclosure-border-color);
  1036. padding: 5px;
  1037. margin-top: 10px;
  1038. max-width: 100%;
  1039. }
  1040. .entry-enclosure-download {
  1041. font-size: 0.85em;
  1042. overflow-wrap: break-word;
  1043. }
  1044. .enclosure-video video,
  1045. .enclosure-image img {
  1046. max-width: 100%;
  1047. }
  1048. .entry-external-link {
  1049. font-size: 0.8em;
  1050. margin-top: 10px;
  1051. margin-bottom: 10px;
  1052. word-wrap: break-word;
  1053. }
  1054. /* Confirmation */
  1055. .confirm {
  1056. font-weight: 500;
  1057. color: #ed2d04;
  1058. }
  1059. .confirm button {
  1060. color: #ed2d04;
  1061. border: none;
  1062. background-color: transparent;
  1063. cursor: pointer;
  1064. font-size: inherit;
  1065. }
  1066. .loading {
  1067. font-style: italic;
  1068. }
  1069. /* Bookmarlet */
  1070. .bookmarklet {
  1071. border: 1px dashed #ccc;
  1072. border-radius: 5px;
  1073. padding: 15px;
  1074. margin: 15px;
  1075. text-align: center;
  1076. }
  1077. .bookmarklet a {
  1078. font-weight: 600;
  1079. text-decoration: none;
  1080. font-size: 1.2em;
  1081. }
  1082. .disabled {
  1083. opacity: 20%;
  1084. }
  1085. audio, video {
  1086. width: 100%;
  1087. }
  1088. .media-controls{
  1089. font-size: .9em;
  1090. display: flex;
  1091. flex-wrap: wrap;
  1092. }
  1093. .media-controls .media-control-label{
  1094. line-height: 1em;
  1095. }
  1096. .media-controls>div{
  1097. display: flex;
  1098. flex-wrap: nowrap;
  1099. justify-content:center;
  1100. min-width: 50%;
  1101. align-items: center;
  1102. }
  1103. .media-controls>div>*{
  1104. padding-left:12px;
  1105. }
  1106. .media-controls>div>*:first-child{
  1107. padding-left:0;
  1108. }
  1109. .media-controls span.speed-indicator{
  1110. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1111. This reduce ui flickering due to element moving around a bit
  1112. */
  1113. font-family: monospace;
  1114. }
  1115. .integration-form summary {
  1116. font-weight: 700;
  1117. }
  1118. .integration-form details {
  1119. margin-bottom: 15px;
  1120. }
  1121. .integration-form details .form-section {
  1122. margin-top: 15px;
  1123. }
  1124. .hidden {
  1125. display: none;
  1126. }
  1127. footer {
  1128. margin: 1em auto;
  1129. }
  1130. footer .elevator {
  1131. display: block;
  1132. width: fit-content;
  1133. margin: 0 auto;
  1134. }
  1135. .pagination-top .elevator,
  1136. .pagination-entry-top .elevator {
  1137. display: none;
  1138. }