common.css 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661
  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: 3px;
  13. padding-right: 3px;
  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. font-size: 0.9em;
  68. }
  69. .page-header li {
  70. list-style-type: circle;
  71. line-height: 1.4em;
  72. }
  73. .logo {
  74. cursor: pointer;
  75. text-align: center;
  76. }
  77. .logo a {
  78. color: #000;
  79. letter-spacing: 1px;
  80. }
  81. .logo a:hover {
  82. color: #339966;
  83. }
  84. .logo a span {
  85. color: #339966;
  86. }
  87. .logo a:hover span {
  88. color: #000;
  89. }
  90. @media (min-width: 600px) {
  91. body {
  92. margin: auto;
  93. max-width: 750px;
  94. }
  95. .logo {
  96. text-align: left;
  97. float: left;
  98. margin-right: 15px;
  99. }
  100. .header nav ul {
  101. display: block;
  102. }
  103. .header li {
  104. display: inline;
  105. padding: 0;
  106. padding-right: 15px;
  107. line-height: normal;
  108. font-size: 1.0em;
  109. border: none;
  110. }
  111. .page-header ul {
  112. margin-left: 0;
  113. }
  114. .page-header li {
  115. display: inline;
  116. padding-right: 15px;
  117. }
  118. }
  119. /* Tables */
  120. table {
  121. width: 100%;
  122. border-collapse: collapse;
  123. }
  124. table, th, td {
  125. border: 1px solid #ddd;
  126. }
  127. th, td {
  128. padding: 5px;
  129. text-align: left;
  130. }
  131. td {
  132. vertical-align: top;
  133. }
  134. th {
  135. background: #fcfcfc;
  136. }
  137. tr:hover {
  138. background-color: #f9f9f9;
  139. }
  140. .column-40 {
  141. width: 40%;
  142. }
  143. .column-25 {
  144. width: 25%;
  145. }
  146. .column-20 {
  147. width: 20%;
  148. }
  149. /* Forms */
  150. label {
  151. cursor: pointer;
  152. display: block;
  153. }
  154. .radio-group {
  155. line-height: 1.9em;
  156. }
  157. div.radio-group label {
  158. display: inline-block;
  159. }
  160. select {
  161. margin-bottom: 15px;
  162. }
  163. input[type="url"],
  164. input[type="password"],
  165. input[type="text"] {
  166. border: 1px solid #ccc;
  167. padding: 3px;
  168. line-height: 20px;
  169. width: 250px;
  170. font-size: 99%;
  171. margin-bottom: 10px;
  172. margin-top: 5px;
  173. -webkit-appearance: none;
  174. }
  175. input[type="url"]:focus,
  176. input[type="password"]:focus,
  177. input[type="text"]:focus {
  178. color: #000;
  179. border-color: rgba(82, 168, 236, 0.8);
  180. outline: 0;
  181. box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
  182. }
  183. ::-moz-placeholder,
  184. ::-ms-input-placeholder,
  185. ::-webkit-input-placeholder {
  186. color: #ddd;
  187. padding-top: 2px;
  188. }
  189. .form-help {
  190. font-size: 0.9em;
  191. color: brown;
  192. margin-bottom: 15px;
  193. }
  194. /* Buttons */
  195. a.button {
  196. text-decoration: none;
  197. }
  198. .button {
  199. display: inline-block;
  200. -webkit-appearance: none;
  201. -moz-appearance: none;
  202. font-size: 1.1em;
  203. cursor: pointer;
  204. padding: 3px 10px;
  205. border: 1px solid;
  206. border-radius: unset;
  207. }
  208. .button-primary {
  209. border-color: #3079ed;
  210. background: #4d90fe;
  211. color: #fff;
  212. }
  213. .button-primary:hover,
  214. .button-primary:focus {
  215. border-color: #2f5bb7;
  216. background: #357ae8;
  217. }
  218. .button-danger {
  219. border-color: #b0281a;
  220. background: #d14836;
  221. color: #fff;
  222. }
  223. .button-danger:hover,
  224. .button-danger:focus {
  225. color: #fff;
  226. background: #c53727;
  227. }
  228. .button:disabled {
  229. color: #ccc;
  230. background: #f7f7f7;
  231. border-color: #ccc;
  232. }
  233. .buttons {
  234. margin-top: 10px;
  235. margin-bottom: 20px;
  236. }
  237. /* Alerts */
  238. .alert {
  239. padding: 8px 35px 8px 14px;
  240. margin-bottom: 20px;
  241. color: #c09853;
  242. background-color: #fcf8e3;
  243. border: 1px solid #fbeed5;
  244. border-radius: 4px;
  245. overflow: auto;
  246. }
  247. .alert h3 {
  248. margin-top: 0;
  249. margin-bottom: 15px;
  250. }
  251. .alert-success {
  252. color: #468847;
  253. background-color: #dff0d8;
  254. border-color: #d6e9c6;
  255. }
  256. .alert-error {
  257. color: #b94a48;
  258. background-color: #f2dede;
  259. border-color: #eed3d7;
  260. }
  261. .alert-error a {
  262. color: #b94a48;
  263. }
  264. .alert-info {
  265. color: #3a87ad;
  266. background-color: #d9edf7;
  267. border-color: #bce8f1;
  268. }
  269. /* Panel */
  270. .panel {
  271. color: #333;
  272. background-color: #f0f0f0;
  273. border: 1px solid #ddd;
  274. border-radius: 5px;
  275. padding: 10px;
  276. margin-bottom: 15px;
  277. }
  278. .panel h3 {
  279. font-weight: 500;
  280. margin-top: 0;
  281. margin-bottom: 20px;
  282. }
  283. .panel ul {
  284. margin-left: 30px;
  285. }
  286. /* Login form */
  287. .login-form {
  288. margin: auto;
  289. margin-top: 50px;
  290. width: 350px;
  291. }
  292. /* Counter */
  293. .unread-counter {
  294. font-size: 0.8em;
  295. font-weight: 300;
  296. color: #666;
  297. }
  298. /* Category label */
  299. .category {
  300. font-size: 0.75em;
  301. background-color: #fffcd7;
  302. border: 1px solid #d5d458;
  303. border-radius: 5px;
  304. margin-left: 0.25em;
  305. padding: 1px 0.4em 1px 0.4em;
  306. white-space: nowrap;
  307. }
  308. .category a {
  309. color: #555;
  310. text-decoration: none;
  311. }
  312. .category a:hover,
  313. .category a:focus {
  314. color: #000;
  315. }
  316. /* Pagination */
  317. .pagination {
  318. font-size: 1.1em;
  319. display: flex;
  320. align-items: center;
  321. padding-top: 8px;
  322. }
  323. .pagination-bottom {
  324. border-top: 1px dotted #ddd;
  325. margin-bottom: 15px;
  326. margin-top: 50px;
  327. }
  328. .pagination > div {
  329. flex: 1;
  330. }
  331. .pagination-next {
  332. text-align: right;
  333. }
  334. .pagination-prev:before {
  335. content: "« ";
  336. }
  337. .pagination-next:after {
  338. content: " »";
  339. }
  340. .pagination a {
  341. color: #333;
  342. }
  343. .pagination a:hover,
  344. .pagination a:focus {
  345. text-decoration: none;
  346. }
  347. /* List view */
  348. .item {
  349. border: 1px dotted #ddd;
  350. margin-bottom: 20px;
  351. padding: 5px;
  352. overflow: hidden;
  353. }
  354. .item.current-item {
  355. border: 3px solid #bce;
  356. padding: 3px;
  357. }
  358. .item-title a {
  359. text-decoration: none;
  360. font-weight: 600;
  361. }
  362. .item-status-read .item-title a {
  363. color: #777;
  364. }
  365. .item-meta {
  366. color: #777;
  367. font-size: 0.8em;
  368. }
  369. .item-meta a {
  370. color: #777;
  371. text-decoration: none;
  372. }
  373. .item-meta a:hover,
  374. .item-meta a:focus {
  375. color: #333;
  376. }
  377. .item-meta ul {
  378. margin-top: 5px;
  379. }
  380. .item-meta li {
  381. display: inline;
  382. }
  383. .item-meta li:after {
  384. content: "|";
  385. color: #aaa;
  386. }
  387. .item-meta li:last-child:after {
  388. content: "";
  389. }
  390. .hide-read-items .item-status-read {
  391. display: none;
  392. }
  393. /* Entry view */
  394. .entry header {
  395. padding-bottom: 5px;
  396. border-bottom: 1px dotted #ddd;
  397. }
  398. .entry header h1 {
  399. font-size: 2.0em;
  400. line-height: 1.25em;
  401. margin: 30px 0;
  402. }
  403. .entry header h1 a {
  404. text-decoration: none;
  405. color: #333;
  406. }
  407. .entry header h1 a:hover,
  408. .entry header h1 a:focus {
  409. color: #666;
  410. }
  411. .entry-meta {
  412. font-size: 0.95em;
  413. margin: 0 0 20px;
  414. color: #666;
  415. }
  416. .entry-website img {
  417. vertical-align: top;
  418. }
  419. .entry-website a {
  420. color: #666;
  421. vertical-align: top;
  422. text-decoration: none;
  423. }
  424. .entry-website a:hover,
  425. .entry-website a:focus {
  426. text-decoration: underline;
  427. }
  428. .entry-date {
  429. font-size: 0.65em;
  430. font-style: italic;
  431. color: #555;
  432. }
  433. .entry-content {
  434. padding-top: 15px;
  435. font-size: 1.1em;
  436. font-weight: 300;
  437. color: #444;
  438. }
  439. .entry-content h1, h2, h3, h4, h5, h6 {
  440. margin-top: 15px;
  441. }
  442. .entry-content iframe,
  443. .entry-content video,
  444. .entry-content img {
  445. max-width: 100%;
  446. }
  447. .entry-content figure img {
  448. border: 1px solid #000;
  449. }
  450. .entry-content figcaption {
  451. font-size: 0.75em;
  452. text-transform: uppercase;
  453. color: #777;
  454. }
  455. .entry-content p {
  456. margin-top: 15px;
  457. margin-bottom: 15px;
  458. text-align: justify;
  459. }
  460. .entry-content a:visited {
  461. color: purple;
  462. }
  463. .entry-content dt {
  464. font-weight: 500;
  465. margin-top: 15px;
  466. color: #555;
  467. }
  468. .entry-content dd {
  469. margin-left: 15px;
  470. margin-top: 5px;
  471. padding-left: 20px;
  472. border-left: 3px solid #ddd;
  473. color: #777;
  474. font-weight: 300;
  475. line-height: 1.4em;
  476. }
  477. .entry-content blockquote {
  478. border-left: 4px solid #ddd;
  479. padding-left: 25px;
  480. margin-left: 20px;
  481. margin-top: 20px;
  482. margin-bottom: 20px;
  483. color: #888;
  484. line-height: 1.4em;
  485. font-family: Georgia, serif;
  486. }
  487. .entry-content blockquote + p {
  488. color: #555;
  489. font-style: italic;
  490. font-weight: 200;
  491. }
  492. .entry-content q {
  493. color: purple;
  494. font-family: Georgia, serif;
  495. font-style: italic;
  496. }
  497. .entry-content q:before {
  498. content: "“";
  499. }
  500. .entry-content q:after {
  501. content: "”";
  502. }
  503. .entry-content pre {
  504. padding: 5px;
  505. background: #f0f0f0;
  506. border: 1px solid #ddd;
  507. overflow: scroll;
  508. }
  509. .entry-content ul,
  510. .entry-content ol {
  511. margin-left: 30px;
  512. }
  513. .entry-content ul {
  514. list-style-type: square;
  515. }
  516. .entry-enclosures h3 {
  517. font-weight: 500;
  518. }
  519. .entry-enclosure {
  520. border: 1px dotted #ddd;
  521. padding: 5px;
  522. margin-top: 10px;
  523. max-width: 100%;
  524. }
  525. .entry-enclosure-download {
  526. font-size: 0.85em;
  527. }
  528. .enclosure-video video,
  529. .enclosure-image img {
  530. max-width: 100%;
  531. }
  532. /* Confirmation */
  533. .confirm {
  534. font-weight: 500;
  535. color: #ed2d04;
  536. }
  537. .confirm a {
  538. color: #ed2d04;
  539. }
  540. .loading {
  541. font-style: italic;
  542. }