From 76492223b43f870244bcc3ef7d2164187097a5b1 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 1 Oct 2020 14:37:57 +0530 Subject: [PATCH] toc(css): refactor * move from main -> post-single --- assets/css/main.css | 30 ------------------------------ assets/css/post-single.css | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 0383d759..cb8bceee 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -38,33 +38,3 @@ .pagination .next { margin-left: auto; } - -.toc { - margin-bottom: 40px; - border: 1px solid var(--border); - border-radius: var(--radius); - padding: .5em; -} - -.toc details summary { - cursor: zoom-in; -} - -.toc details[open] summary { - cursor: zoom-out; -} - -.toc .details { - display: inline; - font-weight: 500; -} - -.toc blockquote { - border-left: 2px solid; - margin: 20px; - padding: 10px 40px; -} - -.toc li ul { - margin-left: var(--gap); -} \ No newline at end of file diff --git a/assets/css/post-single.css b/assets/css/post-single.css index 84f16714..8214513b 100644 --- a/assets/css/post-single.css +++ b/assets/css/post-single.css @@ -227,6 +227,36 @@ border-radius: 4px; } +.toc { + margin-bottom: 40px; + border: 1px solid var(--border); + border-radius: var(--radius); + padding: .5em; +} + +.toc details summary { + cursor: zoom-in; +} + +.toc details[open] summary { + cursor: zoom-out; +} + +.toc .details { + display: inline; + font-weight: 500; +} + +.toc blockquote { + border-left: 2px solid; + margin: 20px; + padding: 10px 40px; +} + +.toc li ul { + margin-left: var(--gap); +} + .post-footer { margin-top: 56px; }