main.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. /*****************************************************************************/
  2. /*
  3. /* Common
  4. /*
  5. /*****************************************************************************/
  6. /* Global Reset */
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. }
  11. html, body { height: 100%; }
  12. body {
  13. background-color: #FFF;
  14. font: 13.34px Helvetica, Arial, sans-serif;
  15. font-size: small;
  16. text-align: center;
  17. }
  18. h1, h2, h3, h4, h5, h6 {
  19. font-size: 100%; }
  20. h1 { margin-bottom: 1em; }
  21. p { margin: 1em 0; }
  22. a { color: #00a; }
  23. a:hover { color: #000; }
  24. a:visited { color: #a0a; }
  25. /*****************************************************************************/
  26. /*
  27. /* Home
  28. /*
  29. /*****************************************************************************/
  30. ul.posts {
  31. list-style-type: none;
  32. margin-bottom: 2em;
  33. }
  34. ul.posts li {
  35. line-height: 1.75em;
  36. }
  37. ul.posts span {
  38. color: #aaa;
  39. font-family: Monaco, "Courier New", monospace;
  40. font-size: 80%;
  41. }
  42. /*****************************************************************************/
  43. /*
  44. /* Site
  45. /*
  46. /*****************************************************************************/
  47. .site {
  48. font-size: 115%;
  49. text-align: justify;
  50. width: 42em;
  51. margin: 3em auto 2em;
  52. line-height: 1.5em;
  53. }
  54. .site .header a {
  55. font-weight: bold;
  56. text-decoration: none;
  57. }
  58. .site .header h1.title {
  59. display: inline-block;
  60. margin-bottom: 2em;
  61. }
  62. .site .header h1.title a {
  63. color: #a00;
  64. }
  65. .site .header h1.title a:hover {
  66. color: #000;
  67. }
  68. .site .header a.extra {
  69. color: #aaa;
  70. margin-left: 1em;
  71. }
  72. .site .header a.extra:hover {
  73. color: #000;
  74. }
  75. .site .meta {
  76. color: #aaa;
  77. }
  78. .site .footer {
  79. font-size: 80%;
  80. color: #666;
  81. border-top: 4px solid #eee;
  82. margin-top: 2em;
  83. overflow: hidden;
  84. }
  85. .site .footer .contact {
  86. float: left;
  87. margin-right: 3em;
  88. }
  89. .site .footer .contact a {
  90. color: #8085C1;
  91. }
  92. .site .footer .rss {
  93. margin-top: 1.1em;
  94. margin-right: -.2em;
  95. float: right;
  96. }
  97. .site .footer .rss img {
  98. border: 0;
  99. }
  100. /*****************************************************************************/
  101. /*
  102. /* Posts
  103. /*
  104. /*****************************************************************************/
  105. /* standard */
  106. .post pre {
  107. border: 1px solid #ddd;
  108. background-color: #eef;
  109. padding: 0 .4em;
  110. }
  111. .post ul, .post ol {
  112. margin-left: 1.35em;
  113. }
  114. .post code {
  115. border: 1px solid #ddd;
  116. background-color: #eef;
  117. padding: 0 .2em;
  118. }
  119. .post pre code {
  120. border: none;
  121. }
  122. /* terminal */
  123. .post pre.terminal {
  124. border: 1px solid #000;
  125. background-color: #333;
  126. color: #FFF;
  127. }
  128. .post pre.terminal code {
  129. background-color: #333;
  130. }