common.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906
  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: 5px;
  28. padding-right: 5px;
  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. /* Header and main menu */
  45. .header {
  46. margin-top: 10px;
  47. margin-bottom: 20px;
  48. }
  49. .header nav ul {
  50. display: none;
  51. }
  52. .header li {
  53. cursor: pointer;
  54. padding-left: 10px;
  55. line-height: 2.1em;
  56. font-size: 1.2em;
  57. border-bottom: 1px dotted var(--header-list-border-color);
  58. }
  59. .header li:hover a {
  60. color: #888;
  61. }
  62. .header a {
  63. font-size: 0.9em;
  64. color: var(--header-link-color);
  65. text-decoration: none;
  66. border: none;
  67. font-weight: 400;
  68. }
  69. .header .active a {
  70. color: var(--header-active-link-color);
  71. font-weight: 500;
  72. }
  73. .header a:hover {
  74. color: var(--header-link-hover-color);
  75. }
  76. .header a:focus {
  77. color: var(--header-link-focus-color);
  78. }
  79. /* Page header and footer*/
  80. .page-header {
  81. margin-bottom: 25px;
  82. }
  83. .page-footer {
  84. margin-bottom: 10px;
  85. }
  86. .page-header h1 {
  87. font-weight: 500;
  88. border-bottom: 1px dotted var(--page-header-title-border-color);
  89. }
  90. .page-header ul,
  91. .page-footer ul {
  92. margin-left: 25px;
  93. }
  94. .page-header li,
  95. .page-footer li {
  96. list-style-type: circle;
  97. line-height: 1.8em;
  98. }
  99. /* Logo */
  100. .logo {
  101. cursor: pointer;
  102. text-align: center;
  103. }
  104. .logo a {
  105. color: var(--logo-color);
  106. letter-spacing: 1px;
  107. }
  108. .logo a:hover {
  109. color: #339966;
  110. }
  111. .logo a span {
  112. color: #339966;
  113. }
  114. .logo a:hover span {
  115. color: var(--logo-hover-color-span);
  116. }
  117. /* Search form */
  118. .search {
  119. text-align: center;
  120. display: none;
  121. }
  122. .search-toggle-switch {
  123. display: none;
  124. }
  125. @media (min-width: 600px) {
  126. body {
  127. margin: auto;
  128. max-width: 750px;
  129. }
  130. .header {
  131. margin-bottom: 0;
  132. }
  133. .logo {
  134. text-align: left;
  135. float: left;
  136. margin-right: 15px;
  137. margin-left: 5px;
  138. }
  139. .header nav ul {
  140. display: block;
  141. }
  142. .header li {
  143. display: inline;
  144. padding: 0;
  145. padding-right: 15px;
  146. line-height: normal;
  147. border: none;
  148. font-size: 1.0em;
  149. }
  150. .page-header ul,
  151. .page-footer ul {
  152. margin-left: 0;
  153. }
  154. .page-header li,
  155. .page-footer li {
  156. display: inline;
  157. padding-right: 15px;
  158. }
  159. /* Search form */
  160. .search {
  161. text-align: right;
  162. display: block;
  163. margin-top: 10px;
  164. margin-right: 5px;
  165. }
  166. .search-toggle-switch {
  167. display: block;
  168. }
  169. .search-form {
  170. display: none;
  171. }
  172. .search-toggle-switch.has-search-query {
  173. display: none;
  174. }
  175. .search-form.has-search-query {
  176. display: block;
  177. }
  178. }
  179. /* Tables */
  180. table {
  181. width: 100%;
  182. border-collapse: collapse;
  183. }
  184. table, th, td {
  185. border: 1px solid var(--table-border-color);
  186. }
  187. th, td {
  188. padding: 5px;
  189. text-align: left;
  190. }
  191. td {
  192. vertical-align: top;
  193. }
  194. th {
  195. background: var(--table-th-background);
  196. color: var(--table-th-color);
  197. font-weight: 400;
  198. }
  199. tr:hover {
  200. color: var(--table-tr-hover-color);
  201. background-color: var(--table-tr-hover-background-color);
  202. }
  203. .column-40 {
  204. width: 40%;
  205. }
  206. .column-25 {
  207. width: 25%;
  208. }
  209. .column-20 {
  210. width: 20%;
  211. }
  212. /* Forms */
  213. fieldset {
  214. border: 1px solid #ddd;
  215. padding: 8px;
  216. }
  217. legend {
  218. font-weight: 500;
  219. padding-left: 3px;
  220. padding-right: 3px;
  221. }
  222. label {
  223. cursor: pointer;
  224. display: block;
  225. }
  226. .radio-group {
  227. line-height: 1.9em;
  228. }
  229. div.radio-group label {
  230. display: inline-block;
  231. }
  232. select {
  233. margin-bottom: 15px;
  234. }
  235. input[type="search"],
  236. input[type="url"],
  237. input[type="password"],
  238. input[type="text"] {
  239. color: var(--input-color);
  240. background: var(--input-background);
  241. border: var(--input-border);
  242. padding: 3px;
  243. line-height: 20px;
  244. width: 250px;
  245. font-size: 99%;
  246. margin-bottom: 10px;
  247. margin-top: 5px;
  248. -webkit-appearance: none;
  249. }
  250. input[type="search"]:focus,
  251. input[type="url"]:focus,
  252. input[type="password"]:focus,
  253. input[type="text"]:focus {
  254. color: var(--input-focus-color);
  255. border-color: var(--input-focus-border-color);
  256. outline: 0;
  257. box-shadow: var(--input-focus-box-shadow);
  258. }
  259. input[type="checkbox"] {
  260. margin-bottom: 15px;
  261. }
  262. ::-moz-placeholder,
  263. ::-ms-input-placeholder,
  264. ::-webkit-input-placeholder {
  265. color: #ddd;
  266. padding-top: 2px;
  267. }
  268. .form-help {
  269. font-size: 0.9em;
  270. color: brown;
  271. margin-bottom: 15px;
  272. }
  273. .form-section {
  274. border-left: 2px dotted #ddd;
  275. padding-left: 20px;
  276. margin-left: 10px;
  277. }
  278. details > summary {
  279. outline: none;
  280. cursor: pointer;
  281. }
  282. .details-content {
  283. margin-top: 15px;
  284. }
  285. /* Buttons */
  286. a.button {
  287. text-decoration: none;
  288. }
  289. .button {
  290. display: inline-block;
  291. -webkit-appearance: none;
  292. -moz-appearance: none;
  293. font-size: 1.1em;
  294. cursor: pointer;
  295. padding: 3px 10px;
  296. border: 1px solid;
  297. border-radius: unset;
  298. }
  299. .button-primary {
  300. border-color: var(--button-primary-border-color);
  301. background: var(--button-primary-background);
  302. color: var(--button-primary-color);
  303. }
  304. .button-primary:hover,
  305. .button-primary:focus {
  306. border-color: var(--button-primary-focus-border-color);
  307. background: var(--button-primary-focus-background);
  308. }
  309. .button-danger {
  310. border-color: #b0281a;
  311. background: #d14836;
  312. color: #fff;
  313. }
  314. .button-danger:hover,
  315. .button-danger:focus {
  316. color: #fff;
  317. background: #c53727;
  318. }
  319. .button:disabled {
  320. color: #ccc;
  321. background: #f7f7f7;
  322. border-color: #ccc;
  323. }
  324. .buttons {
  325. margin-top: 10px;
  326. margin-bottom: 20px;
  327. }
  328. /* Alerts */
  329. .alert {
  330. padding: 8px 35px 8px 14px;
  331. margin-bottom: 20px;
  332. color: var(--alert-color);
  333. background-color: var(--alert-background-color);
  334. border: 1px solid var(--alert-border-color);
  335. border-radius: 4px;
  336. overflow: auto;
  337. }
  338. .alert h3 {
  339. margin-top: 0;
  340. margin-bottom: 15px;
  341. }
  342. .alert-success {
  343. color: var(--alert-success-color);
  344. background-color: var(--alert-success-background-color);
  345. border-color: var(--alert-success-border-color);
  346. }
  347. .alert-error {
  348. color: var(--alert-error-color);
  349. background-color: var(--alert-error-background-color);
  350. border-color: var(--alert-error-border-color);
  351. }
  352. .alert-error h3,
  353. .alert-error a {
  354. color: var(--alert-error-color);
  355. }
  356. .alert-info {
  357. color: var(--alert-info-color);
  358. background-color: var(--alert-info-background-color);
  359. border-color: var(--alert-info-border-color);
  360. }
  361. /* Panel */
  362. .panel {
  363. color: var(--panel-color);
  364. background-color: var(--panel-background);
  365. border: 1px solid var(--panel-border-color);
  366. border-radius: 5px;
  367. padding: 10px;
  368. margin-bottom: 15px;
  369. }
  370. .panel h3 {
  371. font-weight: 500;
  372. margin-top: 0;
  373. margin-bottom: 20px;
  374. }
  375. .panel ul {
  376. margin-left: 30px;
  377. }
  378. /* Modals */
  379. #modal-left {
  380. position: fixed;
  381. top: 0;
  382. left: 0;
  383. bottom: 0;
  384. width: 360px;
  385. overflow: auto;
  386. color: var(--modal-color);
  387. background: var(--modal-background);
  388. box-shadow: var(--modal-box-shadow);
  389. padding: 5px;
  390. padding-top: 30px;
  391. }
  392. #modal-left h3 {
  393. font-weight: 400;
  394. margin: 0;
  395. }
  396. .btn-close-modal {
  397. position: absolute;
  398. top: 0;
  399. right: 0;
  400. font-size: 1.7em;
  401. color: #ccc;
  402. padding:0 .2em;
  403. margin: 10px;
  404. text-decoration: none;
  405. }
  406. .btn-close-modal:hover {
  407. color: #999;
  408. }
  409. /* Keyboard Shortcuts */
  410. .keyboard-shortcuts li {
  411. margin-left: 25px;
  412. list-style-type: square;
  413. color: var(--keyboard-shortcuts-li-color);
  414. font-size: 0.95em;
  415. line-height: 1.45em;
  416. }
  417. .keyboard-shortcuts p {
  418. line-height: 1.9em;
  419. }
  420. /* Login form */
  421. .login-form {
  422. margin: 50px auto 0;
  423. max-width: 280px;
  424. }
  425. /* Counters */
  426. .unread-counter-wrapper,
  427. .error-feeds-counter-wrapper {
  428. font-size: 0.9em;
  429. font-weight: 300;
  430. color: var(--counter-color);
  431. }
  432. /* Category label */
  433. .category {
  434. font-size: 0.75em;
  435. background-color: var(--category-background-color);
  436. border: 1px solid var(--category-border-color);
  437. border-radius: 5px;
  438. margin-left: 0.25em;
  439. padding: 1px 0.4em 1px 0.4em;
  440. white-space: nowrap;
  441. color: var(--category-color);
  442. }
  443. .category a {
  444. color: var(--category-link-color);
  445. text-decoration: none;
  446. }
  447. .category a:hover,
  448. .category a:focus {
  449. color: var(--category-link-hover-color);
  450. }
  451. /* Pagination */
  452. .pagination {
  453. font-size: 1.1em;
  454. display: flex;
  455. align-items: center;
  456. padding-top: 8px;
  457. }
  458. .pagination-bottom {
  459. border-top: 1px dotted var(--pagination-border-color);
  460. margin-bottom: 15px;
  461. margin-top: 50px;
  462. }
  463. .pagination > div {
  464. flex: 1;
  465. }
  466. .pagination-next {
  467. text-align: right;
  468. }
  469. .pagination-prev:before {
  470. content: "« ";
  471. }
  472. .pagination-next:after {
  473. content: " »";
  474. }
  475. .pagination a {
  476. color: var(--pagination-color);
  477. }
  478. .pagination a:hover,
  479. .pagination a:focus {
  480. text-decoration: none;
  481. }
  482. /* List view */
  483. .item {
  484. border: 1px dotted var(--item-border-color);
  485. margin-bottom: 20px;
  486. padding: var(--item-padding);
  487. overflow: hidden;
  488. }
  489. .item.current-item {
  490. border: var(--current-item-border-width) solid var(--current-item-border-color);
  491. padding: 3px;
  492. box-shadow: var(--current-item-box-shadow);
  493. }
  494. .item-title a {
  495. text-decoration: none;
  496. font-weight: var(--item-title-link-font-weight);
  497. }
  498. .item-status-read .item-title a {
  499. color: var(--item-status-read-title-link-color);
  500. }
  501. .item-meta {
  502. color: var(--item-meta-focus-color);
  503. font-size: 0.8em;
  504. }
  505. .item-meta a {
  506. color: #777;
  507. text-decoration: none;
  508. }
  509. .item-meta a:hover,
  510. .item-meta a:focus {
  511. color: #333;
  512. }
  513. .item-meta ul {
  514. margin-top: 5px;
  515. }
  516. .item-meta li {
  517. display: inline;
  518. }
  519. .item-meta li:after {
  520. content: "|";
  521. color: var(--item-meta-li-color);
  522. }
  523. .item-meta li:last-child:after {
  524. content: "";
  525. }
  526. .items {
  527. overflow-x: hidden;
  528. }
  529. .hide-read-items .item-status-read:not(.current-item) {
  530. display: none;
  531. }
  532. /* Feeds list */
  533. article.feed-parsing-error {
  534. background-color: var(--feed-parsing-error-background-color);
  535. border-color: #aaa;
  536. }
  537. .parsing-error {
  538. font-size: 0.85em;
  539. margin-top: 2px;
  540. color: var(--parsing-error-color);
  541. }
  542. .parsing-error-count {
  543. cursor: pointer;
  544. }
  545. /* Entry view */
  546. .entry header {
  547. padding-bottom: 5px;
  548. border-bottom: 1px dotted var(--entry-header-border-color);
  549. }
  550. .entry header h1 {
  551. font-size: 2.0em;
  552. line-height: 1.25em;
  553. margin: 5px 0 30px 0;
  554. }
  555. .entry header h1 a {
  556. text-decoration: none;
  557. color: var(--entry-header-title-link-color);
  558. }
  559. .entry header h1 a:hover,
  560. .entry header h1 a:focus {
  561. color: #666;
  562. }
  563. .entry-actions {
  564. margin-bottom: 20px;
  565. }
  566. .entry-actions a {
  567. text-decoration: none;
  568. }
  569. .entry-actions li {
  570. display: inline;
  571. }
  572. .entry-actions li:not(:last-child):after {
  573. content: "|";
  574. }
  575. .entry-meta {
  576. font-size: 0.95em;
  577. margin: 0 0 20px;
  578. color: #666;
  579. overflow-wrap: break-word;
  580. }
  581. .entry-website img {
  582. vertical-align: top;
  583. }
  584. .entry-website a {
  585. color: #666;
  586. vertical-align: top;
  587. text-decoration: none;
  588. }
  589. .entry-website a:hover,
  590. .entry-website a:focus {
  591. text-decoration: underline;
  592. }
  593. .entry-date {
  594. font-size: 0.65em;
  595. font-style: italic;
  596. color: #555;
  597. }
  598. .entry-content {
  599. padding-top: 15px;
  600. font-size: 1.2em;
  601. font-weight: 300;
  602. font-family: var(--entry-content-font-family);
  603. color: var(--entry-content-color);
  604. line-height: 1.4em;
  605. overflow-wrap: break-word;
  606. }
  607. .entry-content h1, h2, h3, h4, h5, h6 {
  608. margin-top: 15px;
  609. margin-bottom: 10px;
  610. }
  611. .entry-content iframe,
  612. .entry-content video,
  613. .entry-content img {
  614. max-width: 100%;
  615. }
  616. .entry-content figure {
  617. margin-top: 15px;
  618. margin-bottom: 15px;
  619. }
  620. .entry-content figure img {
  621. border: 1px solid #000;
  622. }
  623. .entry-content figcaption {
  624. font-size: 0.75em;
  625. text-transform: uppercase;
  626. color: #777;
  627. }
  628. .entry-content p {
  629. margin-top: 10px;
  630. margin-bottom: 15px;
  631. }
  632. .entry-content a {
  633. overflow-wrap: break-word;
  634. }
  635. .entry-content a:visited {
  636. color: purple;
  637. }
  638. .entry-content dt {
  639. font-weight: 500;
  640. margin-top: 15px;
  641. color: #555;
  642. }
  643. .entry-content dd {
  644. margin-left: 15px;
  645. margin-top: 5px;
  646. padding-left: 20px;
  647. border-left: 3px solid #ddd;
  648. color: #777;
  649. font-weight: 300;
  650. line-height: 1.4em;
  651. }
  652. .entry-content blockquote {
  653. border-left: 4px solid #ddd;
  654. padding-left: 25px;
  655. margin-left: 20px;
  656. margin-top: 20px;
  657. margin-bottom: 20px;
  658. color: #888;
  659. line-height: 1.4em;
  660. font-family: var(--entry-content-quote-font-family);
  661. }
  662. .entry-content q {
  663. color: var(--entry-content-quote-color);
  664. font-family: var(--entry-content-quote-font-family);
  665. font-style: italic;
  666. }
  667. .entry-content q:before {
  668. content: "“";
  669. }
  670. .entry-content q:after {
  671. content: "”";
  672. }
  673. .entry-content pre {
  674. padding: 5px;
  675. overflow: auto;
  676. overflow-wrap: initial;
  677. border-width: 1px;
  678. border-style: solid;
  679. }
  680. .entry-content pre,
  681. .entry-content code {
  682. color: var(--entry-content-code-color);
  683. background: var(--entry-content-code-background);
  684. border-color: var(--entry-content-code-border-color);
  685. }
  686. .entry-content table {
  687. table-layout: fixed;
  688. max-width: 100%;
  689. }
  690. .entry-content ul,
  691. .entry-content ol {
  692. margin-left: 30px;
  693. margin-top: 15px;
  694. margin-bottom: 15px;
  695. }
  696. .entry-content li ul,
  697. .entry-content li ol {
  698. margin-top: 0;
  699. margin-bottom: 0;
  700. }
  701. .entry-content ul {
  702. list-style-type: square;
  703. }
  704. .entry-content strong {
  705. font-weight: 600;
  706. }
  707. .entry-enclosures h3 {
  708. font-weight: 500;
  709. }
  710. .entry-enclosure {
  711. border: 1px dotted var(--entry-enclosure-border-color);
  712. padding: 5px;
  713. margin-top: 10px;
  714. max-width: 100%;
  715. }
  716. .entry-enclosure-download {
  717. font-size: 0.85em;
  718. overflow-wrap: break-word;
  719. }
  720. .enclosure-video video,
  721. .enclosure-image img {
  722. max-width: 100%;
  723. }
  724. /* Confirmation */
  725. .confirm {
  726. font-weight: 500;
  727. color: #ed2d04;
  728. }
  729. .confirm a {
  730. color: #ed2d04;
  731. }
  732. .loading {
  733. font-style: italic;
  734. }
  735. /* Bookmarlet */
  736. .bookmarklet {
  737. border: 1px dashed #ccc;
  738. border-radius: 5px;
  739. padding: 15px;
  740. margin: 15px;
  741. text-align: center;
  742. }
  743. .bookmarklet a {
  744. font-weight: 600;
  745. text-decoration: none;
  746. font-size: 1.2em;
  747. }