common.css 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  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-meta {
  421. font-size: 0.95em;
  422. margin: 0 0 20px;
  423. color: #666;
  424. overflow-wrap: break-word;
  425. }
  426. .entry-website img {
  427. vertical-align: top;
  428. }
  429. .entry-website a {
  430. color: #666;
  431. vertical-align: top;
  432. text-decoration: none;
  433. }
  434. .entry-website a:hover,
  435. .entry-website a:focus {
  436. text-decoration: underline;
  437. }
  438. .entry-date {
  439. font-size: 0.65em;
  440. font-style: italic;
  441. color: #555;
  442. }
  443. .entry-content {
  444. padding-top: 15px;
  445. font-size: 1.2em;
  446. font-weight: 300;
  447. font-family: Georgia, 'Times New Roman', Times, serif;
  448. color: #555;
  449. line-height: 1.4em;
  450. overflow-wrap: break-word;
  451. }
  452. .entry-content h1, h2, h3, h4, h5, h6 {
  453. margin-top: 15px;
  454. margin-bottom: 10px;
  455. }
  456. .entry-content iframe,
  457. .entry-content video,
  458. .entry-content img {
  459. max-width: 100%;
  460. }
  461. .entry-content figure img {
  462. border: 1px solid #000;
  463. }
  464. .entry-content figcaption {
  465. font-size: 0.75em;
  466. text-transform: uppercase;
  467. color: #777;
  468. }
  469. .entry-content p {
  470. margin-top: 10px;
  471. margin-bottom: 15px;
  472. }
  473. .entry-content a {
  474. overflow-wrap: break-word;
  475. }
  476. .entry-content a:visited {
  477. color: purple;
  478. }
  479. .entry-content dt {
  480. font-weight: 500;
  481. margin-top: 15px;
  482. color: #555;
  483. }
  484. .entry-content dd {
  485. margin-left: 15px;
  486. margin-top: 5px;
  487. padding-left: 20px;
  488. border-left: 3px solid #ddd;
  489. color: #777;
  490. font-weight: 300;
  491. line-height: 1.4em;
  492. }
  493. .entry-content blockquote {
  494. border-left: 4px solid #ddd;
  495. padding-left: 25px;
  496. margin-left: 20px;
  497. margin-top: 20px;
  498. margin-bottom: 20px;
  499. color: #888;
  500. line-height: 1.4em;
  501. font-family: Georgia, serif;
  502. }
  503. .entry-content blockquote + p {
  504. color: #555;
  505. font-style: italic;
  506. font-weight: 200;
  507. }
  508. .entry-content q {
  509. color: purple;
  510. font-family: Georgia, serif;
  511. font-style: italic;
  512. }
  513. .entry-content q:before {
  514. content: "“";
  515. }
  516. .entry-content q:after {
  517. content: "”";
  518. }
  519. .entry-content pre {
  520. padding: 5px;
  521. background: #f0f0f0;
  522. border: 1px solid #ddd;
  523. overflow: scroll;
  524. overflow-wrap: initial;
  525. }
  526. .entry-content table {
  527. table-layout: fixed;
  528. max-width: 100%;
  529. }
  530. .entry-content ul,
  531. .entry-content ol {
  532. margin-left: 30px;
  533. }
  534. .entry-content ul {
  535. list-style-type: square;
  536. }
  537. .entry-enclosures h3 {
  538. font-weight: 500;
  539. }
  540. .entry-enclosure {
  541. border: 1px dotted #ddd;
  542. padding: 5px;
  543. margin-top: 10px;
  544. max-width: 100%;
  545. }
  546. .entry-enclosure-download {
  547. font-size: 0.85em;
  548. }
  549. .enclosure-video video,
  550. .enclosure-image img {
  551. max-width: 100%;
  552. }
  553. /* Confirmation */
  554. .confirm {
  555. font-weight: 500;
  556. color: #ed2d04;
  557. }
  558. .confirm a {
  559. color: #ed2d04;
  560. }
  561. .loading {
  562. font-style: italic;
  563. }
  564. /* Bookmarlet */
  565. .bookmarklet {
  566. border: 1px dashed #ccc;
  567. border-radius: 5px;
  568. padding: 15px;
  569. margin: 15px;
  570. text-align: center;
  571. }
  572. .bookmarklet a {
  573. font-weight: 600;
  574. text-decoration: none;
  575. font-size: 1.2em;
  576. }