common.css 22 KB

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