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.

216 lines
3.0 KiB

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