MediaWiki:Common.css: Difference between revisions

From Practices and Politics of Representation
Jump to navigation Jump to search
No edit summary
Tag: Reverted
Blanked the page
Tags: Blanking Manual revert
Line 1: Line 1:
/* ─── Flat Dark Theme with Action Tabs & Fixed Sidebar ───────────────── */


/* 1) Global reset */
* {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: none !important;
  border-radius: 0 !important;
}
/* 2) Base typography & body */
body, .mw-body, .mw-page-container {
  background: #000 !important;
  color: #fff !important;
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  /* reserve space for sidebar and top tabs */
  padding-left: 200px !important;
  padding-top: 40px !important;
}
/* 3) Page action tabs (Read/Edit/View source/History) */
#p-views {
  position: fixed !important;
  top: 0; left: 200px; right: 0;
  background: #111 !important;
  border-bottom: 1px solid #333 !important;
  z-index: 800 !important;
}
#p-views ul {
  display: flex !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 10px !important;
}
#p-views li {
  margin-right: 8px !important;
}
#p-views li a {
  display: block !important;
  padding: 10px 12px !important;
  color: #ff66cc !important;
  text-decoration: none !important;
}
#p-views li a:hover {
  background: #222 !important;
}
/* 4) Fixed sidebar */
#mw-panel {
  position: fixed !important;
  top: 40px; bottom: 0; left: 0;
  width: 200px !important;
  background: #111 !important;
  overflow-y: auto !important;
  padding: 10px !important;
  z-index: 700 !important;
}
/* Push content right of sidebar */
.mw-body {
  margin-left: 200px !important;
}
/* 5) Sidebar headings & links */
#mw-panel .portal h3 {
  color: #ff66cc !important;
  font-size: 14px !important;
  margin-bottom: 8px !important;
  border-bottom: 1px solid #333 !important;
  padding-bottom: 4px !important;
}
#mw-panel .portal ul {
  list-style: none !important;
  padding-left: 0 !important;
}
#mw-panel .portal ul li a {
  display: block !important;
  color: #fff !important;
  padding: 4px 0 !important;
  text-decoration: none !important;
}
#mw-panel .portal ul li a:hover {
  text-decoration: underline !important;
}
/* 6) Main content area */
#content, #bodyContent {
  background: transparent !important;
  border: none !important;
  padding: 60px 20px 20px 20px !important; /* top padding = tabs height + small gap */
}
/* 7) Headings without underlines */
h1, h2, h3, h4, h5, h6 {
  color: #fff !important;
  background: none !important;
  border: none !important;
  margin: 1em 0 0.5em 0 !important;
  padding: 0 !important;
}
/* 8) Pink links */
a, a:link, a:visited {
  color: #ff66cc !important;
  text-decoration: none !important;
}
a:hover {
  text-decoration: underline !important;
}
/* 9) Tables & infoboxes transparent */
table, th, td, .infobox, .navbox, .wikitable {
  background: transparent !important;
  border: none !important;
  color: #fff !important;
}
/* 10) Forms & buttons */
input, textarea, select, button {
  background: #111 !important;
  color: #fff !important;
  border: 1px solid #222 !important;
  padding: 6px 8px !important;
  font-family: Arial, sans-serif !important;
}
/* 11) Editor textarea & CodeMirror */
textarea#wpTextbox1, .CodeMirror, .ace_editor {
  background: #111 !important;
  color: #fff !important;
  font-family: Consolas, monospace !important;
}
/* 12) Hide logos & footer icons */
#p-logo, .mw-wiki-logo,
#footer, #footer-info, #footer-icons,
.mw-footer-logo, .printfooter,
.ccicons, .license {
  display: none !important;
}

Revision as of 20:32, 1 July 2025