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.

234 lines
3.3 KiB

6 years ago
6 years ago
4 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 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: #222;
  8. background: #ddd;
  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 #AAA;
  46. margin: 0;
  47. padding: 10px 20px;
  48. margin: 0 100px 25px 40px;
  49. background-color: #CCC;
  50. }
  51. .container {
  52. display: flex;
  53. flex-direction: column;
  54. width: 100%;
  55. max-width: 700px;
  56. align-items: center;
  57. }
  58. header {
  59. padding-top: 20px;
  60. padding-bottom: 40px;
  61. }
  62. footer.footer-container {
  63. align-self: left;
  64. padding-top: 120px;
  65. }
  66. div.site {
  67. align-items: center;
  68. width: 100%;
  69. }
  70. a {
  71. color: #222;
  72. }
  73. a:hover {
  74. color: #F28;
  75. }
  76. .main-menu a,
  77. .social-menu a {
  78. color: #ddd;
  79. }
  80. .main-menu-container {
  81. margin-top: 0em;
  82. }
  83. nav {
  84. width: 100%;
  85. }
  86. nav ul {
  87. padding: 0 0 100px 0;
  88. margin: 0;
  89. }
  90. nav ul li {
  91. font-size: 14px;
  92. display: inline-block;
  93. text-transform: lowercase;
  94. }
  95. nav ul li.logo a {
  96. text-decoration: none;
  97. }
  98. nav ul li a:hover {
  99. border-bottom: none;
  100. color: #999;
  101. }
  102. .title {
  103. margin-bottom: 0;
  104. text-transform: none;
  105. color: #ddd;
  106. padding-bottom: 0;
  107. }
  108. main {
  109. align-self: left;
  110. width: 100%;
  111. }
  112. div.meta {
  113. padding-right: 10px;
  114. }
  115. .list-item-header h3,
  116. header {
  117. padding: 0;
  118. margin: 0;
  119. }
  120. article li {
  121. list-style-type: square;
  122. }
  123. .list {
  124. display: -webkit-box;
  125. display: -ms-flexbox;
  126. display: flex;
  127. -webkit-box-orient: vertical;
  128. -webkit-box-direction: normal;
  129. -ms-flex-flow: column nowrap;
  130. flex-flow: column nowrap;
  131. margin: 0;
  132. padding: 0;
  133. list-style: none;
  134. }
  135. .list-item article {
  136. display: -webkit-box;
  137. display: -ms-flexbox;
  138. display: flex;
  139. -webkit-box-orient: horizontal;
  140. -webkit-box-direction: normal;
  141. -ms-flex-flow: row nowrap;
  142. flex-flow: row nowrap;
  143. -webkit-box-align: baseline;
  144. -ms-flex-align: baseline;
  145. align-items: baseline;
  146. }
  147. img {
  148. max-width: 100%;
  149. }
  150. pre {
  151. padding: 20px 10px !important;
  152. background: #CCC;
  153. border: 1px solid #888;
  154. border-radius: 4px;
  155. overflow-x: scroll;
  156. }
  157. pre>code {
  158. color: #333;
  159. padding: 0px;
  160. }
  161. code {
  162. color: #333;
  163. background: #CCC;
  164. padding: 2px 6px;
  165. border-radius: 4px;
  166. }
  167. code.prettyprint {
  168. background: #CCC;
  169. padding: 2px 8px;
  170. border-radius: 4px;
  171. }
  172. .mute {
  173. color: #999;
  174. }
  175. /*
  176. Hack Font
  177. */
  178. @font-face {
  179. font-family: 'Hack';
  180. src: url('fonts/hack-regular.woff2?sha=e700a30') format('woff2'), url('fonts/hack-regular.woff?sha=e700a30') format('woff');
  181. font-weight: 400;
  182. font-style: normal;
  183. }
  184. @font-face {
  185. font-family: 'Hack';
  186. src: url('fonts/hack-bold.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bold.woff?sha=e700a30') format('woff');
  187. font-weight: 700;
  188. font-style: normal;
  189. }
  190. @font-face {
  191. font-family: 'Hack';
  192. src: url('fonts/hack-italic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-italic.woff?sha=e700a30') format('woff');
  193. font-weight: 400;
  194. font-style: italic;
  195. }
  196. @font-face {
  197. font-family: 'Hack';
  198. src: url('fonts/hack-bolditalic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bolditalic.woff?sha=e700a30') format('woff');
  199. font-weight: 700;
  200. font-style: italic;
  201. }