Jump to content

Module:Sidebar/styles.css: Difference between revisions

rest of normal sidebar
add in the dumb navF styles so we can maybe remove them at some point for mw-collapsible
Line 91: Line 91:
font-size: 115%;
font-size: 115%;
}
}
.sidebar-collapse .sidebar-above,
.sidebar-collapse .sidebar-below {
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
}
.sidebar-collapse .sidebar-navbar {
padding-top: 0.6em;
}
.sidebar-collapse .NavFrame {
margin: 0;
font-size: 95%;
border: none; /* temporary */
padding: 0; /* temporary */
}
.sidebar-collapse .NavHead {
line-height: 1.6em;
font-weight: bold;
position: relative;
font-size: 105%;
background: transparent; /* temporary */
text-align: left;
}
.sidebar-collapse .NavFrame p,
.sidebar-collapse .NavContent p {
font-size: 100%;
}
.sidebar-collapse div.NavContent {
font-size: 105%;
padding: 0.2em 0.4em;
}
.sidebar-collapse .NavFrame + .NavFrame {
border-top-style: hidden; /* not sure if this should be hidden or none based on MDN; common.css has both (why) */
}
/*Pretty sure I don't really want this; need to see how mw-collapsible reacts */
.sidebar-collapse a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton
.mw-parser-output .mw-collapsible-toggle {
font-weight: normal;
/* @noflip
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip
float: left;
/* @noflip
text-align: left;
}
*/