common.css 12 KB

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