diff options
author | helight <helight@helight.info> | 2022-09-24 09:51:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-24 09:51:24 +0300 |
commit | bc73bc02a843c840a5969e44bcd21493361cc894 (patch) | |
tree | be9153204eb603937248e844bd39e21c71e61fd8 | |
parent | 828b65f6d85e8dc8f9825b9b5d525501fffa78bd (diff) |
Fix post img overflow (#369)
* update add subtilte to header
* remove address from footer
* fix img overflow
* fix img overflow
* update
-rw-r--r-- | layouts/partials/footer.html | 2 | ||||
-rw-r--r-- | static/css/style.blue.css | 6 | ||||
-rw-r--r-- | static/css/style.default.css | 6 | ||||
-rw-r--r-- | static/css/style.green.css | 6 | ||||
-rw-r--r-- | static/css/style.marsala.css | 6 | ||||
-rw-r--r-- | static/css/style.pink.css | 6 | ||||
-rw-r--r-- | static/css/style.red.css | 6 | ||||
-rw-r--r-- | static/css/style.turquoise.css | 6 | ||||
-rw-r--r-- | static/css/style.violet.css | 6 |
9 files changed, 49 insertions, 1 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b23582d..30b0842 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -50,7 +50,7 @@ {{ .Site.Params.address | safeHTML }} - <a href="{{ default "/contact" .Site.Params.contact_url }}" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a> + <a href="{{ default "/contact" .Site.Params.contact_url }}" class="btn btn-small btn-template-main">{{ i18n "contactGoTo" }}</a> <hr class="hidden-md hidden-lg hidden-sm"> diff --git a/static/css/style.blue.css b/static/css/style.blue.css index 5290682..7c16603 100644 --- a/static/css/style.blue.css +++ b/static/css/style.blue.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } diff --git a/static/css/style.default.css b/static/css/style.default.css index fe124ac..ba0eaa5 100644 --- a/static/css/style.default.css +++ b/static/css/style.default.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } diff --git a/static/css/style.green.css b/static/css/style.green.css index f36c0b8..92de476 100644 --- a/static/css/style.green.css +++ b/static/css/style.green.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } diff --git a/static/css/style.marsala.css b/static/css/style.marsala.css index 3c0230d..c50437f 100644 --- a/static/css/style.marsala.css +++ b/static/css/style.marsala.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } diff --git a/static/css/style.pink.css b/static/css/style.pink.css index 475f852..3cafcc3 100644 --- a/static/css/style.pink.css +++ b/static/css/style.pink.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } diff --git a/static/css/style.red.css b/static/css/style.red.css index 4b97850..54e66dd 100644 --- a/static/css/style.red.css +++ b/static/css/style.red.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } diff --git a/static/css/style.turquoise.css b/static/css/style.turquoise.css index 6525ec2..4ad677c 100644 --- a/static/css/style.turquoise.css +++ b/static/css/style.turquoise.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } diff --git a/static/css/style.violet.css b/static/css/style.violet.css index 2db14d2..ba3dac1 100644 --- a/static/css/style.violet.css +++ b/static/css/style.violet.css @@ -2183,6 +2183,12 @@ fieldset[disabled] .btn-template-primary.active { #blog-post #post-content { margin-bottom: 20px; } +#blog-post #post-content img{ + max-width: 100%; + height: auto; + display: block; + margin: auto; +} #blog-post .comment { margin-bottom: 25px; } |