From 5212200a07190e3838475653a1bae9923a766ab2 Mon Sep 17 00:00:00 2001 From: Maxim Lihachev Date: Thu, 17 Nov 2016 12:21:58 +0500 Subject: [PATCH] =?UTF-8?q?=D0=90=D0=B4=D0=B0=D0=BF=D1=82=D0=B8=D0=B2?= =?UTF-8?q?=D0=BD=D0=B0=D1=8F=20=D0=B2=D1=91=D1=80=D1=81=D1=82=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/feminitives.css | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/css/feminitives.css b/css/feminitives.css index 7f8a32b..c40b9b7 100644 --- a/css/feminitives.css +++ b/css/feminitives.css @@ -63,8 +63,7 @@ button:hover { #definition-help { text-align: justify; - font-size: 40%; - margin-top: -58% !important; + margin-top: -32% !important; } #definition-dict { @@ -78,7 +77,7 @@ button:hover { #definition-image { width: 50%; margin: 0 auto; - padding: 0.5%; + padding: 1.5%; width: 400px; background-color: white; } @@ -91,13 +90,6 @@ button:hover { width: 400px; } -@media screen and (max-device-width: 800px) { - #definition-card { - height: 220px; - width: 300px; - } -} - #definition-card h1 { position: relative; text-align: right; @@ -125,12 +117,13 @@ button:hover { font-size: 250%; font-weight: regular; text-align: center; + visibility: visible; } #definition-full { font-size: 100%; - height: 40px; - margin-top: 1%; + height: 60px; + margin-top: 5%; } .toolbar, .toolbar:visited { @@ -145,3 +138,18 @@ button:hover { opacity: 1; } +@media screen and (max-device-width: 1000px) { + input { font-size:90%; } + button { font-size: 80%; } + + #definition-full { height: 80px; margin-top: 40px; } +} + +@media screen and (max-device-width: 800px) { + #definition { width: 90%; } + #definition h1 { font-size: 150%; } + #definition-help { font-size: 95%; } + #definition-card h1 { line-height: 65%; } + #definition-card h1 span{ font-size: 60%; } +} +