common.css 12 KB

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