MediaWiki:Common.css: Difference between revisions
Avinasharora (talk | contribs) No edit summary |
Avinasharora (talk | contribs) No edit summary |
||
| Line 27: | Line 27: | ||
display: inline; | display: inline; | ||
} | } | ||
#bottom-nav .pBody li { | |||
margin:0; /* prevents the TEMP value inheriting from the horizontal menu */ | |||
position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */ | |||
width:10em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/ | |||
left:-1px; /*aligns the drop exactly under the menu */ | |||
} | |||
#bottom-nav a { | #bottom-nav a { | ||
color: #666; | color: #666; | ||
Revision as of 22:20, 7 March 2017
/* CSS placed here will be applied to all skins */
#bottom-nav {
position: relative;
top: 0px;
width: 100%;
font-size: 75%;
padding-bottom: 2em;
margin: 2em 3.3em 0;
text-shadow: 0 2px 4px #fff, 0 2px 4px #fff, 0 1px 4px #fff;
float:left; /*makes the entire box enclose the list */
background-color: rgba(255,255,255,0.5); /* colors the background behind the box*/
a:link {color: #000;}
background:#930B00; /* BACKGROUND COLORS FOR ENTIRE BOX 930B00 = DARK RED */
margin:7px -2px -2px -2px;
padding:0;
}
#bottom-nav .portlet h3 {
margin: .5em 0 0;
color: #444;
text-align: left;
display: inline;
}
#bottom-nav h3:after {
content: ':';
}
#bottom-nav .pBody {
display: inline;
}
#bottom-nav .pBody li {
margin:0; /* prevents the TEMP value inheriting from the horizontal menu */
position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
width:10em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
left:-1px; /*aligns the drop exactly under the menu */
}
#bottom-nav a {
color: #666;
}
#bottom-nav ul {
margin: 0;
padding: 0;
list-style: none;
display: inline;
}
#bottom-nav ul li {
margin: 0 .5em;
display: inline;
}