MediaWiki:Common.css

From Everybody Edits Wiki
Revision as of 03:48, 27 March 2026 by Boba (talk | contribs) (this is better, actually)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ========================================== */
/* Main Page                                  */
/* ========================================== */
body.page-Main_Page h1.firstHeading {
    display:none;
}

.mainPage_container {
  display:flex;
  flex-direction:column;
  position:relative;
  color:#DDDDDD;
  background:#333333;
  border:2px solid #7B7B7B;
  border-radius:10px;
  padding:5px;
  margin:5px;
}

.mainPage_full {
  flex:1;
}

/* ========================================== */
/* Main Page - Welcome                        */
/* ========================================== */
.mainPage_banner {
  background:url(https://wiki.everybodyedits.com/images/9/96/WikiBanner.png);
  background-position:center;
  opacity:0.5;
  position:absolute;
  border-radius:5px;
  inset:5px;
}

.mainPage_welcome {
  display:flex;
  flex-direction:column;
  align-items:center;
  z-index:1;
  padding:5px;
  font-size: 16px;
  text-shadow: 2px 2px 2px #000000;
}

/* ========================================== */
/* Main Page - Items                          */
/* ========================================== */
.mainPage_items {
  display:flex;
}

.mainPage_header {
  font-size:150%;
  font-weight:bold;
  color:#DDDDDD;
  background:#222222;
  border-radius:5px;
  padding:5px 10px;
  margin-bottom:5px;
}

/* ========================================== */
/* Main Page - Index                          */
/* ========================================== */
.mainPage_index {
  display:flex;
  justify-content:space-around;
  align-items:center;
  height:100%;
}

.mainPage_indexItem {
  display:flex;
  flex-direction:column;
  align-items:center;
}

/* ========================================== */
/* Main Page - News                           */
/* ========================================== */
.mainPage_news {
  display:flex;
  flex-direction:column;
  align-items:center;
  margin-bottom:5px;
}

.mainPage_newsDate, .mainPage_newsItem {
  font-weight:bold;
}

.mainPage_newsItem {
  font-size:125%;
}