You've already forked documentation
mirror of
https://github.com/armbian/documentation.git
synced 2026-01-06 10:13:36 -08:00
better navbar width, tuned to readthedocs
This commit is contained in:
@@ -741,18 +741,19 @@
|
||||
}
|
||||
#mega-menu-wrap-header-menu {
|
||||
clear: both;
|
||||
/** width in pixels or percent **/
|
||||
/** width in pixels or percent **/
|
||||
width: 100%;
|
||||
/** center align menu **/
|
||||
margin: 0 auto;
|
||||
}
|
||||
/** Tuesday 28th of June 2016 06:04:01 PM **/
|
||||
|
||||
/** Custom for fixed Armbian navbar in large windows when using readthedocs theme **/
|
||||
/** Custom for fixed Armbian navbar in wide windows (768px as per readthedocs theme) **/
|
||||
@media screen and (min-width: 769px) {
|
||||
#mega-menu-wrap-header-menu {
|
||||
position:fixed;
|
||||
width: -moz-calc(100% - 300px);
|
||||
width: -webkit-calc(100% - 300px);
|
||||
width: calc(100% - 300px);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<div style="max-width:800px"
|
||||
<div
|
||||
id="mega-menu-wrap-header-menu" class="mega-menu-wrap"><div class="mega-menu-toggle" tabindex="0"><div class='mega-toggle-block mega-menu-toggle-block mega-toggle-block-right mega-toggle-block-1' id='mega-toggle-block-1'></div></div><ul id="mega-menu-header-menu" class="mega-menu mega-menu-horizontal mega-no-js" data-event="hover" data-effect="fade" data-effect-speed="200" data-second-click="go" data-document-click="collapse" data-reverse-mobile-items="true" data-vertical-behaviour="standard" data-breakpoint="600"><li class='mega-menu-item mega-menu-item-type-custom mega-menu-item-object-custom mega-align-bottom-left mega-menu-flyout mega-hide-arrow mega-hide-text mega-menu-item-3656' id='mega-menu-item-3656'><a class="dashicons-admin-home mega-menu-link" href="http://www.armbian.com/" tabindex="0"> Armbian home</a></li>
|
||||
<li class='mega-menu-item mega-menu-item-type-post_type mega-menu-item-object-page mega-align-bottom-left mega-menu-flyout mega-hide-arrow mega-menu-item-3657' id='mega-menu-item-3657'><a class="mega-menu-link" href="http://www.armbian.com/download/" tabindex="0">Download</a></li>
|
||||
<li class='mega-menu-item mega-menu-item-type-post_type mega-menu-item-object-page mega-current-menu-item mega-current_page_item mega-align-bottom-left mega-menu-flyout mega-hide-arrow mega-menu-item-4941' id='mega-menu-item-4941'><a class="mega-menu-link" href="http://docs.armbian.com/" tabindex="0">Documentation</a></li>
|
||||
|
||||
Reference in New Issue
Block a user