diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2016-07-24 19:54:45 +0800 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2016-07-24 19:54:45 +0800 |
commit | 4151a170e991fa73b8b52111bf88508a99c57da1 (patch) | |
tree | 77d70d9ca5176c7654695bc211562ff514a4d5c9 /source | |
parent | a6ef3857971f57d1a4a2e3fedf505e11547187b2 (diff) | |
download | my_new_personal_website-4151a170e991fa73b8b52111bf88508a99c57da1.tar.xz my_new_personal_website-4151a170e991fa73b8b52111bf88508a99c57da1.zip |
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.
Diffstat (limited to 'source')
-rw-r--r-- | source/css/theme.css | 24 | ||||
-rw-r--r-- | source/index.md | 16 | ||||
-rw-r--r-- | 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>. |