common.css 11 KB

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