From 292ce9b450384f587c5e91e1646f2603eeb93eea Mon Sep 17 00:00:00 2001 From: nodejh Date: Fri, 24 Mar 2017 17:15:31 +0800 Subject: [PATCH] modify table of content styles --- static/css/style.css | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 687a025..f6a2867 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -891,11 +891,21 @@ code { font-family: 'Menlo', 'Monaco', Courier, monospace; /*font: normal 13px/1.5em "Helvetica Neue", Helvetica, Arial, sans-serif;*/ } -#TableOfContents { margin: 1em 0 0 0; } -#TableOfContents ul { list-style-type:none; margin: 0; padding: 0 .5em; } -#TableOfContents ul li { list-style-type:none; line-height: 1.7em; } -#TableOfContents > ul { padding: 0; } -#TableOfContents > ul > li > ul { padding: 0; } +#TableOfContents { + margin: 1em 0 0 0; +} +#TableOfContents ul { + list-style-type:none; margin: 0; padding: 0 .5em; +} +#TableOfContents ul li { + list-style-type:none; line-height: 1.7em; +} +#TableOfContents > ul { + padding: 0; +} +#TableOfContents > ul > li > ul { + padding: 0; +} #TableOfContents a code{ font-family: Menlo, Monaco, Courier; background-color: #fff;