Witam,
mam problem z szerokością strony podczas wyświtelania na telefonie. Do arkusza stylów dodałam @media i za pomocą tego zmieniłam część dla rozdzielczości mniejszych niż 1024px, 680px i 320px. Na chwilę obecną jak zmniejszę okno przeglądarki do 320px strona nie wyświwtla się w całości. Ucięte jest jakieś 20% z prawej strony. Próbowałam zmieniać max-witdh, min-width i width na różne sposoby, ale bez żadnego efektu w przeglądarce...
Może ktoś rzuci okiem
html, body {
background: rgba(179,220,237,1);
/* Old Browsers */background: -moz-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* FF3.6+ */background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(179,220,237,1)), color-stop(0%, rgba(41,184,229,1)), color-stop(100%, rgba(188,224,238,1)));
/* Chrome,Safari4+ */background: -webkit-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* Chrome10+,Safari5.1+ */background: -o-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* Opera 11.10+ */background: -ms-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* IE 10+ */background: linear-gradient(to bottom, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* W3C */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=0 );
/* IE6-9 */
background-attachment: fixed;
margin:0;
padding: 0;
min-height: 100%;
position: relative;
font-size: 1em;
font-size: 14px;
line-height:15px;
width:100%;
color: #003781;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif
}
h1{
font-size: 1.857em;
padding: 2% 0%;
line-height: 1.95em
}
h2 {
font-size: 1.429em;
padding: 1%;
line-height: 1.5em
}
h3 {
font-size:1em;
line-height: 1em
}
img {
padding: 0;
margin: 0;
}
*{
padding: 0;
margin: 0;
}
a {
text-decoration: none;
color: #003781;
outline: 0;
}
#skrollr-body {
height:4200px;
width:100%;
margin:0;
padding:0;
clear:both;
background: rgba(179,220,237,1);
/* Old Browsers */background: -moz-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* FF3.6+ */background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(179,220,237,1)), color-stop(0%, rgba(41,184,229,1)), color-stop(100%, rgba(188,224,238,1)));
/* Chrome,Safari4+ */background: -webkit-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* Chrome10+,Safari5.1+ */background: -o-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* Opera 11.10+ */background: -ms-linear-gradient(top, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* IE 10+ */background: linear-gradient(to bottom, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 0%, rgba(188,224,238,1) 100%);
/* W3C */filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=0 );
/* IE6-9 */
}
/*---------------------*/
/*--------SCREEN-------*/
/*---------------------*/
.screen {
background-size: cover;
background-position: 50% 50%;
}
/*---------------------*/
/*--------SIDEBAR------*/
/*---------------------*/
nav {
width:100%;
overflow:hidden;
}
ul li{
list-style-type: circle;
padding:5px;
margin:2px;
display: list-item;
}
nav a {
padding: 5px 0px;
}
nav a:hover {
}
header {
position: fixed;
top: 20%;
right: 0%;
width: 210px;
z-index: 200;
max-width:15%
}
#logo {
float:left;
z-index: 300;
width:210px;
max-width:100%
}
#logo img {
width:100%
}
#mainnav ul li{
list-style: none;
padding:0;
margin:0;
}
#mainnav ul li a {
display:block;
font-size:1.214em;
-moz-transition: font-size .1s linear;
-webkit-transition: font-size .1s linear;
-ms-transition: font-size .1s linear;
-o-transition: font-size .1s linear;
transition: font-size .1s linear;
line-height: 1.225em;
text-align:center
}
#mainnav ul li a:hover,
#mainnav ul li a:active {
font-size: 1.286em;
color:#fff
}
/*---------------------*/
/*--------BLURS--------*/
/*---------------------*/
.blur {
width:300px;
height:200px;
max-width: 25%;
max-height:25%;
}
/*---------------------*/
/*--------EXTRAS-------*/
/*---------------------*/
.extras {
width:10%;
height:10%;
max-width: 25%;
max-height:25%;
padding: 5% 5% 5% 5%;
position: absolute;
color: #003781;
display:block;
text-align: center;
vertical-align: top;
}
div.text {
display:none;
}
.inline {
background-image: url("../img/ribbon5.png");
background-size: 100%;
background-repeat: no-repeat;
padding: 2% 2%;
margin: 0px 0px;
width: 30%;
height:6%;
display:block;
color:#fd6c1d;
text-align: left;
position:absolute;
left: 80%;
top:40%;
text-transform: uppercase;
font-size: 0.8em
}
#maincloud {
position: fixed;
top:50%;
left:50%;
margin-left:-35%;
margin-top:-15%;
max-width: 70%;
width:900px;
height:450px;
z-index:100;
}
.maincloud {
width: 60%;
height: 66%;
padding: 17% 20% 17% 20%;
transition: transform 5s;
-webkit-transition: transform 5s;
-moz-transition: transform 5s;
-o-transition: transform 5s;
-ms-transition: transform 5s;
position:absolute;
left:0px;
}
.maincloud h1 {
position:absolute;
top:0;
left:0;
text-align:center;
width: 80%;
padding: 5% 10% 0% 10%;
height: auto;
}
#family {
background: url("../img/family.png");
background-repeat: no-repeat;
background-size:contain;
}
#car {
background: url("../img/car.png");
background-repeat: no-repeat;
background-size:contain;
}
#company{
background: url("../img/company.png");
background-repeat: no-repeat;
background-size:contain;
}
#vip {
background: url("../img/clients.png");
background-repeat: no-repeat;
background-size:contain;
}
#contact {
background: url("../img/main.png");
background-repeat: no-repeat;
background-size:contain;
}
#contact img {
max-width:5%
}
#people {
padding: 0 0%;
margin:0;
position: absolute;
bottom:0px;
z-index: 99999;
min-height:300px;
width:100%;
background-image: url("../img/city.png");
background-size: cover;
background-position: bottom center
}
#footer{
clear: both;
background: #367935;
width:80%;
padding:1% 10%;
margin:0%;
position:relative;
height: auto;
overflow:hidden;
z-index:9999
}
#map{
width: 1000px;
height: 400px;
margin: 0 auto;
-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}
#facebook {
position:fixed;
bottom: 10%; left:1%;
z-index: 999999;
animation: 5s fb infinite ease;
-webkit-animation: 5s fb infinite ease;
max-height: 10%;
max-width:10%
}
#facebook img {
width:100%;
height:100%
}
@keyframes fb {
0% {transform: translateY(0px); }
50% {transform: translateY(15px); }
100% {transform:translateY(0px); }
}
@-webkit-keyframes fb {
0% { -webkit-transform: translateY(0px); }
50% { -webkit-transform: translateY(15px);}
100% { -webkit-transform: translateY(0px); }
}
@media all and (max-width: 1024px) {
body, html {
font-size: 12px;
width:100%;
}
#skrollr-body {
}
.extras {
width:15%;
height:15%;
max-width: 15%;
max-height:15%;
padding: 6% 5% 5% 5%;
position: absolute;
color: #003781;
display:block;
text-align: center;
vertical-align: bottom;
}
div.text {
display:none;
}
.inline {
background-image: url("../img/ribbon5.png");
background-size: 100%;
background-repeat: no-repeat;
padding: 3px ;
margin: 0px;
width: 65px;
height:14px;
display:block;
color:#fd6c1d;
text-align: left;
position:absolute;
left: 80%;
top:30%;
text-transform: uppercase;
font-size: 0.8em
}
.blur {
width:20%;
height:20%;
max-width: 200px;
max-height:150px;
}
}
@media all and (max-width: 680px) {
body, html {
font-size: 10px;
width:100%;
}
.extras {
min-width:150px;
min-height:50px;
width: 33%;
height:5%;
padding: 7% 1.5% 3% 1.5%;
position: absolute;
color: #003781;
display:block;
text-align: center;
vertical-align: bottom;
}
.inline {
padding: 1px 3px;
margin: 0px 0px;
width: 45px;
height:12px;
top:50%}
}
@media all and (max-width: 420px) {
body, html {
font-size: 8px;
width:100%;
}
.extras {
min-width:100px;
min-height:30px;
width: 33%;
height:5%;
padding: 7% 1.5% 3% 1.5%;
position: absolute;
color: #003781;
display:block;
text-align: center;
vertical-align: bottom;
}
.inline {
display:block;
color:#fd6c1d;
text-align: left;
text-transform: uppercase;
font-size: 0.9em;
position:absolute;
left:90%;
top:55%}
}