diff --git a/config/global/style/blog.css b/config/global/style/blog.css index b65c07b..92f225a 100644 --- a/config/global/style/blog.css +++ b/config/global/style/blog.css @@ -19,8 +19,11 @@ header li:not(:last-child)::after { } @media (max-width: 700px) { -header { - margin: -5rem -25px -3rem; - padding: 13rem 25px 5rem; -} + header { + margin: -5rem -25px -3rem; + padding: 13rem 25px 5rem; + } + section { + display: none; + } } diff --git a/config/global/style/type.css b/config/global/style/type.css index 92cc7d0..3bb3a32 100644 --- a/config/global/style/type.css +++ b/config/global/style/type.css @@ -20,6 +20,7 @@ section { margin: 25vh 0 0 -6.5rem; position: fixed; user-select: none; + line-height: 0; } h1 { @@ -110,5 +111,6 @@ li { margin: inherit; position: inherit; user-select: inherit; + line-height: inherit; } } diff --git a/docs/style/blog.css b/docs/style/blog.css index b65c07b..92f225a 100644 --- a/docs/style/blog.css +++ b/docs/style/blog.css @@ -19,8 +19,11 @@ header li:not(:last-child)::after { } @media (max-width: 700px) { -header { - margin: -5rem -25px -3rem; - padding: 13rem 25px 5rem; -} + header { + margin: -5rem -25px -3rem; + padding: 13rem 25px 5rem; + } + section { + display: none; + } } diff --git a/docs/style/type.css b/docs/style/type.css index 92cc7d0..3bb3a32 100644 --- a/docs/style/type.css +++ b/docs/style/type.css @@ -20,6 +20,7 @@ section { margin: 25vh 0 0 -6.5rem; position: fixed; user-select: none; + line-height: 0; } h1 { @@ -110,5 +111,6 @@ li { margin: inherit; position: inherit; user-select: inherit; + line-height: inherit; } }