From 4151a170e991fa73b8b52111bf88508a99c57da1 Mon Sep 17 00:00:00 2001
From: Zhiming Wang <zmwangx@gmail.com>
Date: Sun, 24 Jul 2016 19:54:45 +0800
Subject: Move CSS specific to index.html and pub/index.html...

from theme.css into their respective Markdown source files, now that we
support per-page custom CSS.
---
 source/css/theme.css | 24 ------------------------
 source/index.md      | 16 ++++++++++++++++
 source/pub/index.md  |  6 ++++++
 3 files changed, 22 insertions(+), 24 deletions(-)

diff --git a/source/css/theme.css b/source/css/theme.css
index 5c3dd684..3a77d7f3 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -269,27 +269,3 @@ noscript a {
     font-family: fontello;
     font-size: 95%;
 }
-
-.hidden-link {
-    color: inherit;
-    cursor: text;
-    text-decoration: none;
-}
-
-/* blog index */
-
-.blog-index-year-title {
-    text-align: left;
-}
-
-.blog-index-yearly-index {
-    margin-left: 1em;
-}
-
-.blog-index td {
-    vertical-align: top;
-}
-
-.blog-index-post-date {
-    width: 5em;
-}
diff --git a/source/index.md b/source/index.md
index 5ef23e04..0aa7e150 100644
--- a/source/index.md
+++ b/source/index.md
@@ -1,5 +1,21 @@
 ---
 title: dl? cmplnts?
+custom-css: "
+    .blog-index-year-title {
+        text-align: left;
+    }
+
+    .blog-index-yearly-index {
+        margin-left: 1em;
+    }
+
+    .blog-index td {
+        vertical-align: top;
+    }
+
+    .blog-index-post-date {
+        width: 5em;
+    }"
 ---
 
 My name is Zhiming Wang (Simplified Chinese: ηŽ‹δΉ‹ι“­), and I am a Ph.D. student in high energy theory at Princeton Physics (first year as of September 2016). Previously I earned my bachelor's degree in mathematics and physics at Stanford. I enjoy coding in my spare time, for fun and profit β€” I hate repetitive tasks, so computer programs help me automate and get things done quickly.
diff --git a/source/pub/index.md b/source/pub/index.md
index aed6ab42..eb4a24a9 100644
--- a/source/pub/index.md
+++ b/source/pub/index.md
@@ -1,5 +1,11 @@
 ---
 title: "Publications"
+custom-css: "
+    .hidden-link {
+        color: inherit;
+        cursor: text;
+        text-decoration: none;
+    }"
 ---
 
 No content <a class="hidden-link" href="autobiography-up-to-college.html">at</a> <a class="hidden-link" href="15-18.html">the</a> <a class="hidden-link" href="random-thoughts.html">moment</a>.
-- 
cgit v1.2.1