/* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* css reset end */ html, body { height: 100%; min-height: 100%; overflow: hidden; } .al { background: url("/img/logo.png"), url(/img/player.png), url(/img/bg.jpg); background-position: center 5% ,bottom left, center center; background-size: auto 30%, auto 80%, cover; background-repeat: no-repeat; height: 100%; min-height: 100%; overflow: hidden;} body #wrapper { height: 100%; width: 100%; min-height: 100%; } .btn-visit { display: block; position: absolute; height: 135px; content: " "; width: 100%; background: url("/img/btn.png"); background-repeat: no-repeat; background-position: center center; background-size: 90%; top: 30%; } @media only screen and (max-device-width: 1024px) and (orientation:landscape) { /* Между этими фигурными скобками пишем стили */ .btn-visit{top: 30% !important;} } .goalkeeper { position: absolute; left: 55%; top: 45%; } .goalkeeper img { width: 80%; } .sh { position: absolute; width: 100%; bottom: -80%; right: 10%; display: none; } @media screen and (max-width: 1200px) { body { background-position: center 30px ,bottom left, center center; background-size: 12%, auto 80%, cover; } .btn-visit { background-size: 100%; top: 25%; } .goalkeeper img { width: 60%; } } @media screen and (max-width: 980px) { body { background-position: center 30px ,bottom left, center center; background-size: 15%, auto 80%, cover; } .btn-visit { background-size: 100%; top: 20%; } .goalkeeper img { width: 60%; } } @media screen and (max-width: 768px) { body { background-position: center 40px ,bottom left, center center; background-size: 20%, auto 80%, cover; } .btn-visit { background-size: 120%; top: 20%; } .goalkeeper img { width: 60%; left: 65%; } } @media screen and (max-width: 1024px) { body { background-position: center 30px ,bottom left, center center; background-size: 10%, auto 80%, cover; } .btn-visit { background-size: 100%; top: 30%; } .goalkeeper img { width: 60%; } } @media screen and (max-device-width: 768px) { body { background-position: center 40px ,bottom left, center center; background-size: 20%, auto 80%, cover; } .btn-visit { background-size: 120%; top: 20%; } .goalkeeper img { width: 80%; left: 65%; } } /* iPads (landscape) ----------- */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) { body { background-position: center 40px ,bottom left, center center; background-size: 13%, auto 80%, cover; } .btn-visit { background-size: 120%; top: 25%; } .goalkeeper img { width: 80%; left: 65%; } } /* iPads (portrait) ----------- */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) { body { background-position: center 40px ,bottom left, center center; background-size: 20%, auto 80%, cover; } .btn-visit { background-size: 120%; top: 20%; } .goalkeeper img { width: 80%; left: 65%; } }