From 7b84e0c84c07f322efe525af9e9663573d0dabf7 Mon Sep 17 00:00:00 2001 From: Michael Zhang Date: Sun, 5 May 2019 22:24:50 -0500 Subject: [PATCH] upd --- sass/main.scss | 29 +++++++++++++++++++++++++++++ static/resume.json | 2 +- templates/post.html | 2 +- 3 files changed, 31 insertions(+), 2 deletions(-) diff --git a/sass/main.scss b/sass/main.scss index 0e8021b..47554a0 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -123,6 +123,35 @@ header { } } +#content { + table { + border: 1px solid rgba(0, 0, 0, 0.5); + border-spacing: 0; + padding: 0; + + thead { + th { + background-color: rgba(0, 0, 0, 0.5); + padding: 8px 12px ; + color: white; + } + } + + tbody { + td { + padding: 8px 12px; + } + + tr:nth-child(even) { + background-color: rgba(255, 255, 255, 0.5); + } + tr:nth-child(odd) { + background-color: rgba(204, 204, 204, 0.5); + } + } + } +} + .toc { background-color: #f0f0f0; padding: 16px; diff --git a/static/resume.json b/static/resume.json index 33bc549..7bf9d29 100644 --- a/static/resume.json +++ b/static/resume.json @@ -3,7 +3,7 @@ "name": "Michael Zhang", "email": "iptq@protonmail.com", "phone": "240-813-8477", - "website": "https://mzhang.me", + "website": "https://iptq.io", "profiles": [ { "network": "Twitter", diff --git a/templates/post.html b/templates/post.html index 20595a9..af147c1 100644 --- a/templates/post.html +++ b/templates/post.html @@ -25,5 +25,5 @@ {% endif %} - {{ page.content | safe }} +
{{ page.content | safe }}
{% endblock %}