diff --git a/site/content/blog/2018-04-18-version-2.md b/site/content/blog/2018-04-18-version-2.md
index 1fcd6a131c..75239c1023 100644
--- a/site/content/blog/2018-04-18-version-2.md
+++ b/site/content/blog/2018-04-18-version-2.md
@@ -21,6 +21,11 @@ Each of these items is described in more depth below. If you get stuck, ask for
list-style: none;
}
+ li {
+ position: relative;
+ list-style: none;
+ }
+
li input {
position: absolute;
left: -2.5em;
diff --git a/site/src/components/top-nav.html b/site/src/components/top-nav.html
index 7e0a870f3d..2f685a1366 100644
--- a/site/src/components/top-nav.html
+++ b/site/src/components/top-nav.html
@@ -27,45 +27,6 @@
}
-
+ {post.metadata.author} {post.metadata.dateString}
+
{post.metadata.title}
{post.metadata.description}
- {post.metadata.author} {post.metadata.dateString}
-
{@html post.html}
@@ -29,8 +29,8 @@
.byline {
font-size: 0.8em;
- border-top: 1px solid #eee;
- padding: 0.5em 0;
+ border-bottom: 1px solid #eee;
+ padding: 0;
}
.post h1 {
@@ -39,9 +39,7 @@
}
.post :global(h2) {
- margin-top: 16rem;
- padding: 4rem 1.6rem 5.6rem;
- border-top: var(--border-w) solid var(--second);
+ margin: 2em 0 0.5em 0;
color: var(--second);
}
@@ -63,7 +61,9 @@
}
.standfirst {
- font-size: var(--h2);
+ font-size: var(--h4);
+ color: var(--second);
+ margin: 0 0 2em 0;
}
.post :global(aside) {
diff --git a/site/src/routes/blog/index.html b/site/src/routes/blog/index.html
index 95d0daae4e..c21a3d823d 100644
--- a/site/src/routes/blog/index.html
+++ b/site/src/routes/blog/index.html
@@ -13,78 +13,110 @@
+
-->
\ No newline at end of file
diff --git a/site/static/prism.css b/site/static/prism.css
new file mode 100644
index 0000000000..2cb2978996
--- /dev/null
+++ b/site/static/prism.css
@@ -0,0 +1,95 @@
+/*
+-----------------------------------------------
+ syntax-highlighting [prism]
+-----------------------------------------------
+*/
+
+/* colors --------------------------------- */
+pre[class*='language-'] {
+ --background: var(--back-light);
+ --base: #9b978b;
+ --comment: #afbfcf;
+ --keyword: #5ba3d3;
+ --function: #db794b;
+ --string: #b69b61;
+ --number: #86af75;
+ --tags: var(--function);
+ --important: var(--string);
+}
+
+/* type-base ------------------------------ */
+code[class*='language-'],
+pre[class*='language-'] {
+ background: none;
+ text-align: left;
+ white-space: pre;
+ word-spacing: normal;
+ word-break: normal;
+ word-wrap: normal;
+ font: 300 var(--code-fs)/1.7 var(--font-mono);
+ color: var(--base);
+ tab-size: 2;
+ -webkit-hyphens: none;
+ hyphens: none;
+}
+
+/* code-blocks ---------------------------- */
+pre[class*='language-'] {
+ overflow: auto;
+ padding: 3.2rem 4rem;
+ margin: .8rem 0 2.4rem;
+ max-width: var(--code-w);
+ border-radius: var(--border-r);
+ box-shadow: 0.1rem 0.1rem 0.3rem rgba(68, 68, 68, 0.25) inset;
+}
+
+:not(pre) > code[class*='language-'],
+pre[class*='language-'] {
+ background: var(--background);
+}
+
+/* tokens --------------------------------- */
+.token.comment,
+.token.prolog,
+.token.doctype,
+.token.cdata { color: var(--comment) }
+
+.token.punctuation { color: var(--base) }
+
+.token.property,
+.token.tag,
+.token.constant,
+.token.symbol,
+.token.deleted { color: var(--tags) }
+
+.token.boolean,
+.token.number { color: var(--number) }
+
+.token.selector,
+.token.attr-name,
+.token.string,
+.token.char,
+.token.builtin,
+.token.inserted { color: var(--string) }
+
+.token.operator,
+.token.entity,
+.token.url,
+.language-css .token.string,
+.style .token.string,
+.token.variable { color: var(--base) }
+
+.token.atrule,
+.token.attr-value,
+.token.function,
+.token.class-name { color: var(--function) }
+
+.token.keyword { color: var(--keyword) }
+
+.token.regex,
+.token.important { color: var(--important) }
+
+.token.important,
+.token.bold { font-weight: bold }
+.token.italic { font-style: italic }
+.token.entity { cursor: help }
\ No newline at end of file