Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-07-12 07:20:34 +0300
committerYihui Xie <xie@yihui.name>2017-07-12 07:20:34 +0300
commit6806d61ff1c3c78e4fd3206775f261f7d193ff47 (patch)
treefdf20763e761a6e5dfbaff5ad0c51cacfde7ff44
parent4c4ddf8ffb7dc3b57c52f96d9e97afb5ab37a2ea (diff)
when page width is smaller than 350 + 15 x 2, change flex-basis (no long use 350px as the basis)
-rw-r--r--static/css/style.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/static/css/style.css b/static/css/style.css
index a2bd9be..e7609f7 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -44,6 +44,9 @@ main { margin-bottom: 15px; }
padding: 1em;
overflow-x: hidden;
}
+@media (max-width: 380px) {
+ .list section { flex: auto; }
+}
@media (min-width: 715px) {
.list section { max-width: calc(50% - 15px); }
}