common.css 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716
  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. /* Login form */
  294. .login-form {
  295. margin: 50px auto 0;
  296. max-width: 280px;
  297. }
  298. /* Counter */
  299. .unread-counter {
  300. font-size: 0.8em;
  301. font-weight: 300;
  302. color: #666;
  303. }
  304. /* Category label */
  305. .category {
  306. font-size: 0.75em;
  307. background-color: #fffcd7;
  308. border: 1px solid #d5d458;
  309. border-radius: 5px;
  310. margin-left: 0.25em;
  311. padding: 1px 0.4em 1px 0.4em;
  312. white-space: nowrap;
  313. }
  314. .category a {
  315. color: #555;
  316. text-decoration: none;
  317. }
  318. .category a:hover,
  319. .category a:focus {
  320. color: #000;
  321. }
  322. /* Pagination */
  323. .pagination {
  324. font-size: 1.1em;
  325. display: flex;
  326. align-items: center;
  327. padding-top: 8px;
  328. }
  329. .pagination-bottom {
  330. border-top: 1px dotted #ddd;
  331. margin-bottom: 15px;
  332. margin-top: 50px;
  333. }
  334. .pagination > div {
  335. flex: 1;
  336. }
  337. .pagination-next {
  338. text-align: right;
  339. }
  340. .pagination-prev:before {
  341. content: "« ";
  342. }
  343. .pagination-next:after {
  344. content: " »";
  345. }
  346. .pagination a {
  347. color: #333;
  348. }
  349. .pagination a:hover,
  350. .pagination a:focus {
  351. text-decoration: none;
  352. }
  353. /* List view */
  354. .item {
  355. border: 1px dotted #ddd;
  356. margin-bottom: 20px;
  357. padding: 5px;
  358. overflow: hidden;
  359. }
  360. .item.current-item {
  361. border: 3px solid #bce;
  362. padding: 3px;
  363. }
  364. .item-title a {
  365. text-decoration: none;
  366. font-weight: 600;
  367. }
  368. .item-status-read .item-title a {
  369. color: #777;
  370. }
  371. .item-meta {
  372. color: #777;
  373. font-size: 0.8em;
  374. }
  375. .item-meta a {
  376. color: #777;
  377. text-decoration: none;
  378. }
  379. .item-meta a:hover,
  380. .item-meta a:focus {
  381. color: #333;
  382. }
  383. .item-meta ul {
  384. margin-top: 5px;
  385. }
  386. .item-meta li {
  387. display: inline;
  388. }
  389. .item-meta li:after {
  390. content: "|";
  391. color: #aaa;
  392. }
  393. .item-meta li:last-child:after {
  394. content: "";
  395. }
  396. .hide-read-items .item-status-read {
  397. display: none;
  398. }
  399. /* Entry view */
  400. .entry header {
  401. padding-bottom: 5px;
  402. border-bottom: 1px dotted #ddd;
  403. }
  404. .entry header h1 {
  405. font-size: 2.0em;
  406. line-height: 1.25em;
  407. margin: 30px 0;
  408. }
  409. .entry header h1 a {
  410. text-decoration: none;
  411. color: #333;
  412. }
  413. .entry header h1 a:hover,
  414. .entry header h1 a:focus {
  415. color: #666;
  416. }
  417. .entry-actions {
  418. margin-bottom: 20px;
  419. }
  420. .entry-actions li {
  421. display: inline;
  422. }
  423. .entry-actions li:not(:last-child):after {
  424. content: "|";
  425. }
  426. .entry-meta {
  427. font-size: 0.95em;
  428. margin: 0 0 20px;
  429. color: #666;
  430. overflow-wrap: break-word;
  431. }
  432. .entry-website img {
  433. vertical-align: top;
  434. }
  435. .entry-website a {
  436. color: #666;
  437. vertical-align: top;
  438. text-decoration: none;
  439. }
  440. .entry-website a:hover,
  441. .entry-website a:focus {
  442. text-decoration: underline;
  443. }
  444. .entry-date {
  445. font-size: 0.65em;
  446. font-style: italic;
  447. color: #555;
  448. }
  449. .entry-content {
  450. padding-top: 15px;
  451. font-size: 1.2em;
  452. font-weight: 300;
  453. font-family: Georgia, 'Times New Roman', Times, serif;
  454. color: #555;
  455. line-height: 1.4em;
  456. overflow-wrap: break-word;
  457. }
  458. .entry-content h1, h2, h3, h4, h5, h6 {
  459. margin-top: 15px;
  460. margin-bottom: 10px;
  461. }
  462. .entry-content iframe,
  463. .entry-content video,
  464. .entry-content img {
  465. max-width: 100%;
  466. }
  467. .entry-content figure {
  468. margin-top: 15px;
  469. margin-bottom: 15px;
  470. }
  471. .entry-content figure img {
  472. border: 1px solid #000;
  473. }
  474. .entry-content figcaption {
  475. font-size: 0.75em;
  476. text-transform: uppercase;
  477. color: #777;
  478. }
  479. .entry-content p {
  480. margin-top: 10px;
  481. margin-bottom: 15px;
  482. }
  483. .entry-content a {
  484. overflow-wrap: break-word;
  485. }
  486. .entry-content a:visited {
  487. color: purple;
  488. }
  489. .entry-content dt {
  490. font-weight: 500;
  491. margin-top: 15px;
  492. color: #555;
  493. }
  494. .entry-content dd {
  495. margin-left: 15px;
  496. margin-top: 5px;
  497. padding-left: 20px;
  498. border-left: 3px solid #ddd;
  499. color: #777;
  500. font-weight: 300;
  501. line-height: 1.4em;
  502. }
  503. .entry-content blockquote {
  504. border-left: 4px solid #ddd;
  505. padding-left: 25px;
  506. margin-left: 20px;
  507. margin-top: 20px;
  508. margin-bottom: 20px;
  509. color: #888;
  510. line-height: 1.4em;
  511. font-family: Georgia, serif;
  512. }
  513. .entry-content blockquote + p {
  514. color: #555;
  515. font-style: italic;
  516. font-weight: 200;
  517. }
  518. .entry-content q {
  519. color: purple;
  520. font-family: Georgia, serif;
  521. font-style: italic;
  522. }
  523. .entry-content q:before {
  524. content: "“";
  525. }
  526. .entry-content q:after {
  527. content: "”";
  528. }
  529. .entry-content pre {
  530. padding: 5px;
  531. background: #f0f0f0;
  532. border: 1px solid #ddd;
  533. overflow: scroll;
  534. overflow-wrap: initial;
  535. }
  536. .entry-content table {
  537. table-layout: fixed;
  538. max-width: 100%;
  539. }
  540. .entry-content ul,
  541. .entry-content ol {
  542. margin-left: 30px;
  543. }
  544. .entry-content ul {
  545. list-style-type: square;
  546. }
  547. .entry-enclosures h3 {
  548. font-weight: 500;
  549. }
  550. .entry-enclosure {
  551. border: 1px dotted #ddd;
  552. padding: 5px;
  553. margin-top: 10px;
  554. max-width: 100%;
  555. }
  556. .entry-enclosure-download {
  557. font-size: 0.85em;
  558. overflow-wrap: break-word;
  559. }
  560. .enclosure-video video,
  561. .enclosure-image img {
  562. max-width: 100%;
  563. }
  564. /* Confirmation */
  565. .confirm {
  566. font-weight: 500;
  567. color: #ed2d04;
  568. }
  569. .confirm a {
  570. color: #ed2d04;
  571. }
  572. .loading {
  573. font-style: italic;
  574. }
  575. /* Bookmarlet */
  576. .bookmarklet {
  577. border: 1px dashed #ccc;
  578. border-radius: 5px;
  579. padding: 15px;
  580. margin: 15px;
  581. text-align: center;
  582. }
  583. .bookmarklet a {
  584. font-weight: 600;
  585. text-decoration: none;
  586. font-size: 1.2em;
  587. }