global.css 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. html {
  2. background-color: #eee;
  3. padding-bottom:7em;
  4. }
  5. body {
  6. background-color: #fff;
  7. margin: 0 auto;
  8. max-width: 60em;
  9. padding: 0.2em 1em;
  10. box-shadow: 0 0 6px;
  11. }
  12. body {
  13. line-height: 1.6;
  14. font-family: Cantarell, sans-serif;
  15. font-size: 1.1em;
  16. color: #222;
  17. }
  18. div.warning{background:#fcc;font-size:1.1em;border:solid 1px #666;padding-left:1em;padding-right:1em;}
  19. pre {
  20. padding: 0.3em;
  21. }
  22. pre,table {
  23. overflow-x: auto;
  24. display: block;
  25. }
  26. table {
  27. border-collapse: collapse;
  28. width:100%;
  29. }
  30. th{
  31. background:#cdcdcd;
  32. }
  33. th, td {
  34. border: solid 1px #888;
  35. }
  36. tr:nth-child(even) {
  37. background-color: #eee;
  38. }
  39. code, pre {
  40. background-color: #DDD;
  41. }
  42. img {
  43. max-width: 100%;
  44. }
  45. #logo {
  46. width: 20%;
  47. float: right;
  48. }
  49. a {
  50. text-decoration: none;
  51. color: #22D;
  52. }
  53. /* probably generated with autolink_bare_uris extension */
  54. a.uri {
  55. word-wrap: break-word;
  56. }
  57. a:hover {
  58. color: #008;
  59. }
  60. .date {
  61. display: block;
  62. }
  63. h1, h2, h3, .h:hover a {
  64. display: inline;
  65. }
  66. .h a {
  67. display: none;
  68. }
  69. h1.title {
  70. display: block;
  71. margin: 0;
  72. }
  73. p.author, p.date {
  74. clear: left;
  75. display: inline;
  76. }
  77. ul.llist {
  78. padding:0;
  79. margin:0;
  80. }
  81. ul.llist li {
  82. padding:0;
  83. margin:0;
  84. display:inline;
  85. padding-left:0.5em;
  86. padding-right:0.5em;
  87. border-right:solid 1px #000;
  88. }
  89. ul.llist li:first-child {
  90. padding-left:0;
  91. }
  92. ul.llist li:last-child {
  93. padding-right:0;
  94. border:none;
  95. }
  96. p.translate {
  97. padding:0;
  98. margin:0;
  99. }