Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
Line 5: Line 5:
background-size:cover;}
background-size:cover;}


/* Sidebar notebook paper effect */
/* Notebook‑paper sidebar for #mw-site-navigation */
#mw-panel {
#mw-site-navigation {
  /* soft off‑white base */
   background-color: #faf7f0; /* soft off‑white */
   background-color: #faf7f0;
 
  /* light blue horizontal lines */
   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; /* line spacing */
   background-size: 100% 26px; /* spacing between lines */
  padding: 12px;
  border-right: 1px solid rgba(0,0,0,0.08);
}
}


/* Optional: keep boxes visually clean */
/* Remove default box styling inside the sidebar */
#mw-panel .portal,
#mw-site-navigation .portal,
#mw-panel .vector-menu {
#mw-site-navigation .vector-menu,
#mw-site-navigation .vector-menu-content {
   background: transparent;
   background: transparent;
   border: none;
   border: none;
Line 27: Line 27:
}
}


/* Optional: subtle left margin so text doesn’t sit on the edge */
/* Slight indent so text doesn't sit on the line edge */
#mw-panel .body,
#mw-site-navigation .body,
#mw-panel .vector-menu-content-list {
#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;
}
}