about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-05-22 14:08:36 +0530
committerAndinus <andinus@nand.sh>2020-06-06 22:36:34 +0530
commit07c1dc115cc473c04885e2f5338a96b02acd32fa (patch)
treee8e90510cbba1b79984d1689fbe5a1b9b4db536d
parentc1e57673e230670a80b8180833aca153eb6b59aa (diff)
downloadsite-07c1dc115cc473c04885e2f5338a96b02acd32fa.tar.gz
Float news section only on large screens
-rw-r--r--tilde.css17
1 files 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 {