Module:Sidebar/styles.css: Difference between revisions
Created page with "→{{pp-template}}: →TODO: Invert width design to be "mobile first": .sidebar { →TODO: Ask if we should have max-width 22em instead: width: 22em; →@noflip: float: right; →@noflip: clear: right; →@noflip: margin: 0.5em 0 1em 1em; background: var(--background-color-neutral-subtle, #f8f9fa); border: 1px solid var(--border-color-base, #a2a9b1); padding: 0.2em; text-align: center; line-height: 1.4em; font-size: 88%; border-collapse: collap..." |
No edit summary Tag: Manual revert |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
.sidebar { | .sidebar { | ||
Width: 22em; | |||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
margin: 0.5em 0 1em 1em; | margin: 0.5em 0 1em 1em; | ||
background: | background: #f8f9fa; | ||
border: 1px solid | border: 1px solid #a67c52; | ||
padding: 0.2em; | padding: 0.2em; | ||
text-align: center; | text-align: center; | ||
| Line 17: | Line 11: | ||
font-size: 88%; | font-size: 88%; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
display: table; | display: table; | ||
} | } | ||
body.skin-minerva .sidebar { | body.skin-minerva .sidebar { | ||
display: table !important; | display: table !important; | ||
float: right !important; | |||
margin: 0.5em 0 1em 1em !important; | margin: 0.5em 0 1em 1em !important; | ||
} | } | ||
| Line 169: | Line 146: | ||
max-width: none !important; | max-width: none !important; | ||
} | } | ||
@media screen { | @media screen { | ||