common.css 22 KB

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