MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
background-size:cover;} | background-size:cover;} | ||
/* | /* Notebook‑paper sidebar for #mw-site-navigation */ | ||
#mw- | #mw-site-navigation { | ||
background-color: #faf7f0; /* soft off‑white */ | |||
background-color: #faf7f0; | |||
background-image: linear-gradient( | background-image: linear-gradient( | ||
to bottom, | to bottom, | ||
| Line 16: | Line 13: | ||
rgba(250, 247, 240, 0) 1px | rgba(250, 247, 240, 0) 1px | ||
); | ); | ||
background-size: 100% 26px; /* | background-size: 100% 26px; /* spacing between lines */ | ||
padding: 12px; | |||
border-right: 1px solid rgba(0,0,0,0.08); | |||
} | } | ||
/* | /* Remove default box styling inside the sidebar */ | ||
#mw- | #mw-site-navigation .portal, | ||
#mw- | #mw-site-navigation .vector-menu, | ||
#mw-site-navigation .vector-menu-content { | |||
background: transparent; | background: transparent; | ||
border: none; | border: none; | ||
| Line 27: | Line 27: | ||
} | } | ||
/* | /* Slight indent so text doesn't sit on the line edge */ | ||
#mw- | #mw-site-navigation .body, | ||
#mw- | #mw-site-navigation .vector-menu-content-list { | ||
padding-left: 10px; | padding-left: 10px; | ||
} | |||
/* Optional: make headings look like notebook section headers */ | |||
#mw-site-navigation .portal h3, | |||
#mw-site-navigation .vector-menu-heading { | |||
font-weight: 700; | |||
color: #2a4a7b; | |||
margin-top: 10px; | |||
margin-bottom: 4px; | |||
} | } | ||