From a207839c5abb9da71cfeb12211dd89f59421fea9 Mon Sep 17 00:00:00 2001 From: YUUU23 Date: Tue, 16 Jul 2024 23:21:37 -0500 Subject: [PATCH] nesting css --- src/css/toc.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/css/toc.css b/src/css/toc.css index 8065f2de..c7b3a24e 100644 --- a/src/css/toc.css +++ b/src/css/toc.css @@ -1,7 +1,7 @@ /** * For table of content items */ -/* .TOC { +.TOC { display: flex; flex-direction: column; align-items: center; @@ -9,18 +9,18 @@ margin: 1.5vh 0; padding: 0; - ul { + > ul { display: inline-block; text-align: center; list-style: none; padding: 0; margin: 0; - li { + > li { margin-bottom: 1.5vh; font-size: large; - ul { + > ul { text-align: center; list-style: none; padding: 0; @@ -29,8 +29,8 @@ } } } -} */ - +} +/* .TOC { display: flex; flex-direction: column; @@ -59,4 +59,4 @@ padding: 0; margin: 0; font-size: smaller; -} +} */