common.css 12 KB

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