common.css 12 KB

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