main.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. /*****************************************************************************/
  2. /*
  3. /* Common
  4. /*
  5. /*****************************************************************************/
  6. iframe {
  7. width: 100%;
  8. border: none;
  9. }
  10. html, body { height: 100%; }
  11. /* Global Reset */
  12. * {
  13. margin: 0;
  14. padding: 0;
  15. }
  16. ul {
  17. padding-left: 2em;
  18. list-style-type: circle;
  19. }
  20. blockquote {
  21. margin-left: 1em;
  22. padding-left: 1em;
  23. border-left-style: solid;
  24. }
  25. body {
  26. background-color: #282828;
  27. color: #B0B0B0;
  28. /* font-family: "DejaVu Serif", sans-serif; */
  29. font-family: 'BloggerSansRegular';
  30. font-size: medium;
  31. text-align: center;
  32. margin: 0 auto 0;
  33. }
  34. p {
  35. line-height: 120%;
  36. }
  37. pre {
  38. line-height: 140%;
  39. }
  40. #wrapper {
  41. min-height: 100%;
  42. /* width: 100%; */
  43. }
  44. #main {
  45. overflow: auto;
  46. max-width: 50em;
  47. padding-top: 2em;
  48. padding-bottom: 120px;
  49. margin-left: auto;
  50. margin-right: auto;
  51. }
  52. #footer {
  53. position: relative;
  54. margin-top: -124px;
  55. height: 120px;
  56. clear: both;
  57. }
  58. h1 {
  59. font-size: 250%;
  60. font-weight: normal;
  61. }
  62. h2 {
  63. font-size: 140%;
  64. }
  65. h3, h4, h5, h6 {
  66. font-size: 100%;
  67. }
  68. h1 { margin-bottom: 1em; }
  69. p {
  70. font-size: 16pt;
  71. margin: 1em 0;
  72. }
  73. a {
  74. color: #C0C0C0;
  75. text-decoration: none;
  76. font-weight: bold;
  77. }
  78. a:hover {
  79. color: #B0B0B0;
  80. background: rgba(0, 0, 0, 0.3);
  81. }
  82. /*a:visited {
  83. color: #222;
  84. }*/
  85. /*****************************************************************************/
  86. /*
  87. /* Home
  88. /*
  89. /*****************************************************************************/
  90. .posts {
  91. list-style-type: none;
  92. margin-bottom: 2em;
  93. padding-left: 0;
  94. }
  95. .posts li {
  96. line-height: 1.75em;
  97. margin-top: 1em;
  98. border-top: 4px solid #474747;
  99. }
  100. .posts span {
  101. color: #aaa;
  102. font-family: Monaco, "Courier New", monospace;
  103. font-size: 80%;
  104. }
  105. .read_more {
  106. text-align: right;
  107. }
  108. /*****************************************************************************/
  109. /*
  110. /* Site
  111. /*
  112. /*****************************************************************************/
  113. body {
  114. font-size: 115%;
  115. text-align: justify;
  116. line-height: 1.5em;
  117. }
  118. .header {
  119. padding-top: 2em;
  120. padding-left: 12em;
  121. background: #878787;
  122. min-height: 10em;
  123. font-family: 'GNUTypewriterStandard';
  124. }
  125. .header a {
  126. font-weight: bold;
  127. text-decoration: none;
  128. }
  129. div.left_float {
  130. float: left;
  131. display: block;
  132. position: absolute;
  133. }
  134. .logo {
  135. width: 10em;
  136. }
  137. .title {
  138. display: inline-block;
  139. margin-bottom: 0.6em;
  140. margin-left: 1em;
  141. /* font-family: "Ubuntu"; */
  142. }
  143. .title a {
  144. color: #000;
  145. font-weight: normal !important;
  146. }
  147. .title a:hover {
  148. /* color: #333; */
  149. background: none;
  150. }
  151. .title_menu {
  152. margin-left: 3.5em;
  153. }
  154. .header a.extra {
  155. color: #474747;
  156. font-size: 130%;
  157. }
  158. .header a.extra:hover {
  159. color: #878787;
  160. background: #474747;
  161. }
  162. .quote {
  163. color: #eee;
  164. margin-left: 8em;
  165. margin-top: 2em;
  166. font-size: 80%;
  167. line-height: 110%;
  168. }
  169. .quote a {
  170. font-weight: normal;
  171. color: #eee;
  172. }
  173. .quote a:hover {
  174. background: none;
  175. }
  176. .quote0 {
  177. margin-left: 0;
  178. }
  179. .quote1 {
  180. margin-left: 12em;
  181. }
  182. .post_header {
  183. }
  184. .meta {
  185. float: right;
  186. color: #aaa;
  187. font-family: mono;
  188. font-size: 80%;
  189. text-align: right;
  190. padding-right: 1em;
  191. }
  192. #footer {
  193. /* width: 100%; */
  194. font-size: 80%;
  195. color: #666;
  196. border-top: 4px solid #474747;
  197. padding-left: 1em;
  198. }
  199. #footer .contact {
  200. text-align: center;
  201. }
  202. .contact a {
  203. padding-left: 1em;
  204. padding-right: 1em;
  205. }
  206. .site_notes {
  207. font-size: 90%;
  208. text-align: center;
  209. }
  210. #footer .contact a {
  211. color: #888;
  212. }
  213. #footer .rss {
  214. margin-top: 1.1em;
  215. margin-right: -.2em;
  216. float: right;
  217. }
  218. #footer .rss img {
  219. border: 0;
  220. }
  221. /*****************************************************************************/
  222. /*
  223. /* Posts
  224. /*
  225. /*****************************************************************************/
  226. .warning {
  227. border: 1px solid #ccc;
  228. background-color: #474747;
  229. padding: .4em;
  230. margin: .3em;
  231. }
  232. .icon_text {
  233. font-size: 200%;
  234. padding: .2em;
  235. }
  236. /* standard */
  237. pre {
  238. /* border: 1px solid #ccc; */
  239. /* background-color: #474747; */
  240. /* padding: 0 .4em; */
  241. text-indent: 0;
  242. }
  243. .post ul, .post ol {
  244. margin-left: 1.35em;
  245. }
  246. code {
  247. /* background-color: #474747; */
  248. }
  249. pre code {
  250. border: none;
  251. }
  252. /* terminal */
  253. .post pre.terminal {
  254. border: 1px solid #000;
  255. background-color: #333;
  256. color: #FFF;
  257. }
  258. .post pre.terminal code {
  259. background-color: #333;
  260. }
  261. #comments_wrapper {
  262. border-top: 4px solid #474747;
  263. border-radius: 4px;
  264. margin-left: 6px;
  265. margin-right: 6px;
  266. margin-bottom: 2em;
  267. }
  268. #comments {
  269. padding-top: 1em;
  270. }
  271. .comment {
  272. border-top: 2px solid #474747;
  273. padding: 4px;
  274. margin-left: 1em;
  275. margin-right: 1em;
  276. font-size: 90%;
  277. }
  278. .comment h2 {
  279. font-size: 80%;
  280. }
  281. /* The only input/button for now is comment-posting.. */
  282. input {
  283. display: block;
  284. }
  285. #hydeview_comment_post {
  286. width: 100%;
  287. height: 10em;
  288. }