common.css 12 KB

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