diff options
author | Wang Chucheng <ccwangchn@gmail.com> | 2020-05-16 13:41:33 +0300 |
---|---|---|
committer | Wang Chucheng <ccwangchn@gmail.com> | 2020-05-16 13:41:33 +0300 |
commit | 5c64e901e1f0b6443968f95a07fb55a54ea2c226 (patch) | |
tree | f662162aee773ef4b3840ceeeffcb7126fbd278e /assets/css | |
parent | e06460ac9d0802f98d7370598c893d97e5080729 (diff) |
style: add tag and commento to single post page
Diffstat (limited to 'assets/css')
-rw-r--r-- | assets/css/markdown.css | 5 | ||||
-rw-r--r-- | assets/css/site.css | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/assets/css/markdown.css b/assets/css/markdown.css index 0aa9bda..495ed9e 100644 --- a/assets/css/markdown.css +++ b/assets/css/markdown.css @@ -104,6 +104,11 @@ @apply border py-1 px-3; } +.content *:target { + padding-top: 4.5rem; + margin-top: -4.5rem; +} + /* Override pygments style background color. */ /* .content .highlight pre { @apply bg-gray-100 !important; diff --git a/assets/css/site.css b/assets/css/site.css index 9057a46..47e6f9b 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -37,4 +37,16 @@ .object-contain { object-fit: contain !important; +} + +.pagination { + @apply flex justify-center; +} + +.pagination .page-item { + @apply flex items-center p-2 m-2; +} + +.pagination .page-item:not(.disabled):hover { + @apply text-eureka; }
\ No newline at end of file |