From 5e8b5e360186fccbb35398b6fa62229909091bfa Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Fri, 23 Feb 2018 11:22:50 -0500 Subject: [PATCH] Layout improvement --- style.css | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/style.css b/style.css index aa1f28b..8c45023 100644 --- a/style.css +++ b/style.css @@ -88,10 +88,20 @@ body { height: 100px; } -.action-button { - font-size: 24px; - width: 150px; - height: 75px; +@media (max-aspect-ratio: 16/9){ + .action-button { + font-size: 18px; + width: 100px; + height: 75px; + } +} + +@media (min-aspect-ratio: 16/9){ + .action-button { + font-size: 24px; + width: 150px; + height: 75px; + } } #victim-table {