1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-07-02 22:45:02 +03:00
This commit is contained in:
Denis Shakhov 2012-07-07 11:30:06 +07:00
parent e250899a1b
commit 4086eb603a
2 changed files with 3 additions and 2 deletions

View file

@ -104,7 +104,8 @@
/* Nav Main */
.nav.nav-main { float: left; height: 51px; max-width: 530px; overflow: hidden; }
.nav.nav-main { float: left; height: 51px; overflow: hidden; display: none; }
.no-js .nav.nav-main { display: block; }
.nav.nav-main li { margin-right: 22px; position: relative; height: 51px; line-height: 49px; }
.nav.nav-main li a { color: #cfcfcf; text-decoration: none; }
.nav.nav-main li a:hover { color: #aaa; }

View file

@ -6,7 +6,7 @@
<script type="text/javascript">
jQuery(window).load(function () {
jQuery('#nav-main').width(jQuery('#header').width() - jQuery('#header').find('h1.site-name').outerWidth(true) - 1);
jQuery('#nav-main').width(jQuery('#header').width() - jQuery('#header').find('h1.site-name').outerWidth(true) - 1).css('display','block');
});
</script>