theme.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. /* because standards */
  2. @viewport {
  3. width: device-width;
  4. }
  5. @-ms-viewport {
  6. width: device-width;
  7. }
  8. body {
  9. font-family: "Museo Sans", "museo-sans", sans-serif;
  10. font-size: 100%;
  11. color: #534741;
  12. line-height: 1.25;
  13. background: #F2EDE6;
  14. margin: 0;
  15. }
  16. /*
  17. @media (max-width: 600px) {
  18. body {
  19. font-size: 100%;
  20. }
  21. }
  22. */
  23. /* force android webkit to use relative header size */
  24. body h1 {
  25. font-family: "Museo", "museo", sans-serif;
  26. font-weight: 500;
  27. }
  28. p {
  29. hyphens: auto;
  30. -moz-hyphens: auto;
  31. word-wrap: break-word;
  32. }
  33. hr {
  34. border-color: #D3D3D3;
  35. }
  36. a {
  37. color: #6495ED;
  38. text-decoration: none;
  39. }
  40. code, pre {
  41. font-family: Monaco, Menlo, Consolas, monospace;
  42. font-size: 75%;
  43. }
  44. code {
  45. background: #FFFFE0;
  46. padding: 0px 0.2em;
  47. border-radius: 0.25em;
  48. }
  49. .code {
  50. padding: 0em 0.5em;
  51. border-radius: 0.25em;
  52. }
  53. .code pre {
  54. padding: 0.25em 0em;
  55. overflow-x: auto;
  56. }
  57. table {
  58. border-collapse: collapse;
  59. }
  60. td {
  61. padding: 0px 0.5em;
  62. }
  63. thead tr {
  64. font-weight: bold;
  65. border-bottom: solid 1px #808080;
  66. }
  67. .clearfix:after {
  68. content: " ";
  69. display: block;
  70. height: 0;
  71. clear: both;
  72. }
  73. .header {
  74. background: #F0E5D8;
  75. text-align: center;
  76. padding: 20px 0;
  77. }
  78. /* TODO: Fix this shit. */
  79. .header h1 {
  80. /*float: left;*/
  81. /*display: inline-block;*/
  82. font-size: 1.75em;
  83. margin: 0.125em auto;
  84. text-transform: lowercase;
  85. font-weight: 300;
  86. }
  87. .header img {
  88. width: 128px;
  89. height: 128px;
  90. border: 2px solid #534741;
  91. border-radius: 50%;
  92. }
  93. .header > a {
  94. font-family: "Museo";
  95. color: #534741;
  96. display: inline-block;
  97. border-bottom: 1px solid transparent;
  98. transition: all 0.4s;
  99. }
  100. .header > a:hover {
  101. text-decoration: none;
  102. border-bottom: 1px solid black;
  103. }
  104. .header .twitter {
  105. font-size: 1.25em;
  106. font-weight: 100;
  107. }
  108. .nav {
  109. float: right;
  110. display: inline-block;
  111. padding: 0px;
  112. margin: 0px;
  113. }
  114. .nav li {
  115. list-style: none;
  116. margin: 0.5em 0.2em;
  117. display: inline;
  118. font-size: 80%;
  119. }
  120. .container {
  121. max-width: 800px;
  122. margin: 0 auto;
  123. }
  124. .footer {
  125. text-align: center;
  126. }
  127. .postbox {
  128. margin-top: 2em;
  129. font-weight: 300;
  130. font-size: 1.2em;
  131. line-height: 1.8;
  132. }
  133. .postbox img {
  134. max-width: 100%;
  135. }
  136. .postbox .title h1 {
  137. font-size: 1.9em;
  138. }
  139. .postbox .title h1 a {
  140. color: #534741;
  141. border-bottom: 0px solid transparent;
  142. -webkit-transition: all 0.2s;
  143. -moz-transition: all 0.2s;
  144. -ms-transition: all 0.2s;
  145. transition: all 0.2s;
  146. padding-bottom: 12px;
  147. }
  148. .postbox .title h1 a:hover {
  149. border-bottom: 2px solid #534741;
  150. padding-bottom: 0;
  151. }
  152. .postbox .title small {
  153. float: right;
  154. font-size: 50%;
  155. font-weight: normal;
  156. color: #808080;
  157. line-height: 4.1;
  158. }
  159. .pager {
  160. list-style: none;
  161. text-align: center;
  162. padding: 0px;
  163. }
  164. .pager li > a {
  165. display: inline-block;
  166. }
  167. .pager .previous a {
  168. float: left;
  169. }
  170. .pager .next a {
  171. float: right;
  172. }
  173. @media (max-width: 768px) {
  174. .header img {
  175. width: 100px;
  176. height: 100px;
  177. border: 2px solid #534741;
  178. border-radius: 50%;
  179. }
  180. .header > h1 {
  181. display: block;
  182. float: none;
  183. line-height: 1.1;
  184. }
  185. .nav {
  186. display: block;
  187. float: none;
  188. }
  189. .nav li {
  190. display: block;
  191. font-size: 100%;
  192. }
  193. .content {
  194. -webkit-text-size-adjust: none;
  195. font-size: 80%;
  196. padding: 0 12px;
  197. }
  198. .title {
  199. line-height: 1;
  200. }
  201. .postbox {
  202. line-height: 1.5;
  203. font-weight: 300;
  204. }
  205. .postbox .title h1 small {
  206. float: none;
  207. line-height: 1;
  208. display: block;
  209. font-size: 70%;
  210. margin-top: 6px;
  211. }
  212. .postbox .title h1 {
  213. font-size: 1.4em;
  214. }
  215. }