Pinkachu's Playhouse Wiki
Advertisement
  • Enable fonts at WikiFactory.
Variable - wgFileExtensionsLocal ["ttf","otf","woff"]
  • Go to the site and upload using multiple uploader
  • Add css to Common.css to enable users to download the font automatically. To get the actual URL of the font, right click on the file name on the file info page and click on 'copy link address'.  Paste in url, but remove the 'revision' information at the end after the font extension.  
@font-face {
   font-family: "DKLampion";
   src:url(DKLampion.otf) format('opentype');
   src: local(‚ò∫),; /* because no one will have this on their local machines,
                       it forces browsers to accept only LK Lampion */
                   
                   
           /* The next two declarations may no longer be necessary, but at one point
              they were required to make it possible to apply styling to 
              imported fonts in webkit browsers.  Can't hurt to still include
              them, even in 2014. */
   font-weight: normal; 
   font-style: normal;
}


.WikiaPage { 
 font-family: Lucida Grande,Trebuchet MS,Gill Sans,Verdana,URW Gothic L,Nimbus Sans L,sans-serif;
 letter-spacing:.5px;
 }
  • If you want to use the font in specific situations, then add it using css:
.WikiaPageHeader h1,
.WikiaPageHeader h2 {
    font-family:DKLampion;
    letter-spacing:.5px;
    color:#beccce;
    font-weight:bold;
    }
.WikiaPageHeader h1 {
    text-shadow: 0px 0px 5px rgba(147, 180, 181, .9);
    }
.WikiaArticle h2 {
   font-family:DKLampion;
   letter-spacing:.5px;
   color:#beccce;
   font-weight:bold;
   text-shadow: 0px 0px 5px rgba(147, 180, 181, .9);
   }
Advertisement