common.css 12 KB

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