theme.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  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. hyphens: none;
  44. -moz-hyphens: none;
  45. }
  46. code {
  47. background: #FFFFE0;
  48. padding: 0px 0.2em;
  49. border-radius: 0.25em;
  50. }
  51. .code {
  52. padding: 0em 0.5em;
  53. border-radius: 0.25em;
  54. }
  55. .code pre {
  56. padding: 0.25em 0em;
  57. overflow-x: auto;
  58. }
  59. table {
  60. border-collapse: collapse;
  61. }
  62. td {
  63. padding: 0px 0.5em;
  64. }
  65. thead tr {
  66. font-weight: bold;
  67. border-bottom: solid 1px #808080;
  68. }
  69. .clearfix:after {
  70. content: " ";
  71. display: block;
  72. height: 0;
  73. clear: both;
  74. }
  75. header {
  76. background: #F0E5D8;
  77. text-align: center;
  78. padding: 20px 0;
  79. }
  80. /* TODO: Fix this shit. */
  81. header h1 {
  82. font-size: 1.75em;
  83. margin: 0.125em auto 0 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. .nav {
  105. padding: 0px;
  106. margin: 6px 0 0 0px;
  107. }
  108. .nav li {
  109. list-style: none;
  110. margin: 0.5em 0.2em;
  111. display: inline;
  112. text-transform: lowercase;
  113. font-weight: 300;
  114. }
  115. .nav .twitter {
  116. font-size: 1.25em;
  117. font-weight: 100;
  118. }
  119. .container {
  120. max-width: 840px;
  121. margin: 0 auto;
  122. }
  123. .content {
  124. padding: 0 12px;
  125. }
  126. footer {
  127. text-align: center;
  128. }
  129. .postbox {
  130. margin-top: 2em;
  131. font-weight: 300;
  132. font-size: 1.2em;
  133. line-height: 1.8;
  134. }
  135. .postbox img {
  136. max-width: 100%;
  137. }
  138. .postbox .title h1 {
  139. font-size: 1.9em;
  140. line-height: 1.4;
  141. }
  142. .postbox .title h1 a {
  143. color: #534741;
  144. border-bottom: 0px solid transparent;
  145. -webkit-transition: all 0.2s;
  146. -moz-transition: all 0.2s;
  147. -ms-transition: all 0.2s;
  148. transition: all 0.2s;
  149. padding-bottom: 12px;
  150. }
  151. .postbox .title h1 a:hover {
  152. border-bottom: 2px solid #534741;
  153. padding-bottom: 0;
  154. }
  155. .postbox .title h1 small {
  156. float: right;
  157. font-size: 50%;
  158. font-weight: normal;
  159. line-height: 3;
  160. }
  161. .postbox .title small {
  162. opacity: 0.75;
  163. }
  164. .pager {
  165. list-style: none;
  166. text-align: center;
  167. padding: 0px;
  168. font-size: 1.5em;
  169. }
  170. .pager li > a {
  171. display: inline-block;
  172. color: #534741;
  173. }
  174. .pager .previous a {
  175. float: left;
  176. }
  177. .pager .next a {
  178. float: right;
  179. }
  180. @media (max-width: 767px) {
  181. header {
  182. font-size: 85%;
  183. }
  184. header img {
  185. width: 100px;
  186. height: 100px;
  187. border: 2px solid #534741;
  188. border-radius: 50%;
  189. }
  190. header > h1 {
  191. display: block;
  192. float: none;
  193. line-height: 1.1;
  194. }
  195. .content {
  196. -webkit-text-size-adjust: none;
  197. font-size: 80%;
  198. }
  199. .title {
  200. line-height: 1;
  201. }
  202. .postbox {
  203. line-height: 1.5;
  204. font-weight: 300;
  205. }
  206. .postbox .title h1 small {
  207. float: none;
  208. line-height: 1;
  209. display: block;
  210. font-size: 70%;
  211. margin-top: 6px;
  212. }
  213. .postbox .title h1 {
  214. font-size: 1.4em;
  215. }
  216. }
  217. header {
  218. -webkit-perspective: 800;
  219. -moz-perspective: 800;
  220. -ms-perspective: 800;
  221. perspective: 800;
  222. }
  223. .thomas {
  224. position: relative;
  225. display: inline-block;
  226. -webkit-transform-style: preserve-3d;
  227. -moz-transform-style: preserve-3d;
  228. -ms-transform-style: preserve-3d;
  229. transform-style: preserve-3d;
  230. -webkit-transition: all 0.4s;
  231. -moz-transition: all 0.4s;
  232. -ms-transition: all 0.4s;
  233. transition: all 0.4s;
  234. }
  235. .thomas.whoa {
  236. -webkit-transform: rotateY(180deg);
  237. -moz-transform: rotateY(180deg);
  238. -ms-transform: rotateY(180deg);
  239. transform: rotateY(180deg);
  240. }
  241. .thomas img:nth-child(2) {
  242. position: relative;
  243. }
  244. .thomas img:nth-child(1) {
  245. position: absolute;
  246. top: 0;
  247. left: 0;
  248. -webkit-transform: rotateY(180deg) translateZ(0.1px);
  249. -moz-transform: rotateY(180deg) translateZ(0.1px);
  250. -ms-transform: rotateY(180deg) translateZ(0.1px);
  251. transform: rotateY(180deg) translateZ(0.1px);
  252. -webkit-backface-visibility: hidden;
  253. backface-visibility: hidden;
  254. }