Line 106: | Line 106: | ||
#menubar.right-menu { | #menubar.right-menu { | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | padding-top: 60px; | ||
+ | padding-bottom: 40px; | ||
+ | } | ||
+ | |||
+ | .sidebar-nav { | ||
+ | padding: 9px 0; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu .sub-menu { | ||
+ | left: 100%; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | visibility: hidden; | ||
+ | margin-top: -1px; | ||
+ | } | ||
+ | |||
+ | .dropdown-menu li:hover .sub-menu { | ||
+ | visibility: visible; | ||
+ | } | ||
+ | |||
+ | .dropdown:hover .dropdown-menu { | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu { | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | |||
+ | .navbar .sub-menu:before { | ||
+ | border-bottom: 7px solid transparent; | ||
+ | border-left: none; | ||
+ | border-right: 7px solid rgba(0, 0, 0, 0.2); | ||
+ | border-top: 7px solid transparent; | ||
+ | left: -7px; | ||
+ | top: 10px; | ||
+ | } | ||
+ | .navbar .sub-menu:after { | ||
+ | border-top: 6px solid transparent; | ||
+ | border-left: none; | ||
+ | border-right: 6px solid #fff; | ||
+ | border-bottom: 6px solid transparent; | ||
+ | left: 10px; | ||
+ | top: 11px; | ||
+ | left: -6px; | ||
} | } |
Revision as of 15:53, 12 July 2016
/* ---------------- WikiMedia Elements / Page Structure---------------- */
- content { border: none; }
/* HIDE Search Controls Page title, footerbox */
- p-logo,
- search-controls,
- footer-box,
- catlinks,
.firstHeading {
display: none;
}
- globalWrapper {
background-color: #fff;
width:960px; height:auto; margin:0 auto; padding:0;
font-size:14px; }
- bodyContent{
background-color:#fff; border:none; border-color:none; padding:0; height:auto; width:960px; margin:0 auto;
}
body {
background: #fff;
}
- content{
border:none; padding:0; margin:0; z-index:1; width:100%; height:auto; background:#fff;
}
- top-section { /*styling for default menu bar*/
background-color: #ffcb6f; border: none; height:20px; margin-top: 0; margin-bottom: -30px;
width:960px;
-webkit-transition: all 300ms ease; -moz-transition: all 300ms ease; -ms-transition: all 300ms ease; -o-transition: all 300ms ease; transition: all 300ms ease;
}
- top-section:hover { /*changes menu bar colour on hove*/
background: #ffcb6f;
}
- menubar { /* Edit menubar link styles */
top: 0 !important; font-size: 10px;
}
- menubar li,
- menubar li a:link {
text-transform: uppercase;
}
- top-section:hover #menubar li a { /* Highlight with background colour on hover */
color: #FFF;
}
- menubar li a:link,
- menubar li a:visited {
color: #fff; background-color: transparent;
}
- menubar li a:hover,
- menubar li a:focus {
color: #f1e8df; text-decoration: none;
}
/* Edit */
- menubar.left-menu{
}
- menubar.left-menu:hover {
background-color: transparent;
}
/* User */
- menubar.right-menu {
}
body {
padding-top: 60px; padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
.dropdown-menu .sub-menu {
left: 100%; position: absolute; top: 0; visibility: hidden; margin-top: -1px;
}
.dropdown-menu li:hover .sub-menu {
visibility: visible;
}
.dropdown:hover .dropdown-menu {
display: block;
}
.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
margin-top: 0;
}
.navbar .sub-menu:before {
border-bottom: 7px solid transparent; border-left: none; border-right: 7px solid rgba(0, 0, 0, 0.2); border-top: 7px solid transparent; left: -7px; top: 10px;
} .navbar .sub-menu:after {
border-top: 6px solid transparent; border-left: none; border-right: 6px solid #fff; border-bottom: 6px solid transparent; left: 10px; top: 11px; left: -6px;
}