diff --git a/css/style.css b/css/style.css index 84d43f8b..7ed739cc 100644 --- a/css/style.css +++ b/css/style.css @@ -251,13 +251,6 @@ a:hover, a:active { */ /* responsive design */ @media only screen and (max-width: 600px) { - .panel { - width:94%; - } - /* если правая панель не помещаеться - прячем её */ - #right { - display:none; - } /* текущий файл под курсором */ .current-file { background-color: rgb(49, 123, 249); @@ -348,19 +341,18 @@ a:hover, a:active { } } @media only screen and (min-width: 601px) and (max-width: 785px) { - .panel { - width:94%; - } - #right { - display:none; - } - .cmd-button { width: 15%; } } @media only screen and (min-width:786px) and (max-width: 1155px) { + .cmd-button { + width: 10%; + } +} + +@media only screen and (max-width: 1155px) { .panel { width:94%; } @@ -368,8 +360,4 @@ a:hover, a:active { #right { display:none; } - - .cmd-button { - width: 10%; - } -} \ No newline at end of file +}