common.css 22 KB

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