From de3a95f27ce53cfc3df912ea6ebf546cce3327c7 Mon Sep 17 00:00:00 2001 From: neauoire Date: Tue, 19 May 2020 19:55:52 +0900 Subject: [PATCH] Added media queries --- links/main.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/links/main.css b/links/main.css index 3d460e4..dfb0616 100644 --- a/links/main.css +++ b/links/main.css @@ -9,4 +9,6 @@ body > ol > li:target { background:black } body > ol > li:target a { color: white } body > footer { margin:30px } body > footer > p { max-width: 600px } -body > footer > img { display: inline-block; width:100px; margin-bottom: -5px; margin-bottom:30px; } \ No newline at end of file +body > footer > img { display: inline-block; width:100px; margin-bottom: -5px; margin-bottom:30px; } +@media screen and (max-width: 800px) { body > ol { column-count: 2; } } +@media screen and (max-width: 600px) { body > ol { column-count: 1; } }