diff --git a/README.md b/README.md index 126bc6f..d342cdb 100644 --- a/README.md +++ b/README.md @@ -84,17 +84,41 @@ npx nuxi module add nuxt-toc > .toc-sublist-item { > padding-left: 1rem; > } +> +> a { +> text-decoration: none; +> color: inherit; +> } +> +> ul, +> ol { +> list-style: none; +> padding: 0; +> margin: 0; +> } > ``` > > You can customize the style or reset it with: > > ```css > .active-toc-item { -> color: inherit; +> color: initial; > } > > .toc-sublist-item { -> padding-left: 0; +> padding-left: initial; +> } +> +> a { +> text-decoration: underline; +> color: initial; +> } +> +> ul, +> ol { +> list-style: initial; +> padding: initial; +> margin: initial; > } > ``` diff --git a/README_zh.md b/README_zh.md index 84a40b5..dea7fa7 100644 --- a/README_zh.md +++ b/README_zh.md @@ -80,17 +80,41 @@ npx nuxi module add nuxt-toc > .toc-sublist-item { > padding-left: 1rem; > } +> +> a { +> text-decoration: none; +> color: inherit; +> } +> +> ul, +> ol { +> list-style: none; +> padding: 0; +> margin: 0; +> } > ``` > > 你可以自定义样式或重置样式: > > ```css > .active-toc-item { -> color: inherit; +> color: initial; > } > > .toc-sublist-item { -> padding-left: 0; +> padding-left: initial; +> } +> +> a { +> text-decoration: underline; +> color: initial; +> } +> +> ul, +> ol { +> list-style: initial; +> padding: initial; +> margin: initial; > } > ```