theme.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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. font-size: 1.75em;
  81. margin: 0.125em auto 0 auto;
  82. text-transform: lowercase;
  83. font-weight: 300;
  84. }
  85. header img {
  86. width: 128px;
  87. height: 128px;
  88. border: 2px solid #534741;
  89. border-radius: 50%;
  90. }
  91. header a {
  92. font-family: "Museo";
  93. color: #534741;
  94. display: inline-block;
  95. border-bottom: 1px solid transparent;
  96. transition: all 0.4s;
  97. }
  98. header a:hover {
  99. text-decoration: none;
  100. border-bottom: 1px solid black;
  101. }
  102. .nav {
  103. padding: 0px;
  104. margin: 6px 0 0 0px;
  105. }
  106. .nav li {
  107. list-style: none;
  108. margin: 0.5em 0.2em;
  109. display: inline;
  110. text-transform: lowercase;
  111. font-weight: 300;
  112. }
  113. .nav .twitter {
  114. font-size: 1.25em;
  115. font-weight: 100;
  116. }
  117. .container {
  118. max-width: 840px;
  119. margin: 0 auto;
  120. }
  121. .content {
  122. padding: 0 12px;
  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. line-height: 1.4;
  139. }
  140. .postbox .title h1 a {
  141. color: #534741;
  142. border-bottom: 0px solid transparent;
  143. -webkit-transition: all 0.2s;
  144. -moz-transition: all 0.2s;
  145. -ms-transition: all 0.2s;
  146. transition: all 0.2s;
  147. padding-bottom: 12px;
  148. }
  149. .postbox .title h1 a:hover {
  150. border-bottom: 2px solid #534741;
  151. padding-bottom: 0;
  152. }
  153. .postbox .title small {
  154. float: right;
  155. font-size: 50%;
  156. font-weight: normal;
  157. color: #808080;
  158. line-height: 3;
  159. }
  160. .pager {
  161. list-style: none;
  162. text-align: center;
  163. padding: 0px;
  164. }
  165. .pager li > a {
  166. display: inline-block;
  167. }
  168. .pager .previous a {
  169. float: left;
  170. }
  171. .pager .next a {
  172. float: right;
  173. }
  174. @media (max-width: 767px) {
  175. header {
  176. font-size: 85%;
  177. }
  178. header img {
  179. width: 100px;
  180. height: 100px;
  181. border: 2px solid #534741;
  182. border-radius: 50%;
  183. }
  184. header > h1 {
  185. display: block;
  186. float: none;
  187. line-height: 1.1;
  188. }
  189. .content {
  190. -webkit-text-size-adjust: none;
  191. font-size: 80%;
  192. }
  193. .title {
  194. line-height: 1;
  195. }
  196. .postbox {
  197. line-height: 1.5;
  198. font-weight: 300;
  199. }
  200. .postbox .title h1 small {
  201. float: none;
  202. line-height: 1;
  203. display: block;
  204. font-size: 70%;
  205. margin-top: 6px;
  206. }
  207. .postbox .title h1 {
  208. font-size: 1.4em;
  209. }
  210. }