From 07c1dc115cc473c04885e2f5338a96b02acd32fa Mon Sep 17 00:00:00 2001 From: Andinus Date: Fri, 22 May 2020 14:08:36 +0530 Subject: [PATCH] Float news section only on large screens --- tilde.css | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/tilde.css b/tilde.css index 0fe0099..b7877d6 100644 --- a/tilde.css +++ b/tilde.css @@ -57,18 +57,19 @@ pre { color: #ffffff; } -#front-content { - max-width: 69%; - float: left; -} - #content { margin: 0 auto; } -#news { - float: right; - max-width: 29%; +@media (min-width: 1024px) { + #news { + float: right; + max-width: 29%; + } + #front-content { + max-width: 69%; + float: left; + } } #sshfp {