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.

255 lines
3.6 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
6 years ago
4 years ago
6 years ago
6 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. h1 {
  38. font-size: 1.5rem;
  39. }
  40. h2 {
  41. font-size: 1.4rem;
  42. }
  43. h3 {
  44. font-size: 1.1rem;
  45. }
  46. .entry-content h1 {
  47. display: none;
  48. }
  49. #disqus_thread {
  50. margin-top: 100px;
  51. padding-top: 1em;
  52. }
  53. blockquote {
  54. border-left: 5px solid #AAA;
  55. margin: 0;
  56. padding: 10px 20px;
  57. margin: 0 100px 25px 40px;
  58. background-color: #CCC;
  59. }
  60. .container {
  61. display: flex;
  62. flex-direction: column;
  63. width: 100%;
  64. max-width: 700px;
  65. align-items: center;
  66. }
  67. header {
  68. padding-top: 20px;
  69. padding-bottom: 40px;
  70. }
  71. footer.footer-container {
  72. align-self: left;
  73. padding-top: 120px;
  74. }
  75. div.site {
  76. align-items: center;
  77. width: 100%;
  78. }
  79. a {
  80. color: #222;
  81. }
  82. a:hover {
  83. color: #F28;
  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. width: 100%;
  120. }
  121. div.meta {
  122. padding-right: 10px;
  123. width: 100px;
  124. }
  125. header.list-item-header {
  126. overflow: hidden;
  127. white-space: nowrap;
  128. width: calc(100% - 100px);
  129. }
  130. .list-item-header h3,
  131. header {
  132. padding: 0;
  133. margin: 0;
  134. }
  135. article li {
  136. list-style-type: square;
  137. }
  138. .list {
  139. display: -webkit-box;
  140. display: -ms-flexbox;
  141. display: flex;
  142. -webkit-box-orient: vertical;
  143. -webkit-box-direction: normal;
  144. -ms-flex-flow: column nowrap;
  145. flex-flow: column nowrap;
  146. margin: 0;
  147. padding: 0;
  148. list-style: none;
  149. }
  150. .list-item article {
  151. display: -webkit-box;
  152. display: -ms-flexbox;
  153. display: flex;
  154. -webkit-box-orient: horizontal;
  155. -webkit-box-direction: normal;
  156. -ms-flex-flow: row nowrap;
  157. flex-flow: row nowrap;
  158. -webkit-box-align: baseline;
  159. -ms-flex-align: baseline;
  160. align-items: baseline;
  161. }
  162. img {
  163. max-width: 100%;
  164. }
  165. pre {
  166. padding: 20px 10px !important;
  167. background: #CCC;
  168. border: 1px solid #888;
  169. border-radius: 4px;
  170. overflow-x: scroll;
  171. }
  172. pre>code {
  173. color: #333;
  174. padding: 0px;
  175. }
  176. code {
  177. color: #333;
  178. background: #CCC;
  179. padding: 2px 6px;
  180. border-radius: 4px;
  181. }
  182. code.prettyprint {
  183. background: #CCC;
  184. padding: 2px 8px;
  185. border-radius: 4px;
  186. }
  187. .mute {
  188. color: #999;
  189. }
  190. .jBox-image-label.active {
  191. background-color: #3883FA !important;
  192. }
  193. /*
  194. Hack Font
  195. */
  196. /*
  197. @font-face {
  198. font-family: 'Hack';
  199. src: url('fonts/hack-regular.woff2?sha=e700a30') format('woff2'), url('fonts/hack-regular.woff?sha=e700a30') format('woff');
  200. font-weight: 400;
  201. font-style: normal;
  202. }
  203. @font-face {
  204. font-family: 'Hack';
  205. src: url('fonts/hack-bold.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bold.woff?sha=e700a30') format('woff');
  206. font-weight: 700;
  207. font-style: normal;
  208. }
  209. @font-face {
  210. font-family: 'Hack';
  211. src: url('fonts/hack-italic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-italic.woff?sha=e700a30') format('woff');
  212. font-weight: 400;
  213. font-style: italic;
  214. }
  215. @font-face {
  216. font-family: 'Hack';
  217. src: url('fonts/hack-bolditalic.woff2?sha=e700a30') format('woff2'), url('fonts/hack-bolditalic.woff?sha=e700a30') format('woff');
  218. font-weight: 700;
  219. font-style: italic;
  220. }
  221. */