common.css 11 KB

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