diff --git a/mkdocs_simple_blog/assets/stylesheets/theme.css b/mkdocs_simple_blog/assets/stylesheets/theme.css index f879167..1819550 100644 --- a/mkdocs_simple_blog/assets/stylesheets/theme.css +++ b/mkdocs_simple_blog/assets/stylesheets/theme.css @@ -75,7 +75,7 @@ pre { @media only screen and (min-device-width:320px) and (max-device-width:480px) { body { - font-size: 1.4em; + font-size: 1.0em; line-height: 1.6em; } } @@ -606,3 +606,37 @@ table tr td:last-child,table tr th:last-child { .overline { text-decoration: overline; } + +@media only screen and (max-width: 680px) { + .site-name { + font-size: 14px !important; + } + + .title { + font-size: 18px !important; + } + + .container { + padding-left: 5% !important; + padding-right: 5% !important; + } + + main { + margin-left: 0% !important; + margin-right: 0% !important; + line-height: 1.8 !important + } + + h1,h2,h3,h4,h5,h6 { + font-size: 18px !important; + margin-top: 1.0rem !important; + margin-bottom: 1rem !important; + } + + p, a, li, code, small { + font-size: 12px !important; + margin-top: 1.0rem !important; + margin-bottom: 1rem !important; + } + + } \ No newline at end of file diff --git a/mkdocs_simple_blog/modules/header.html b/mkdocs_simple_blog/modules/header.html index 6c22145..a3010af 100644 --- a/mkdocs_simple_blog/modules/header.html +++ b/mkdocs_simple_blog/modules/header.html @@ -4,7 +4,7 @@ {% if config.theme.logo %} {% endif %} - {{ config.site_name }} + {{ config.site_name }}