From fad618391c9be635dc10794667b05094076e9b41 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:14:23 +0800 Subject: [PATCH] Style desktop layout --- m4-oldagram/styles.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/m4-oldagram/styles.css b/m4-oldagram/styles.css index 1f5716f..19d484c 100644 --- a/m4-oldagram/styles.css +++ b/m4-oldagram/styles.css @@ -180,11 +180,13 @@ body { color: hsl(228, 45%, 44%); } -/* Screen sizes larger than mobile */ -@media only screen and (min-width: 30rem) {} - -/* Tablet screen size */ -@media only screen and (min-width: 43.75rem) {} - /* Desktop screen size */ -@media only screen and (min-width: 60rem) {} \ No newline at end of file +@media only screen and (min-width: 60rem) { + .post-container { + align-items: center; + } + + .post { + width: 50rem; + } +} \ No newline at end of file