FANDOM


This main page consists of several divs, and their appropriate CSS in MediaWiki:Wikia.css.

The Main Header:

<div id="mainpage-header" class="main-page"> </div>

The Secondary Header:

<div id="mainpage-header" class="main-page-2"> </div>

The Text Box:

<div id="main-page-content" class="main-page-text-styling"> </div>

Each of these have their own CSS that you can edit for your own wiki.

Note: the two headers use the same CSS id, mainpage-header. Because of this, I will only put the CSS for the classunder the headers, and the CSS for the id right below this paragraph.

/* header id */
#mainpage-header {
  background-image:url('/* a background image, must be the very end URL */');
  width:62%;
  height:33px;
  border:10px solid black;
  border-radius:5px;
}

The Main Header:

/* Main header class */
.main-page {
  color:white;
  font-size:35px;
  font-weight:bold;
  text-align:center;
  padding:12px;
  font-family:Stencil Std;
}

The Secondary Header:

/* Secondary header class */
.main-page-2 {
  color:white !important;
  font-size:30px;
  font-weight:bold;
  text-align:left;
  padding:12px;
  font-family:Stencil Std;
}

The Text Box:

/* the text box */
#main-page-content {
  background-color:black;
  border-radius:8px;
  border:8px solid black;
  width:60%;
}
.main-page-text-styling {
  font-weight:bold;
  font-family:Trajan Pro;
  font-size:20px;
  padding:10px;
}

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.