common.css 22 KB

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