diff --git a/themes/hugo-bearcub/assets/style.css b/themes/hugo-bearcub/assets/style.css index a4c3a74..a77ff84 100644 --- a/themes/hugo-bearcub/assets/style.css +++ b/themes/hugo-bearcub/assets/style.css @@ -181,12 +181,19 @@ footer a.footerlink { } content .blog-reference { - width: 100% - 20px; + width: calc(100% - 42px); border: 1px solid; padding: 10px; margin: 10px; } +@media (max-width:480px) { + content .blog-reference { + width: calc(100% - 22px); + margin: 0; + } +} + content .blog-reference p { margin: 0; } @@ -195,7 +202,7 @@ content .blog-reference p.blog-reference-title { font-weight: bold; } -content .blog-reference p.blog-reference-title > a{ +content .blog-reference p.blog-reference-title > a { text-decoration: none; } @@ -206,4 +213,5 @@ content .blog-reference p.blog-reference-subtitle { content .blog-reference p.blog-reference-description { margin-top: 10px; + line-height: 1.2; }