Fixed a CSS issue in Safari.

This commit is contained in:
Scott Wallace 2014-05-15 08:18:14 +01:00
parent 81db9ff948
commit 6c70615653

View file

@ -12,6 +12,8 @@
background: url("macarons.jpg");
background-size: 100%;
color: #fff;
width: 100%;
height: 100%;
}
a {
@ -23,7 +25,8 @@
margin: 0 auto;
text-align: center;
top: 25%;
position: relative;
left: 35%;
position: absolute;
font-family: 'Niconne', cursive;
font-size: 600%;
width: 2.5em;
@ -36,7 +39,7 @@
}
#contact {
position: fixed;
position: absolute;
width: 16em;
left: 3em;
top:85%;
@ -50,10 +53,9 @@
#rightmenu {
background-color: rgba(128,0,128,0.4);
color: #fff;
width: 16em;
border-left: 3px solid purple;
position: absolute;
left: 100%;
margin-left: 100%;
top: 0;
width: 15em;
height: 100%;
@ -96,7 +98,6 @@
function openMenu() {
$(function(){
if ( $("#rightmenu").attr("data-open") != "true" ) {
//alert($("#rightmenu").css("width"));
$("#rightmenu").animate({left: "-=" + $("#rightmenu").css("width")}, 1000);
$("#rightmenu").attr("data-open", "true");
}