From 3fccec3d86cb4caa7f5b77bef01cdb9eaa7f5c73 Mon Sep 17 00:00:00 2001 From: Zhehua Zhou Date: Wed, 31 Jul 2024 05:00:58 -0600 Subject: [PATCH] responsive --- _includes/archive-single_double.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/_includes/archive-single_double.html b/_includes/archive-single_double.html index 34587cd..8f39db7 100644 --- a/_includes/archive-single_double.html +++ b/_includes/archive-single_double.html @@ -21,7 +21,6 @@ .column { float: left; padding: 0px; - height: 240px; } .left { @@ -48,6 +47,11 @@ clear: both; } +/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */ +@media screen and (max-width: 600px) { + .column { + width: 100%; + } } @@ -66,12 +70,12 @@ {% endif %}
-
+
{% if post.teaser %} {% endif %}
-
+

{% if post.link %}