common.css 11 KB

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