From 74b6af858e1ef6f576d00385a46542ec2493d6a7 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Fri, 5 Sep 2014 05:09:10 -0400 Subject: [PATCH] feature(style) .fm @media: height --- css/style.css | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/css/style.css b/css/style.css index 12935b44..632a8256 100644 --- a/css/style.css +++ b/css/style.css @@ -271,19 +271,15 @@ a:hover, a:active { text-decoration:none; } -/* Если размер окна очень маленький - * располагаем имя и атрибуты файла - * друг-под-другом -*/ -/* responsive design */ - -@media only screen and (max-height: 800px) { +@media only screen and (max-height: 800px), (max-height: 640px) and (max-width: 360px) { .fm { - height: 74%; + height: 80%; } - - .files { - height: 85%; +} + +@media only screen and (max-height: 533px) { + .fm { + height: 70%; } } @@ -300,10 +296,6 @@ a:hover, a:active { } @media only screen and (max-width: 600px) { - .fm { - height: 85%; - } - .panel { font-size: 26px; }