common.css 12 KB

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