From feb5f3abb907915054877084b5e894daa0a0053f Mon Sep 17 00:00:00 2001 From: "Dominik V. Salonen" Date: Sat, 26 Dec 2015 18:42:09 +0100 Subject: [PATCH] Even more responsiveness changes --- static/style.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/static/style.css b/static/style.css index 4622c5d..310b950 100644 --- a/static/style.css +++ b/static/style.css @@ -59,14 +59,23 @@ body { font-size: 12pt; display: inline-block; padding: 5px; - width: 20%; + width: 15%; animation: rise 1s ease-out; } -@media all and (max-width: 380px){ +@media all and (max-width: 360px){ .links li { width: 40%; - margin-bottom: 20px; + margin-bottom: 5px; + padding: 5px; + } +} + +@media all and (max-width: 600px){ + .links li { + width: 20%; + margin-bottom: 5px; + padding: 5px; } }