mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-04 23:44:25 +03:00
fix
This commit is contained in:
parent
e250899a1b
commit
4086eb603a
|
@ -104,7 +104,8 @@
|
||||||
|
|
||||||
|
|
||||||
/* Nav Main */
|
/* 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 { 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 { color: #cfcfcf; text-decoration: none; }
|
||||||
.nav.nav-main li a:hover { color: #aaa; }
|
.nav.nav-main li a:hover { color: #aaa; }
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
jQuery(window).load(function () {
|
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>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue