MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Created page with "body { background-image: url('/images/paper-texture.gif'); background-size:cover;} #mw-content-container { background-image: url('/images/paper-texture.gif'); background-size:cover;}" |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 4: | Line 4: | ||
#mw-content-container { background-image: url('/images/paper-texture.gif'); | #mw-content-container { background-image: url('/images/paper-texture.gif'); | ||
background-size:cover;} | background-size:cover;} | ||
/* Notebook‑paper sidebar for #mw-site-navigation */ | |||
#mw-site-navigation { | |||
background-color: #faf7f0; /* soft off‑white */ | |||
background-image: linear-gradient( | |||
to bottom, | |||
rgba(120, 170, 220, 0.35) 1px, | |||
rgba(250, 247, 240, 0) 1px | |||
); | |||
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-site-navigation .portal, | |||
#mw-site-navigation .vector-menu, | |||
#mw-site-navigation .vector-menu-content { | |||
background: transparent; | |||
border: none; | |||
box-shadow: none; | |||
} | |||
/* Slight indent so text doesn't sit on the line edge */ | |||
#mw-site-navigation .body, | |||
#mw-site-navigation .vector-menu-content-list { | |||
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; | |||
} | |||