common.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334
  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: 10px;
  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. #header-menu .icon,
  149. .page-header ul a .icon {
  150. margin-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. 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: 850px) {
  240. .logo {
  241. display: none;
  242. }
  243. }
  244. @media (min-width: 850px) {
  245. .logo {
  246. padding-right: 8px;
  247. }
  248. }
  249. @media (min-width: 620px) {
  250. body {
  251. margin: auto;
  252. max-width: 900px; /* Wide enough to display the logo and the menu one a single row for any languages */
  253. }
  254. .header {
  255. padding-left: 3px;
  256. }
  257. .header li {
  258. display: inline-block;
  259. padding: 0 5px 0 0;
  260. line-height: normal;
  261. border: none;
  262. font-size: 1.0em;
  263. }
  264. .header nav {
  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. dialog {
  519. max-height: none;
  520. height: 100vh;
  521. border: none;
  522. padding: 1%;
  523. }
  524. .btn-close-modal {
  525. position: absolute;
  526. top: 0;
  527. right: 0;
  528. font-size: 1.7em;
  529. color: #ccc;
  530. padding:0 .2em;
  531. margin: 10px;
  532. text-decoration: none;
  533. background-color: transparent;
  534. border: none;
  535. }
  536. .btn-close-modal:hover {
  537. color: #999;
  538. }
  539. /* Keyboard Shortcuts */
  540. .keyboard-shortcuts li {
  541. margin-left: 25px;
  542. list-style-type: square;
  543. color: var(--keyboard-shortcuts-li-color);
  544. font-size: 0.95em;
  545. line-height: 1.45em;
  546. }
  547. .keyboard-shortcuts p {
  548. line-height: 1.9em;
  549. }
  550. /* Login form */
  551. .login-form {
  552. margin: 50px auto 0;
  553. max-width: 300px;
  554. }
  555. .webauthn {
  556. margin-bottom: 20px;
  557. }
  558. /* Counters */
  559. .unread-counter-wrapper,
  560. .error-feeds-counter-wrapper {
  561. font-size: 0.9em;
  562. font-weight: 300;
  563. color: var(--counter-color);
  564. }
  565. /* Category label */
  566. .category {
  567. font-size: 0.75em;
  568. background-color: var(--category-background-color);
  569. border: 1px solid var(--category-border-color);
  570. border-radius: 5px;
  571. margin-left: 0.25em;
  572. padding: 1px 0.4em 1px 0.4em;
  573. white-space: nowrap;
  574. color: var(--category-color);
  575. }
  576. .category a {
  577. color: var(--category-link-color);
  578. text-decoration: none;
  579. }
  580. .category a:hover,
  581. .category a:focus {
  582. color: var(--category-link-hover-color);
  583. }
  584. .category-item-total {
  585. color: var(--body-color);
  586. }
  587. /* Pagination */
  588. .pagination {
  589. font-size: 1.1em;
  590. display: flex;
  591. align-items: center;
  592. justify-content: space-between;
  593. }
  594. .pagination-top {
  595. padding-bottom: 8px;
  596. }
  597. .pagination-bottom {
  598. padding-top: 8px;
  599. }
  600. .pagination-entry-top {
  601. padding-top: 8px;
  602. }
  603. .pagination-entry-bottom {
  604. border-top: 1px dotted var(--pagination-border-color);
  605. margin-bottom: 15px;
  606. margin-top: 50px;
  607. padding-top: 8px;
  608. }
  609. .pagination > div.pagination-backward > div {
  610. padding-right: 15px;
  611. }
  612. .pagination > div.pagination-forward > div {
  613. padding-left: 15px;
  614. }
  615. .pagination-next, .pagination-last {
  616. text-align: right;
  617. }
  618. .pagination-next:after {
  619. content: " ›";
  620. }
  621. .pagination-last:after {
  622. content: " »";
  623. }
  624. .pagination-prev:before {
  625. content: "‹ ";
  626. }
  627. .pagination-first:before {
  628. content: "« ";
  629. }
  630. .pagination a {
  631. color: var(--pagination-link-color);
  632. }
  633. .pagination a:hover,
  634. .pagination a:focus {
  635. text-decoration: none;
  636. }
  637. /* List view */
  638. .item {
  639. border: 1px dotted var(--item-border-color);
  640. margin-bottom: 20px;
  641. padding: var(--item-padding);
  642. overflow: hidden;
  643. }
  644. .item.current-item {
  645. border: var(--current-item-border-width) solid var(--current-item-border-color);
  646. padding: 3px;
  647. box-shadow: var(--current-item-box-shadow);
  648. }
  649. .item.current-item:focus {
  650. outline: none;
  651. }
  652. .item-header {
  653. font-size: 1rem;
  654. }
  655. .item-header span {
  656. font-weight: normal;
  657. display: inline-block;
  658. }
  659. .item-title {
  660. font-size: 1rem;
  661. margin: 0;
  662. display: inline;
  663. }
  664. .item-title a {
  665. text-decoration: none;
  666. font-weight: var(--item-title-link-font-weight);
  667. font-size: inherit;
  668. }
  669. .feed-entries-counter {
  670. display: inline-flex;
  671. gap: 2px;
  672. align-items: center;
  673. }
  674. .item-status-read .item-title a {
  675. color: var(--item-status-read-title-link-color);
  676. }
  677. .item-meta {
  678. color: var(--item-meta-focus-color);
  679. font-size: 0.8em;
  680. }
  681. .item-meta a {
  682. color: #777;
  683. text-decoration: none;
  684. }
  685. .item-meta :is(a:is(:focus, :hover), button:is(:focus, :hover)) {
  686. color: #333;
  687. }
  688. .item-meta ul {
  689. margin-top: 5px;
  690. }
  691. .item-meta li {
  692. display: inline-block;
  693. }
  694. .item-meta-info {
  695. font-size: 0.85em;
  696. }
  697. .item-meta-info li:not(:last-child):after {
  698. content: "|";
  699. color: var(--item-meta-li-color);
  700. }
  701. .item-meta-icons li {
  702. margin-right: 8px;
  703. margin-top: 4px;
  704. }
  705. .item-meta-icons li:last-child {
  706. margin-right: 0;
  707. }
  708. .item-meta-icons li > :is(a, button) {
  709. color: #777;
  710. text-decoration: none;
  711. font-size: 0.8rem;
  712. border: none;
  713. background-color: transparent;
  714. cursor: pointer;
  715. }
  716. .item-meta-icons a span {
  717. text-decoration: underline;
  718. }
  719. .item-meta-icons button:active {
  720. translate: 1px 1px;
  721. }
  722. .items {
  723. overflow-x: hidden;
  724. touch-action: pan-y;
  725. }
  726. .hide-read-items .item-status-read:not(.current-item) {
  727. display: none;
  728. }
  729. .entry-swipe {
  730. transition-property: transform;
  731. transition-duration: 0s;
  732. transition-timing-function: ease-out;
  733. }
  734. /* Feeds list */
  735. article.feed-parsing-error {
  736. background-color: var(--feed-parsing-error-background-color);
  737. border-style: var(--feed-parsing-error-border-style);
  738. border-color: var(--feed-parsing-error-border-color);
  739. }
  740. article.feed-has-unread {
  741. background-color: var(--feed-has-unread-background-color);
  742. border-style: var(--feed-has-unread-border-style);
  743. border-color: var(--feed-has-unread-border-color);
  744. }
  745. .parsing-error {
  746. font-size: 0.85em;
  747. margin-top: 2px;
  748. color: var(--parsing-error-color);
  749. }
  750. .parsing-error-count {
  751. cursor: pointer;
  752. }
  753. /* Categories list */
  754. article.category-has-unread {
  755. background-color: var(--category-has-unread-background-color);
  756. border-style: var(--category-has-unread-border-style);
  757. border-color: var(--category-has-unread-border-color);
  758. }
  759. /* Icons */
  760. .icon,
  761. .icon-label {
  762. vertical-align: text-bottom;
  763. display: inline-block;
  764. margin-right: 2px;
  765. }
  766. .icon {
  767. width: 16px;
  768. height: 16px;
  769. }
  770. /* Entry view */
  771. .entry header {
  772. padding-bottom: 5px;
  773. padding-inline: 5px;
  774. border-bottom: 1px dotted var(--entry-header-border-color);
  775. }
  776. .entry header h1 {
  777. font-size: 2.0em;
  778. line-height: 1.25em;
  779. margin: 5px 0 30px 0;
  780. overflow-wrap: break-word;
  781. }
  782. .entry header h1 a {
  783. text-decoration: none;
  784. color: var(--entry-header-title-link-color);
  785. }
  786. .entry header h1 a:hover,
  787. .entry header h1 a:focus {
  788. color: #666;
  789. }
  790. .entry-actions {
  791. margin-bottom: 20px;
  792. }
  793. .entry-actions a span {
  794. text-decoration: underline;
  795. }
  796. .entry-actions li {
  797. display: inline-block;
  798. margin-right: 15px;
  799. line-height: 1.7em;
  800. }
  801. .entry-actions .icon-label {
  802. vertical-align: middle;
  803. }
  804. .entry-meta {
  805. font-size: 0.95em;
  806. margin: 0 0 20px;
  807. color: #666;
  808. overflow-wrap: break-word;
  809. }
  810. .entry-tags {
  811. margin-top: 20px;
  812. margin-bottom: 20px;
  813. }
  814. .entry-tags strong {
  815. font-weight: 600;
  816. }
  817. .entry-tags-list {
  818. display: inline;
  819. margin: 0;
  820. padding: 0;
  821. }
  822. .entry-tags-list li {
  823. display: inline-block;
  824. }
  825. .entry-tags-list li::after {
  826. content: ", ";
  827. }
  828. .entry-tags-list li:last-child::after {
  829. content: "";
  830. }
  831. .entry-additional-tags {
  832. font-size: 0.8em;
  833. margin-top: 10px;
  834. }
  835. .entry-website img {
  836. vertical-align: top;
  837. }
  838. .entry-website a {
  839. color: #666;
  840. vertical-align: top;
  841. text-decoration: none;
  842. }
  843. .entry-website a:hover,
  844. .entry-website a:focus {
  845. text-decoration: underline;
  846. }
  847. .entry-date {
  848. font-size: 0.65em;
  849. font-style: italic;
  850. color: #555;
  851. }
  852. .entry-content {
  853. padding-top: 15px;
  854. font-size: 1.2em;
  855. font-weight: var(--entry-content-font-weight);
  856. font-family: var(--entry-content-font-family);
  857. color: var(--entry-content-color);
  858. line-height: 1.4em;
  859. overflow-wrap: break-word;
  860. }
  861. .entry-content h1, h2, h3, h4, h5, h6 {
  862. margin-top: 15px;
  863. margin-bottom: 10px;
  864. }
  865. .entry-content iframe,
  866. .entry-content video,
  867. .entry-content img {
  868. max-width: 100%;
  869. }
  870. .entry-content img {
  871. height: auto;
  872. }
  873. .entry-content figure {
  874. margin-top: 15px;
  875. margin-bottom: 15px;
  876. }
  877. .entry-content figure img {
  878. border: 1px solid #000;
  879. }
  880. .entry-content figcaption {
  881. font-size: 0.75em;
  882. text-transform: uppercase;
  883. color: #777;
  884. }
  885. .entry-content p {
  886. margin-top: 10px;
  887. margin-bottom: 15px;
  888. }
  889. .entry-content a {
  890. overflow-wrap: break-word;
  891. }
  892. .entry-content a:visited {
  893. color: var(--link-visited-color);
  894. }
  895. .entry-content dt {
  896. font-weight: 500;
  897. margin-top: 15px;
  898. color: #555;
  899. }
  900. .entry-content dd {
  901. margin-left: 15px;
  902. margin-top: 5px;
  903. padding-left: 20px;
  904. border-left: 3px solid #ddd;
  905. color: #777;
  906. font-weight: 300;
  907. line-height: 1.4em;
  908. }
  909. .entry-content blockquote {
  910. border-left: 4px solid #ddd;
  911. padding-left: 25px;
  912. margin-left: 20px;
  913. margin-top: 20px;
  914. margin-bottom: 20px;
  915. line-height: 1.4em;
  916. font-family: var(--entry-content-quote-font-family);
  917. }
  918. .entry-content q {
  919. color: var(--entry-content-quote-color);
  920. font-family: var(--entry-content-quote-font-family);
  921. font-style: italic;
  922. }
  923. .entry-content q:before {
  924. content: "“";
  925. }
  926. .entry-content q:after {
  927. content: "”";
  928. }
  929. .entry-content pre {
  930. padding: 5px;
  931. overflow: auto;
  932. overflow-wrap: initial;
  933. border-width: 1px;
  934. border-style: solid;
  935. }
  936. .entry-content pre,
  937. .entry-content code {
  938. color: var(--entry-content-code-color);
  939. background: var(--entry-content-code-background);
  940. border-color: var(--entry-content-code-border-color);
  941. }
  942. .entry-content table {
  943. max-width: 100%;
  944. }
  945. .entry-content ul,
  946. .entry-content ol {
  947. margin-left: 30px;
  948. margin-top: 15px;
  949. margin-bottom: 15px;
  950. }
  951. .entry-content li ul,
  952. .entry-content li ol {
  953. margin-top: 0;
  954. margin-bottom: 0;
  955. }
  956. .entry-content ul {
  957. list-style-type: square;
  958. }
  959. .entry-content strong {
  960. font-weight: 600;
  961. }
  962. .entry-content sub,
  963. .entry-content sup {
  964. font-size: 75%;
  965. line-height: 0;
  966. position: relative;
  967. vertical-align: baseline;
  968. }
  969. .entry-content sub {
  970. bottom: -0.25em;
  971. }
  972. .entry-content sup {
  973. top: -0.5em;
  974. }
  975. .entry-content abbr {
  976. cursor: pointer;
  977. text-decoration: none;
  978. border-bottom: 1px dashed var(--entry-content-abbr-border-color);
  979. }
  980. .entry-content aside {
  981. font-size: 0.9em;
  982. padding: 1ch;
  983. margin-bottom: 15px;
  984. font-style: italic;
  985. border: dotted var(--entry-content-aside-border-color) 2px;
  986. }
  987. details.entry-enclosures {
  988. margin-top: 25px;
  989. }
  990. .entry-enclosures summary {
  991. font-weight: 500;
  992. font-size: 1.2em;
  993. }
  994. .entry-enclosure {
  995. border: 1px dotted var(--entry-enclosure-border-color);
  996. padding: 5px;
  997. margin-top: 10px;
  998. max-width: 100%;
  999. }
  1000. .entry-enclosure-download {
  1001. font-size: 0.85em;
  1002. overflow-wrap: break-word;
  1003. }
  1004. .enclosure-video video,
  1005. .enclosure-image img {
  1006. max-width: 100%;
  1007. }
  1008. .entry-external-link {
  1009. font-size: 0.8em;
  1010. margin-top: 10px;
  1011. margin-bottom: 10px;
  1012. word-wrap: break-word;
  1013. }
  1014. /* Confirmation */
  1015. .confirm {
  1016. font-weight: 500;
  1017. color: #ed2d04;
  1018. }
  1019. .confirm button {
  1020. color: #ed2d04;
  1021. border: none;
  1022. background-color: transparent;
  1023. cursor: pointer;
  1024. font-size: inherit;
  1025. }
  1026. .loading {
  1027. font-style: italic;
  1028. }
  1029. /* Bookmarlet */
  1030. .bookmarklet {
  1031. border: 1px dashed #ccc;
  1032. border-radius: 5px;
  1033. padding: 15px;
  1034. margin: 15px;
  1035. text-align: center;
  1036. }
  1037. .bookmarklet a {
  1038. font-weight: 600;
  1039. text-decoration: none;
  1040. font-size: 1.2em;
  1041. }
  1042. .disabled {
  1043. opacity: 20%;
  1044. }
  1045. audio, video {
  1046. width: 100%;
  1047. }
  1048. .media-controls{
  1049. font-size: .9em;
  1050. display: flex;
  1051. flex-wrap: wrap;
  1052. }
  1053. .media-controls .media-control-label{
  1054. line-height: 1em;
  1055. }
  1056. .media-controls>div{
  1057. display: flex;
  1058. flex-wrap: nowrap;
  1059. justify-content:center;
  1060. min-width: 50%;
  1061. align-items: center;
  1062. }
  1063. .media-controls>div>*{
  1064. padding-left:12px;
  1065. }
  1066. .media-controls>div>*:first-child{
  1067. padding-left:0;
  1068. }
  1069. .media-controls span.speed-indicator{
  1070. /*monospace to ensure constant width even when value change. JS ensure the value is always on 4 characters (in most cases)
  1071. This reduce ui flickering due to element moving around a bit
  1072. */
  1073. font-family: monospace;
  1074. }
  1075. .integration-form summary {
  1076. font-weight: 700;
  1077. }
  1078. .integration-form details {
  1079. margin-bottom: 15px;
  1080. }
  1081. .integration-form details .form-section {
  1082. margin-top: 15px;
  1083. }
  1084. .hidden {
  1085. display: none;
  1086. }
  1087. footer {
  1088. margin: 1em auto;
  1089. }
  1090. footer .elevator {
  1091. display: block;
  1092. width: fit-content;
  1093. margin: 0 auto;
  1094. }
  1095. .pagination-top .elevator,
  1096. .pagination-entry-top .elevator {
  1097. display: none;
  1098. }