My personal website https://leviolson.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

253 lines
3.4 KiB

6 years ago
4 years ago
6 years ago
6 years ago
6 years ago
4 years ago
4 years ago
6 years ago
  1. html {
  2. height: 100%;
  3. }
  4. body {
  5. font-family: Hack, Menlo, Monaco, Ubuntu Mono, monospace;
  6. font-size: 14px;
  7. color: #ddd;
  8. background: #222;
  9. padding: 20px;
  10. margin: 0;
  11. display: flex;
  12. justify-content: center;
  13. line-height: 1.5;
  14. height: 100%;
  15. }
  16. h1,
  17. h2,
  18. h3,
  19. h4,
  20. h5,
  21. h6,
  22. p,
  23. code,
  24. kbd,
  25. tt,
  26. var {
  27. font-size: 14px;
  28. }
  29. article h1,
  30. h2,
  31. h3,
  32. h4,
  33. h5,
  34. h6 {
  35. padding: 20px 0 20px 0
  36. }
  37. .entry-content h1 {
  38. display: none;
  39. }
  40. #disqus_thread {
  41. margin-top: 100px;
  42. padding-top: 1em;
  43. }
  44. blockquote {
  45. border-left: 5px solid #ddd;
  46. margin: 0;
  47. padding: 0 20px 0 20px;
  48. margin: 0 0 40px 0;
  49. }
  50. .container {
  51. display: flex;
  52. flex-direction: column;
  53. width: 100%;
  54. max-width: 700px;
  55. align-items: center;
  56. }
  57. header {
  58. padding-top: 20px;
  59. padding-bottom: 40px;
  60. }
  61. footer.footer-container {
  62. align-self: left;
  63. padding-top: 120px;
  64. }
  65. div.site {
  66. align-items: center;
  67. width: 100%;
  68. }
  69. a {
  70. color: #fff;
  71. }
  72. a:hover {
  73. color: #999;
  74. }
  75. a:visited {
  76. color: #eee;
  77. }
  78. code {
  79. color: #ddd;
  80. background: #333;
  81. }
  82. pre {
  83. background: #333;
  84. }
  85. .main-menu a,
  86. .social-menu a {
  87. color: #ddd;
  88. }
  89. .main-menu-container {
  90. margin-top: 0em;
  91. }
  92. nav {
  93. width: 100%;
  94. }
  95. nav ul {
  96. padding: 0 0 100px 0;
  97. margin: 0;
  98. }
  99. nav ul li {
  100. font-size: 14px;
  101. display: inline-block;
  102. text-transform: lowercase;
  103. }
  104. nav ul li.logo a {
  105. text-decoration: none;
  106. }
  107. nav ul li a:hover {
  108. border-bottom: none;
  109. color: #999;
  110. }
  111. .title {
  112. margin-bottom: 0;
  113. text-transform: none;
  114. color: #ddd;
  115. padding-bottom: 0;
  116. }
  117. main {
  118. align-self: left;
  119. }
  120. div.meta {
  121. padding-right: 10px;
  122. }
  123. .list-item-header h3,
  124. header {
  125. padding: 0;
  126. margin: 0;
  127. }
  128. article li {
  129. list-style-type: square;
  130. }
  131. .list {
  132. display: -webkit-box;
  133. display: -ms-flexbox;
  134. display: flex;
  135. -webkit-box-orient: vertical;
  136. -webkit-box-direction: normal;
  137. -ms-flex-flow: column nowrap;
  138. flex-flow: column nowrap;
  139. margin: 0;
  140. padding: 0;
  141. list-style: none;
  142. }
  143. .list-item article {
  144. display: -webkit-box;
  145. display: -ms-flexbox;
  146. display: flex;
  147. -webkit-box-orient: horizontal;
  148. -webkit-box-direction: normal;
  149. -ms-flex-flow: row nowrap;
  150. flex-flow: row nowrap;
  151. -webkit-box-align: baseline;
  152. -ms-flex-align: baseline;
  153. align-items: baseline;
  154. }
  155. code {
  156. color: lightcoral;
  157. }
  158. pre>code {
  159. color: #ddd;
  160. }
  161. pre {
  162. padding: 20px 10px !important;
  163. background: #CCC;
  164. }
  165. pre code {
  166. background: #CCC;
  167. }
  168. pre>code {
  169. color: #333;
  170. }
  171. pre.prettyprint {
  172. border-radius: 4px;
  173. }
  174. code.prettyprint {
  175. background: #CCC;
  176. padding: 2px 8px;
  177. border-radius: 4px;
  178. }
  179. code {
  180. color: #333;
  181. background: #CCC;
  182. padding: 2px 6px;
  183. border-radius: 4px;
  184. }
  185. .mute {
  186. color: #999;
  187. }
  188. /*
  189. Hack Font
  190. */
  191. @font-face {
  192. font-family: 'Hack';
  193. src: url('fonts/hack-regular.woff2?sha=e700a30') format('woff2'), url('fonts/hack-regular.woff?sha=e700a30') format('woff');
  194. font-weight: 400;
  195. font-style: normal;
  196. }
  197. @font-face {
  198. font-family: 'Hack';
  199. src: url('fonts/hack-bold.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bold.woff?sha=e700a30') format('woff');
  200. font-weight: 700;
  201. font-style: normal;
  202. }
  203. @font-face {
  204. font-family: 'Hack';
  205. src: url('fonts/hack-italic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-italic.woff?sha=e700a30') format('woff');
  206. font-weight: 400;
  207. font-style: italic;
  208. }
  209. @font-face {
  210. font-family: 'Hack';
  211. src: url('fonts/hack-bolditalic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bolditalic.woff?sha=e700a30') format('woff');
  212. font-weight: 700;
  213. font-style: italic;
  214. }