common.css 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  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. .table-overflow td {
  138. max-width: 0;
  139. text-overflow: ellipsis;
  140. white-space: nowrap;
  141. overflow: hidden;
  142. }
  143. tr:hover {
  144. background-color: #f9f9f9;
  145. }
  146. .column-40 {
  147. width: 40%;
  148. }
  149. .column-25 {
  150. width: 25%;
  151. }
  152. .column-20 {
  153. width: 20%;
  154. }
  155. /* Forms */
  156. label {
  157. cursor: pointer;
  158. display: block;
  159. }
  160. .radio-group {
  161. line-height: 1.9em;
  162. }
  163. div.radio-group label {
  164. display: inline-block;
  165. }
  166. select {
  167. margin-bottom: 15px;
  168. }
  169. input[type="url"],
  170. input[type="password"],
  171. input[type="text"] {
  172. border: 1px solid #ccc;
  173. padding: 3px;
  174. line-height: 15px;
  175. width: 250px;
  176. font-size: 99%;
  177. margin-bottom: 10px;
  178. margin-top: 5px;
  179. -webkit-appearance: none;
  180. }
  181. input[type="url"]:focus,
  182. input[type="password"]:focus,
  183. input[type="text"]:focus {
  184. color: #000;
  185. border-color: rgba(82, 168, 236, 0.8);
  186. outline: 0;
  187. box-shadow: 0 0 8px rgba(82, 168, 236, 0.6);
  188. }
  189. ::-moz-placeholder,
  190. ::-ms-input-placeholder,
  191. ::-webkit-input-placeholder {
  192. color: #ddd;
  193. padding-top: 2px;
  194. }
  195. .form-help {
  196. font-size: 0.9em;
  197. color: brown;
  198. margin-bottom: 15px;
  199. }
  200. /* Buttons */
  201. a.button {
  202. text-decoration: none;
  203. }
  204. .button {
  205. display: inline-block;
  206. -webkit-appearance: none;
  207. -moz-appearance: none;
  208. font-size: 1.1em;
  209. cursor: pointer;
  210. padding: 3px 10px;
  211. border: 1px solid;
  212. border-radius: unset;
  213. }
  214. .button-primary {
  215. border-color: #3079ed;
  216. background: #4d90fe;
  217. color: #fff;
  218. }
  219. .button-primary:hover,
  220. .button-primary:focus {
  221. border-color: #2f5bb7;
  222. background: #357ae8;
  223. }
  224. .button-danger {
  225. border-color: #b0281a;
  226. background: #d14836;
  227. color: #fff;
  228. }
  229. .button-danger:hover,
  230. .button-danger:focus {
  231. color: #fff;
  232. background: #c53727;
  233. }
  234. .button:disabled {
  235. color: #ccc;
  236. background: #f7f7f7;
  237. border-color: #ccc;
  238. }
  239. .buttons {
  240. margin-top: 10px;
  241. margin-bottom: 20px;
  242. }
  243. /* Alerts */
  244. .alert {
  245. padding: 8px 35px 8px 14px;
  246. margin-bottom: 20px;
  247. color: #c09853;
  248. background-color: #fcf8e3;
  249. border: 1px solid #fbeed5;
  250. border-radius: 4px;
  251. overflow: auto;
  252. }
  253. .alert h3 {
  254. margin-top: 0;
  255. margin-bottom: 15px;
  256. }
  257. .alert-success {
  258. color: #468847;
  259. background-color: #dff0d8;
  260. border-color: #d6e9c6;
  261. }
  262. .alert-error {
  263. color: #b94a48;
  264. background-color: #f2dede;
  265. border-color: #eed3d7;
  266. }
  267. .alert-error a {
  268. color: #b94a48;
  269. }
  270. .alert-info {
  271. color: #3a87ad;
  272. background-color: #d9edf7;
  273. border-color: #bce8f1;
  274. }
  275. /* Panel */
  276. .panel {
  277. color: #333;
  278. background-color: #f0f0f0;
  279. border: 1px solid #ddd;
  280. border-radius: 5px;
  281. padding: 10px;
  282. margin-bottom: 15px;
  283. }
  284. .panel h3 {
  285. font-weight: 500;
  286. margin-top: 0;
  287. margin-bottom: 20px;
  288. }
  289. .panel ul {
  290. margin-left: 30px;
  291. }
  292. /* Login form */
  293. .login-form {
  294. margin: auto;
  295. margin-top: 50px;
  296. width: 350px;
  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-meta {
  418. font-size: 0.95em;
  419. margin: 0 0 20px;
  420. color: #666;
  421. }
  422. .entry-website img {
  423. vertical-align: top;
  424. }
  425. .entry-website a {
  426. color: #666;
  427. vertical-align: top;
  428. text-decoration: none;
  429. }
  430. .entry-website a:hover,
  431. .entry-website a:focus {
  432. text-decoration: underline;
  433. }
  434. .entry-date {
  435. font-size: 0.65em;
  436. font-style: italic;
  437. color: #555;
  438. }
  439. .entry-content {
  440. padding-top: 15px;
  441. font-size: 1.1em;
  442. font-weight: 300;
  443. color: #444;
  444. }
  445. .entry-content h1, h2, h3, h4, h5, h6 {
  446. margin-top: 15px;
  447. }
  448. .entry-content iframe,
  449. .entry-content video,
  450. .entry-content img {
  451. max-width: 100%;
  452. }
  453. .entry-content figure img {
  454. border: 1px solid #000;
  455. }
  456. .entry-content figcaption {
  457. font-size: 0.75em;
  458. text-transform: uppercase;
  459. color: #777;
  460. }
  461. .entry-content p {
  462. margin-top: 15px;
  463. margin-bottom: 15px;
  464. text-align: justify;
  465. }
  466. .entry-content a:visited {
  467. color: purple;
  468. }
  469. .entry-content dt {
  470. font-weight: 500;
  471. margin-top: 15px;
  472. color: #555;
  473. }
  474. .entry-content dd {
  475. margin-left: 15px;
  476. margin-top: 5px;
  477. padding-left: 20px;
  478. border-left: 3px solid #ddd;
  479. color: #777;
  480. font-weight: 300;
  481. line-height: 1.4em;
  482. }
  483. .entry-content blockquote {
  484. border-left: 4px solid #ddd;
  485. padding-left: 25px;
  486. margin-left: 20px;
  487. margin-top: 20px;
  488. margin-bottom: 20px;
  489. color: #888;
  490. line-height: 1.4em;
  491. font-family: Georgia, serif;
  492. }
  493. .entry-content blockquote + p {
  494. color: #555;
  495. font-style: italic;
  496. font-weight: 200;
  497. }
  498. .entry-content q {
  499. color: purple;
  500. font-family: Georgia, serif;
  501. font-style: italic;
  502. }
  503. .entry-content q:before {
  504. content: "“";
  505. }
  506. .entry-content q:after {
  507. content: "”";
  508. }
  509. .entry-content pre {
  510. padding: 5px;
  511. background: #f0f0f0;
  512. border: 1px solid #ddd;
  513. overflow: scroll;
  514. }
  515. .entry-content ul,
  516. .entry-content ol {
  517. margin-left: 30px;
  518. }
  519. .entry-content ul {
  520. list-style-type: square;
  521. }
  522. .entry-enclosures h3 {
  523. font-weight: 500;
  524. }
  525. .entry-enclosure {
  526. border: 1px dotted #ddd;
  527. padding: 5px;
  528. margin-top: 10px;
  529. max-width: 100%;
  530. }
  531. .entry-enclosure-download {
  532. font-size: 0.85em;
  533. }
  534. .enclosure-video video,
  535. .enclosure-image img {
  536. max-width: 100%;
  537. }