common.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688
  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. ::-moz-placeholder,
  183. ::-ms-input-placeholder,
  184. ::-webkit-input-placeholder {
  185. color: #ddd;
  186. padding-top: 2px;
  187. }
  188. .form-help {
  189. font-size: 0.9em;
  190. color: brown;
  191. margin-bottom: 15px;
  192. }
  193. /* Buttons */
  194. a.button {
  195. text-decoration: none;
  196. }
  197. .button {
  198. display: inline-block;
  199. -webkit-appearance: none;
  200. -moz-appearance: none;
  201. font-size: 1.1em;
  202. cursor: pointer;
  203. padding: 3px 10px;
  204. border: 1px solid;
  205. border-radius: unset;
  206. }
  207. .button-primary {
  208. border-color: #3079ed;
  209. background: #4d90fe;
  210. color: #fff;
  211. }
  212. .button-primary:hover,
  213. .button-primary:focus {
  214. border-color: #2f5bb7;
  215. background: #357ae8;
  216. }
  217. .button-danger {
  218. border-color: #b0281a;
  219. background: #d14836;
  220. color: #fff;
  221. }
  222. .button-danger:hover,
  223. .button-danger:focus {
  224. color: #fff;
  225. background: #c53727;
  226. }
  227. .button:disabled {
  228. color: #ccc;
  229. background: #f7f7f7;
  230. border-color: #ccc;
  231. }
  232. .buttons {
  233. margin-top: 10px;
  234. margin-bottom: 20px;
  235. }
  236. /* Alerts */
  237. .alert {
  238. padding: 8px 35px 8px 14px;
  239. margin-bottom: 20px;
  240. color: #c09853;
  241. background-color: #fcf8e3;
  242. border: 1px solid #fbeed5;
  243. border-radius: 4px;
  244. overflow: auto;
  245. }
  246. .alert h3 {
  247. margin-top: 0;
  248. margin-bottom: 15px;
  249. }
  250. .alert-success {
  251. color: #468847;
  252. background-color: #dff0d8;
  253. border-color: #d6e9c6;
  254. }
  255. .alert-error {
  256. color: #b94a48;
  257. background-color: #f2dede;
  258. border-color: #eed3d7;
  259. }
  260. .alert-error a {
  261. color: #b94a48;
  262. }
  263. .alert-info {
  264. color: #3a87ad;
  265. background-color: #d9edf7;
  266. border-color: #bce8f1;
  267. }
  268. /* Panel */
  269. .panel {
  270. color: #333;
  271. background-color: #f0f0f0;
  272. border: 1px solid #ddd;
  273. border-radius: 5px;
  274. padding: 10px;
  275. margin-bottom: 15px;
  276. }
  277. .panel h3 {
  278. font-weight: 500;
  279. margin-top: 0;
  280. margin-bottom: 20px;
  281. }
  282. .panel ul {
  283. margin-left: 30px;
  284. }
  285. /* Login form */
  286. .login-form {
  287. margin: 50px auto 0;
  288. max-width: 280px;
  289. }
  290. /* Counter */
  291. .unread-counter {
  292. font-size: 0.8em;
  293. font-weight: 300;
  294. color: #666;
  295. }
  296. /* Category label */
  297. .category {
  298. font-size: 0.75em;
  299. background-color: #fffcd7;
  300. border: 1px solid #d5d458;
  301. border-radius: 5px;
  302. margin-left: 0.25em;
  303. padding: 1px 0.4em 1px 0.4em;
  304. white-space: nowrap;
  305. }
  306. .category a {
  307. color: #555;
  308. text-decoration: none;
  309. }
  310. .category a:hover,
  311. .category a:focus {
  312. color: #000;
  313. }
  314. /* Pagination */
  315. .pagination {
  316. font-size: 1.1em;
  317. display: flex;
  318. align-items: center;
  319. padding-top: 8px;
  320. }
  321. .pagination-bottom {
  322. border-top: 1px dotted #ddd;
  323. margin-bottom: 15px;
  324. margin-top: 50px;
  325. }
  326. .pagination > div {
  327. flex: 1;
  328. }
  329. .pagination-next {
  330. text-align: right;
  331. }
  332. .pagination-prev:before {
  333. content: "« ";
  334. }
  335. .pagination-next:after {
  336. content: " »";
  337. }
  338. .pagination a {
  339. color: #333;
  340. }
  341. .pagination a:hover,
  342. .pagination a:focus {
  343. text-decoration: none;
  344. }
  345. /* List view */
  346. .item {
  347. border: 1px dotted #ddd;
  348. margin-bottom: 20px;
  349. padding: 5px;
  350. overflow: hidden;
  351. }
  352. .item.current-item {
  353. border: 3px solid #bce;
  354. padding: 3px;
  355. }
  356. .item-title a {
  357. text-decoration: none;
  358. font-weight: 600;
  359. }
  360. .item-status-read .item-title a {
  361. color: #777;
  362. }
  363. .item-meta {
  364. color: #777;
  365. font-size: 0.8em;
  366. }
  367. .item-meta a {
  368. color: #777;
  369. text-decoration: none;
  370. }
  371. .item-meta a:hover,
  372. .item-meta a:focus {
  373. color: #333;
  374. }
  375. .item-meta ul {
  376. margin-top: 5px;
  377. }
  378. .item-meta li {
  379. display: inline;
  380. }
  381. .item-meta li:after {
  382. content: "|";
  383. color: #aaa;
  384. }
  385. .item-meta li:last-child:after {
  386. content: "";
  387. }
  388. .hide-read-items .item-status-read {
  389. display: none;
  390. }
  391. /* Entry view */
  392. .entry header {
  393. padding-bottom: 5px;
  394. border-bottom: 1px dotted #ddd;
  395. }
  396. .entry header h1 {
  397. font-size: 2.0em;
  398. line-height: 1.25em;
  399. margin: 30px 0;
  400. }
  401. .entry header h1 a {
  402. text-decoration: none;
  403. color: #333;
  404. }
  405. .entry header h1 a:hover,
  406. .entry header h1 a:focus {
  407. color: #666;
  408. }
  409. .entry-meta {
  410. font-size: 0.95em;
  411. margin: 0 0 20px;
  412. color: #666;
  413. overflow-wrap: break-word;
  414. }
  415. .entry-website img {
  416. vertical-align: top;
  417. }
  418. .entry-website a {
  419. color: #666;
  420. vertical-align: top;
  421. text-decoration: none;
  422. }
  423. .entry-website a:hover,
  424. .entry-website a:focus {
  425. text-decoration: underline;
  426. }
  427. .entry-date {
  428. font-size: 0.65em;
  429. font-style: italic;
  430. color: #555;
  431. }
  432. .entry-content {
  433. padding-top: 15px;
  434. font-size: 1.2em;
  435. font-weight: 300;
  436. font-family: Georgia, 'Times New Roman', Times, serif;
  437. color: #555;
  438. line-height: 1.4em;
  439. overflow-wrap: break-word;
  440. }
  441. .entry-content h1, h2, h3, h4, h5, h6 {
  442. margin-top: 15px;
  443. margin-bottom: 10px;
  444. }
  445. .entry-content iframe,
  446. .entry-content video,
  447. .entry-content img {
  448. max-width: 100%;
  449. }
  450. .entry-content figure img {
  451. border: 1px solid #000;
  452. }
  453. .entry-content figcaption {
  454. font-size: 0.75em;
  455. text-transform: uppercase;
  456. color: #777;
  457. }
  458. .entry-content p {
  459. margin-top: 10px;
  460. margin-bottom: 15px;
  461. }
  462. .entry-content a {
  463. overflow-wrap: break-word;
  464. }
  465. .entry-content a:visited {
  466. color: purple;
  467. }
  468. .entry-content dt {
  469. font-weight: 500;
  470. margin-top: 15px;
  471. color: #555;
  472. }
  473. .entry-content dd {
  474. margin-left: 15px;
  475. margin-top: 5px;
  476. padding-left: 20px;
  477. border-left: 3px solid #ddd;
  478. color: #777;
  479. font-weight: 300;
  480. line-height: 1.4em;
  481. }
  482. .entry-content blockquote {
  483. border-left: 4px solid #ddd;
  484. padding-left: 25px;
  485. margin-left: 20px;
  486. margin-top: 20px;
  487. margin-bottom: 20px;
  488. color: #888;
  489. line-height: 1.4em;
  490. font-family: Georgia, serif;
  491. }
  492. .entry-content blockquote + p {
  493. color: #555;
  494. font-style: italic;
  495. font-weight: 200;
  496. }
  497. .entry-content q {
  498. color: purple;
  499. font-family: Georgia, serif;
  500. font-style: italic;
  501. }
  502. .entry-content q:before {
  503. content: "“";
  504. }
  505. .entry-content q:after {
  506. content: "”";
  507. }
  508. .entry-content pre {
  509. padding: 5px;
  510. background: #f0f0f0;
  511. border: 1px solid #ddd;
  512. overflow: scroll;
  513. overflow-wrap: initial;
  514. }
  515. .entry-content table {
  516. table-layout: fixed;
  517. max-width: 100%;
  518. }
  519. .entry-content ul,
  520. .entry-content ol {
  521. margin-left: 30px;
  522. }
  523. .entry-content ul {
  524. list-style-type: square;
  525. }
  526. .entry-enclosures h3 {
  527. font-weight: 500;
  528. }
  529. .entry-enclosure {
  530. border: 1px dotted #ddd;
  531. padding: 5px;
  532. margin-top: 10px;
  533. max-width: 100%;
  534. }
  535. .entry-enclosure-download {
  536. font-size: 0.85em;
  537. }
  538. .enclosure-video video,
  539. .enclosure-image img {
  540. max-width: 100%;
  541. }
  542. /* Confirmation */
  543. .confirm {
  544. font-weight: 500;
  545. color: #ed2d04;
  546. }
  547. .confirm a {
  548. color: #ed2d04;
  549. }
  550. .loading {
  551. font-style: italic;
  552. }
  553. /* Bookmarlet */
  554. .bookmarklet {
  555. border: 1px dashed #ccc;
  556. border-radius: 5px;
  557. padding: 15px;
  558. margin: 15px;
  559. text-align: center;
  560. }
  561. .bookmarklet a {
  562. font-weight: 600;
  563. text-decoration: none;
  564. font-size: 1.2em;
  565. }