Fontello YouTube'a oraz Facebooka dobrze sie zgrało z sociallinkiem natomiast nie wiem dlaczego instagram i twitter przesuwają się w doł, proszę o pomoc.
body
{
width: auto;
height: auto;
background-image: url(img/background.JPEG);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
font-family: 'Josefin Sans', sans-serif;
}
#container
{
width: 1000px;
height: 1000px;
position: relative;
background-color: rgba(218, 189, 189, 0.3);
margin-left: auto;
margin-right: auto;
border: 1px;
border-style: double;
border-color: #666666;
text-align: center;
}
#rectangle
{
width: 880px;
padding: 10px;
padding-top: 60px;
padding-bottom: 60px;
background-color: rgba(218, 189, 189, 0.5);
position: absolute;
left: 50px;
top: 50px;
font-size: 40px;
color: #505050;
border: 1px;
border-style: double;
border-color: #666666;
}
#menu
{
width: 200px;
height: 700px;
background-color: rgba(218, 189, 189, 0.3);
float: left;
margin-left: -225px;
border: 1px;
border-style: double;
border-color: #666666;
position: relative;
}
.yt
{
width: 162px;
height: 135px;
float: left;
margin-left: -225px;
background-color: rgba(255, 0, 0, 0.5);
text-align: center;
font-size: 30px;
position: absolute;
left: 20px;
right: 20px;
top: 20px;
bottom: 20px;
}
.fb
{
width: 162px;
height: 135px;
float: left;
margin-left: -225px;
background-color: rgba(30, 94, 146, 0.5);
text-align: center;
font-size: 30px;
position: absolute;
left: 20px;
right: 20px;
top: 195px;
bottom: 20px;
}
.ig
{
width: 162px;
height: 135px;
float: left;
margin-left: -225px;
background-color: rgba(205, 27, 217, 0.5);
text-align: center;
font-size: 30px;
position: absolute;
left: 20px;
right: 20px;
top: 370px;
bottom: 20px;
}
.tw
{
width: 162px;
height: 135px;
float: left;
margin-left: -225px;
background-color: rgba(0, 147, 255, 0.5);
text-align: center;
font-size: 30px;
position: absolute;
left: 20px;
right: 20px;
top: 545px;
bottom: 20px;
}
#clock
{
width: 400px;
height: 100px;
background-color: rgba(218, 189, 189, 0.3);
float: right;
margin-right: -425px;
border: 1px;
border-style: double;
border-color: #666666;
padding-top: 10px;
padding-bottom: 10px;
text-align: center;
font-size: 90px;
color: #505050;
}
.sociallink
{
color: #ffffff;
text-decoration: none;
width: 162px;
height: 135px;
display: block;
}