ghostwriter.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413
  1. /* ============================================================ */
  2. /* Base */
  3. /* ============================================================ */
  4. html, body {
  5. height: 100%;
  6. }
  7. body {
  8. background: #fefefe;
  9. color: #424242;
  10. font-family: "Open Sans", arial, sans-serif;
  11. font-size: 18px;
  12. }
  13. h1, h2, h3, h4, h5, h6 {
  14. margin-bottom: 33px;
  15. text-transform: none;
  16. }
  17. h1 {
  18. font-size: 26px;
  19. }
  20. h2 {
  21. font-size: 24px;
  22. }
  23. h3 {
  24. font-size: 20px;
  25. margin-bottom: 20px;
  26. }
  27. h4 {
  28. font-size: 18px;
  29. margin-bottom: 18px;
  30. }
  31. h5 {
  32. font-size: 16px;
  33. margin-bottom: 15px;
  34. }
  35. h6 {
  36. font-size: 14px;
  37. margin-bottom: 12px;
  38. }
  39. p {
  40. line-height: 1.8;
  41. margin: 0 0 30px;
  42. }
  43. a {
  44. color: #f03838;
  45. text-decoration: none;
  46. }
  47. ul, ol {
  48. list-style-position: inside;
  49. line-height: 1.8;
  50. margin: 0 0 40px;
  51. padding: 0;
  52. }
  53. ul li, ol li {
  54. margin: 0 0 10px;
  55. }
  56. blockquote {
  57. border-left: 1px dotted #303030;
  58. margin: 40px 0;
  59. padding: 5px 30px;
  60. }
  61. blockquote p {
  62. color: #AEADAD;
  63. display: block;
  64. font-style: italic;
  65. margin: 0;
  66. width: 100%;
  67. }
  68. img {
  69. display: block;
  70. margin: 40px 0;
  71. width: auto;
  72. max-width: 100%;
  73. }
  74. pre {
  75. background: #F1F0EA;
  76. border: 1px solid #DDDBCC;
  77. border-radius: 3px;
  78. margin: 0 0 40px;
  79. padding: 15px 20px;
  80. }
  81. ::selection {
  82. background: #FFF5B8;
  83. color: #000;
  84. display: block;
  85. }
  86. ::-moz-selection {
  87. background: #FFF5B8;
  88. color: #000;
  89. display: block;
  90. }
  91. /* ============================================================ */
  92. /* General Appearance */
  93. /* ============================================================ */
  94. .container {
  95. margin: 0 auto;
  96. position: relative;
  97. width: 100%;
  98. max-width: 889px;
  99. }
  100. #wrapper {
  101. height: auto;
  102. min-height: 100%;
  103. /* This must be the same as the height of the footer */
  104. margin-bottom: -265px;
  105. }
  106. #wrapper:after {
  107. content: "";
  108. display: block;
  109. /* This must be the same as the height of the footer */
  110. height: 265px;
  111. }
  112. .button {
  113. background: #303030;
  114. border: none;
  115. border-radius: 3px;
  116. color: #FEFEFE;
  117. font-size: 14px;
  118. font-weight: 700;
  119. padding: 10px 12px;
  120. text-transform: uppercase;
  121. }
  122. .button:hover {
  123. background: #f03838;
  124. }
  125. .button-square {
  126. background: #f03838;
  127. float: left;
  128. margin: 0 0 0 10px;
  129. padding: 8px;
  130. }
  131. .button-square:hover {
  132. background: #303030;
  133. }
  134. /* ============================================================ */
  135. /* Site Header */
  136. /* ============================================================ */
  137. .site-header {
  138. padding: 100px 0 35px;
  139. overflow: auto;
  140. text-align: center;
  141. text-transform: uppercase;
  142. }
  143. .site-title-wrapper {
  144. display: table;
  145. margin: 0 auto;
  146. }
  147. .site-title {
  148. float: left;
  149. font-size: 14px;
  150. font-weight: 600;
  151. margin: 0;
  152. text-transform: uppercase;
  153. }
  154. .site-title a {
  155. float: left;
  156. background: #f03838;
  157. color: #FEFEFE;
  158. padding: 5px 10px 6px;
  159. }
  160. .site-title a:hover {
  161. background: #303030;
  162. }
  163. /* ============================================================ */
  164. /* Post */
  165. /* ============================================================ */
  166. .post {
  167. margin: 0 40px;
  168. }
  169. .post-header {
  170. border-bottom: 6px solid #303030;
  171. margin: 0 0 50px;
  172. padding: 0 0 80px;
  173. text-align: center;
  174. text-transform: uppercase;
  175. }
  176. .post-title {
  177. font-size: 52px;
  178. font-weight: 700;
  179. margin: 15px 0;
  180. text-transform: uppercase;
  181. }
  182. .post-date {
  183. color: #AEADAD;
  184. font-size: 14px;
  185. font-weight: 600;
  186. line-height: 1;
  187. margin: 25px 0 0;
  188. }
  189. .post-date:after {
  190. border-bottom: 1px dotted #303030;
  191. content: "";
  192. display: block;
  193. margin: 40px auto 0;
  194. width: 100px;
  195. }
  196. .post-content {
  197. margin: 0 0 92px;
  198. }
  199. .post-content a:hover {
  200. border-bottom: 1px dotted #f03838;
  201. padding: 0 0 2px;
  202. }
  203. .post-tags {
  204. color: #AEADAD;
  205. font-size: 14px;
  206. }
  207. .post-tags span {
  208. font-weight: 600;
  209. }
  210. .post-navigation {
  211. display: table;
  212. margin: 70px auto 100px;
  213. }
  214. .newer-posts,
  215. .older-posts {
  216. float: left;
  217. background: #f03838;
  218. color: #FEFEFE;
  219. font-size: 14px;
  220. font-weight: 600;
  221. margin: 0 5px;
  222. padding: 5px 10px 6px;
  223. text-transform: uppercase;
  224. }
  225. .newer-posts:hover,
  226. .older-posts:hover {
  227. background: #303030;
  228. }
  229. .page-number {
  230. display: none;
  231. }
  232. /* ============================================================ */
  233. /* Post Index */
  234. /* ============================================================ */
  235. .post-list {
  236. border-top: 6px solid #303030;
  237. list-style: none;
  238. margin: 80px 40px 0;
  239. padding: 35px 0 0;
  240. }
  241. .post-stub {
  242. border-bottom: 1px dotted #303030;
  243. margin: 0;
  244. }
  245. .post-stub:first-child {
  246. padding-top: 0;
  247. }
  248. .post-stub a {
  249. -webkit-transition: all 0.2s ease-in-out;
  250. -moz-transition: all 0.2s ease-in-out;
  251. transition: all 0.2s ease-in-out;
  252. display: block;
  253. color: #424242;
  254. padding: 20px 5px;
  255. }
  256. .post-stub a:hover {
  257. background: #FCF5F5;
  258. color: #f03838;
  259. padding: 20px 12px;
  260. }
  261. .post-stub-title {
  262. display: inline-block;
  263. margin: 0;
  264. text-transform: none;
  265. }
  266. .post-stub-date {
  267. display: inline-block;
  268. }
  269. .post-stub-date:before {
  270. content: "/ ";
  271. }
  272. .next-posts-link a,
  273. .previous-posts-link a {
  274. display: block;
  275. padding: 8px 11px;
  276. }
  277. /* ============================================================ */
  278. /* Icons */
  279. /* ============================================================ */
  280. .icon {
  281. background-size: 14px 38px;
  282. display: block;
  283. height: 38px;
  284. width: 14px;
  285. }
  286. .icon-menu {
  287. background-position: 0 0;
  288. height: 14px;
  289. width: 14px;
  290. }
  291. .icon-up {
  292. background-position: 0 -15px;
  293. height: 8px;
  294. width: 14px;
  295. }
  296. .icon-rss {
  297. background-position: 0 -24px;
  298. height: 14px;
  299. width: 14px;
  300. }
  301. /* ============================================================ */
  302. /* Footer */
  303. /* ============================================================ */
  304. .footer {
  305. background: #303030;
  306. color: #D3D3D3;
  307. height: 265px;
  308. overflow: auto;
  309. }
  310. .footer .site-title-wrapper {
  311. margin: 80px auto 35px;
  312. }
  313. .footer .site-title a:hover,
  314. .footer .button-square:hover {
  315. background: #121212;
  316. }
  317. .button-jump-top {
  318. padding-top: 11px;
  319. padding-bottom: 11px;
  320. }
  321. .footer-copyright {
  322. color: #656565;
  323. font-size: 14px;
  324. margin: 0;
  325. text-align: center;
  326. text-transform: uppercase;
  327. }
  328. .footer-copyright a {
  329. color: #656565;
  330. font-weight: 700;
  331. }
  332. .footer-copyright a:hover {
  333. color: #FEFEFE;
  334. }
  335. /* ============================================================ */
  336. /* NProgress */
  337. /* ============================================================ */
  338. #nprogress .bar {
  339. background: #f03838;
  340. }
  341. #nprogress .peg {
  342. box-shadow: 0 0 10px #f03838, 0 0 5px #f03838;
  343. }
  344. #nprogress .spinner-icon {
  345. border-top-color: #f03838;
  346. border-left-color: #f03838;
  347. }
  348. /* ============================================================ */
  349. /* Media Queries */
  350. /* ============================================================ */
  351. @media only screen and (max-width: 600px) {
  352. .post-stub-title {
  353. display: block;
  354. }
  355. .post-stub-date:before {
  356. content: "";
  357. display: block;
  358. }
  359. }
  360. @media only screen and (max-width: 400px) {
  361. .post-title {
  362. font-size: 32px;
  363. }
  364. }