theme.css 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  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: 90%;
  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. .highlight code {
  52. background: none;
  53. padding: 0;
  54. }
  55. .highlight pre {
  56. padding: 0.25em 0.5em;
  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. #menu ul {
  105. padding: 0px;
  106. margin: 6px 0 0 0px;
  107. }
  108. #menu li {
  109. list-style: none;
  110. margin: 0.5em 0.2em;
  111. display: inline;
  112. text-transform: lowercase;
  113. font-weight: 300;
  114. }
  115. #container {
  116. max-width: 840px;
  117. margin: 0 auto;
  118. }
  119. #content {
  120. padding: 0 12px;
  121. }
  122. footer {
  123. text-align: center;
  124. }
  125. article {
  126. margin-top: 2em;
  127. font-weight: 300;
  128. font-size: 1.2em;
  129. line-height: 1.8;
  130. }
  131. article img {
  132. max-width: 100%;
  133. }
  134. article .entry-title {
  135. font-size: 1.9em;
  136. line-height: 1.4;
  137. }
  138. article .entry-title a {
  139. color: #534741;
  140. border-bottom: 0px solid transparent;
  141. -webkit-transition: all 0.2s;
  142. -moz-transition: all 0.2s;
  143. -ms-transition: all 0.2s;
  144. transition: all 0.2s;
  145. padding-bottom: 12px;
  146. }
  147. article .entry-title a:hover {
  148. border-bottom: 2px solid #534741;
  149. padding-bottom: 0;
  150. }
  151. article .entry-title .dateline {
  152. float: right;
  153. font-size: 50%;
  154. font-weight: normal;
  155. line-height: 3;
  156. }
  157. article .entry-title .dateline {
  158. opacity: 0.75;
  159. }
  160. .pager {
  161. list-style: none;
  162. text-align: center;
  163. padding: 0px;
  164. font-size: 1.5em;
  165. }
  166. .pager li > a {
  167. display: inline-block;
  168. color: #534741;
  169. }
  170. .pager .previous a {
  171. float: left;
  172. }
  173. .pager .next a {
  174. float: right;
  175. }
  176. @media (max-width: 767px) {
  177. header {
  178. font-size: 85%;
  179. }
  180. header img {
  181. width: 100px;
  182. height: 100px;
  183. border: 2px solid #534741;
  184. border-radius: 50%;
  185. }
  186. header > h1 {
  187. display: block;
  188. float: none;
  189. line-height: 1.1;
  190. }
  191. #content {
  192. -webkit-text-size-adjust: none;
  193. font-size: 80%;
  194. }
  195. .entry-title {
  196. line-height: 1;
  197. }
  198. article {
  199. line-height: 1.5;
  200. font-weight: 300;
  201. }
  202. article .entry-title .dateline {
  203. float: none;
  204. line-height: 1;
  205. display: block;
  206. font-size: 70%;
  207. margin-top: 6px;
  208. }
  209. article .entry-title {
  210. font-size: 1.4em;
  211. }
  212. }
  213. header {
  214. -webkit-perspective: 800;
  215. -moz-perspective: 800;
  216. -ms-perspective: 800;
  217. perspective: 800;
  218. }
  219. #thomas {
  220. position: relative;
  221. display: inline-block;
  222. -webkit-transform-style: preserve-3d;
  223. -moz-transform-style: preserve-3d;
  224. -ms-transform-style: preserve-3d;
  225. transform-style: preserve-3d;
  226. -webkit-transition: all 0.4s;
  227. -moz-transition: all 0.4s;
  228. -ms-transition: all 0.4s;
  229. transition: all 0.4s;
  230. }
  231. #thomas.whoa {
  232. -webkit-transform: rotateY(180deg);
  233. -moz-transform: rotateY(180deg);
  234. -ms-transform: rotateY(180deg);
  235. transform: rotateY(180deg);
  236. }
  237. #thomas img:nth-child(2) {
  238. position: relative;
  239. -webkit-backface-visibility: hidden;
  240. backface-visibility: hidden;
  241. }
  242. #thomas img:nth-child(1) {
  243. position: absolute;
  244. top: 0;
  245. left: 0;
  246. -webkit-transform: rotateY(180deg) translateZ(0.1px);
  247. -moz-transform: rotateY(180deg) translateZ(0.1px);
  248. -ms-transform: rotateY(180deg) translateZ(0.1px);
  249. transform: rotateY(180deg) translateZ(0.1px);
  250. -webkit-backface-visibility: hidden;
  251. backface-visibility: hidden;
  252. }
  253. .sr-only {
  254. position: absolute;
  255. width: 1px;
  256. height: 1px;
  257. padding: 0;
  258. margin: -1px;
  259. overflow: hidden;
  260. clip: rect(0, 0, 0, 0);
  261. border: 0;
  262. }
  263. .sr-only-focusable:active,
  264. .sr-only-focusable:focus {
  265. position: static;
  266. width: auto;
  267. height: auto;
  268. margin: 0;
  269. overflow: visible;
  270. clip: auto;
  271. }
  272. h1 {
  273. font-size: 36px;
  274. }
  275. h1 small {
  276. font-size: 16px;
  277. display: block;
  278. margin-top: 8px;
  279. }
  280. strong {
  281. font-weight: bold;
  282. }
  283. #isso-thread {
  284. font-size: 80%;
  285. }