diff --git a/src/styles/css-config/code.css b/src/styles/css-config/code.css index 7998ee4..0ab8f15 100644 --- a/src/styles/css-config/code.css +++ b/src/styles/css-config/code.css @@ -22,7 +22,7 @@ pre { font-size: 1.618rem; font-weight: 500; border-radius: 0.272rem; - padding: 0.418rem; + padding: 0.10rem; display: flex; align-items: center; justify-content: center; diff --git a/src/styles/docs/docs-types.css b/src/styles/docs/docs-types.css index ae55d92..f6a47d4 100644 --- a/src/styles/docs/docs-types.css +++ b/src/styles/docs/docs-types.css @@ -110,9 +110,9 @@ margin-top: 0.272rem; & svg { - width: 27px; - height: 27px; - margin-right: 3px; + width: 1.2em; + height: 1.2em; + margin-right: 0.3em; } } } diff --git a/src/styles/docs/nav/nav.css b/src/styles/docs/nav/nav.css index da386f6..1fcb663 100644 --- a/src/styles/docs/nav/nav.css +++ b/src/styles/docs/nav/nav.css @@ -85,7 +85,7 @@ & [data-part="item-content"] > div { min-height: 3em; - & > p { + & > a { margin: auto 0; } } diff --git a/src/styles/docs/toc/types-toc.css b/src/styles/docs/toc/types-toc.css index ae61bfa..7661798 100644 --- a/src/styles/docs/toc/types-toc.css +++ b/src/styles/docs/toc/types-toc.css @@ -57,8 +57,8 @@ & svg { opacity: 0.6; - width: 24px; - height: 24px; + width: 1.2em; + height: 1.2em; transition: opacity 0.5s; }