mobile: minor style adjustments (#5969)

This commit is contained in:
Frédéric Péters 2014-11-19 14:31:26 +01:00
parent 978a2dd764
commit cbd6204d87
2 changed files with 20 additions and 6 deletions

View File

@ -299,27 +299,38 @@ div#services > ul > li.active > strong {
height: 50px;
line-height: 50px;
background-position: 1ex 50%;
text-align: left;
padding-left: 58px;
font-size: 110%;
position: relative;
}
div#services > ul > li.active > ul {
width: 100%;
text-align: center;
background: white;
display: block;
div#services > ul > li.active > strong a {
position: absolute;
bottom: 10px;
line-height: 100%;
}
div#services > ul > li.active > ul {
text-align: center;
width: 100%;
text-align: left;
background: white;
display: block;
margin-top: 3px;
}
div#services > ul > li.active > ul a {
padding: 1ex;
padding-left: 55px;
padding-right: 25px;
display: block;
text-decoration: none;
border-bottom: 1px solid #aaa;
}
div#services > ul > li.active > ul li {
line-height: 160%;
}
div#services.active > ul {
height: 50px;

View File

@ -19,6 +19,9 @@ $(function() {
}
});
$('#top h1').click(function(e) {
window.location = $(this).find('a').attr('href');
});
$('a#menu').click(function() { $('#nav-user').hide(); $('#nav-site').toggle('slide'); });
$('a#gear').click(function() { $('#nav-site').hide(); $('#nav-user').toggle('slide'); });
$('#services li').click(function() {