Module:Sidebar/styles.css: Difference between revisions

integrate some styles
give the toggle a little margin
Line 101: Line 101:
.sidebar-collapse .sidebar-navbar {
.sidebar-collapse .sidebar-navbar {
padding-top: 0.6em;
padding-top: 0.6em;
}
.sidebar-collapse .mw-collapsible-toggle {
margin-top: 0.2em;
}
}


Line 115: Line 119:
border: none; /* temporary */
border: none; /* temporary */
padding: 0; /* temporary */
padding: 0; /* temporary */
}
.sidebar-collapse .NavFrame p,
.sidebar-collapse .NavContent p {
font-size: 100%;
}
}


Line 126: Line 125:
padding: 0.2em 0.4em;
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;
}
*/