MediaWiki:Common.css: Difference between revisions

From Everybody Edits Wiki
Jump to navigation Jump to search
no flex here
ah, but increase padding
Line 56: Line 56:
   background:#222222;
   background:#222222;
   border-radius:5px;
   border-radius:5px;
   padding:5px;
   padding:5px, 10px;
   margin-bottom:5px;
   margin-bottom:5px;
}
}

Revision as of 02:27, 27 March 2026

/* ========================================== */
/* 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);
  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%;
}