summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htdocs/scss/app/blog.scss7
-rw-r--r--htdocs/scss/app/common.scss11
2 files changed, 12 insertions, 6 deletions
diff --git a/htdocs/scss/app/blog.scss b/htdocs/scss/app/blog.scss
index 30540ef..980b5d4 100644
--- a/htdocs/scss/app/blog.scss
+++ b/htdocs/scss/app/blog.scss
@@ -154,8 +154,11 @@ body.wide .blog-post {
.blog-post-toc {
display: none;
}
- body.wide .blog-post {
- width: auto;
+ .blog-post {
+ width: auto !important;
+ }
+ .blog-post-wrap2 {
+ width: 100%;
}
}
diff --git a/htdocs/scss/app/common.scss b/htdocs/scss/app/common.scss
index 723c1ff..5e23a52 100644
--- a/htdocs/scss/app/common.scss
+++ b/htdocs/scss/app/common.scss
@@ -34,10 +34,13 @@ body.full-width .base-width {
margin-left: auto;
margin-right: auto;
}
-body.wide .base-width {
- max-width: $wide_width;
- margin-left: auto;
- margin-right: auto;
+
+@media screen and (min-width: $wide_width) {
+ body.wide .base-width {
+ max-width: $wide_width;
+ margin-left: auto;
+ margin-right: auto;
+ }
}
input[type="text"],