Difference between revisions of "Template:Nymu-menu2"

Line 3: Line 3:
  
  
<!-- Start of CSS-->
 
<style type="text/css">
 
 
/* WIKI SETTINGS*/
 
 
/* Hide first heading */
 
.firstHeading {
 
display: none;
 
}
 
 
/*-- Remove borders, float content left and remove padding/margin */
 
#globalWrapper, #content{
 
margin-top:0px;
 
                width: 100%;
 
height: 100%;
 
border: 0px;
 
background-color: transparent;
 
 
padding: 0px;
 
font-size: 100%;
 
background-color: #fff;
 
}
 
 
/*left align Black Menu Bar */
 
#top_menu_inside {
 
margin-left: 20px;
 
}
 
  
 
#inthis{
 
#inthis{

Revision as of 18:27, 23 August 2015

#inthis{ position:absolute; z-index:1; } #cssmenu2, #cssmenu2 ul, #cssmenu2 ul li, #cssmenu2 ul li a, #cssmenu2 #menu-button { margin: 0; padding: 0; border: 0; list-style: none; line-height: 1; display: block; position: relative; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; z-index:1; } #cssmenu2:after, #cssmenu2 > ul:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } #cssmenu2 #menu-button { display: none; } #cssmenu2 { font-family: Montserrat, sans-serif; background-color: #339933; background-position: 60%; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; padding: 0px; margin-left: 10%; position: fixed; width: 80%; z-index: 1; box-shadow:4px 4px 3px rgba(20%,20%,40%,0.5); } #cssmenu2.align-center > ul { font-size: 0; text-align: center; } #cssmenu2.align-center > ul > li { display: inline-block; padding-left:20px; float: none; } #cssmenu2.align-center ul ul { text-align: left; } #cssmenu2.align-right > ul > li { float: right; } #cssmenu2 > ul > li > a { font-size: 18px; letter-spacing: 1px; text-decoration: none; color: #dddddd; font-weight: 700; text-transform: uppercase; padding-bottom:10px; padding-top:10px; } #cssmenu2 > ul > li:hover > a { color: #ffffff; } #cssmenu2 > ul > li.has-sub > a { padding-right: 30px; } #cssmenu2 > ul > li.has-sub > a:after { position: absolute; top: 22px; right: 11px; width: 8px; height: 2px; display: block; background: #dddddd; content: ''; } #cssmenu2 > ul > li.has-sub > a:before { position: absolute; top: 19px; right: 14px; display: block; width: 2px; height: 8px; background: #dddddd; content: ''; -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -ms-transition: all .25s ease; -o-transition: all .25s ease; transition: all .25s ease; } #cssmenu2 > ul > li.has-sub:hover > a:before { top: 23px; height: 0; } #cssmenu2 ul ul { position: absolute; left: -9999px; } #cssmenu2.align-right ul ul { text-align: right; } #cssmenu2 ul ul li { height: 0; -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -ms-transition: all .25s ease; -o-transition: all .25s ease; transition: all .25s ease; } #cssmenu2 li:hover > ul { left: auto; } #cssmenu2.align-right li:hover > ul { left: auto; right: 0; } #cssmenu2 li:hover > ul > li { height: 35px; } #cssmenu2 ul ul ul { margin-left: 100%; top: 0; } #cssmenu2.align-right ul ul ul { margin-left: 0; margin-right: 100%; } #cssmenu2 ul ul li a { border-bottom: 1px solid rgba(150, 150, 150, 0.15); padding: 11px 15px; width: 170px; font-size: 18px; text-decoration: none; color: #dddddd; font-weight: 400; background: #333333; } #cssmenu2 ul ul li:last-child > a, #cssmenu2 ul ul li.last-item > a { border-bottom: 0; } #cssmenu2 ul ul li:hover > a, #cssmenu2 ul ul li a:hover { color: #ffffff; } #cssmenu2 ul ul li.has-sub > a:after { position: absolute; top: 16px; right: 11px; width: 8px; height: 2px; display: block; background: #dddddd; content: ''; } #cssmenu2.align-right ul ul li.has-sub > a:after { right: auto; left: 11px; } #cssmenu2 ul ul li.has-sub > a:before { position: absolute; top: 13px; right: 14px; display: block; width: 2px; height: 8px; background: #dddddd; content: ''; -webkit-transition: all .25s ease; -moz-transition: all .25s ease; -ms-transition: all .25s ease; -o-transition: all .25s ease; transition: all .25s ease; } #cssmenu2.align-right ul ul li.has-sub > a:before { right: auto; left: 14px; } #cssmenu2 ul ul > li.has-sub:hover > a:before { top: 17px; height: 0; }