MediaWiki Skins Design
上QQ阅读APP看书,第一时间看更新

The Interface Area: .portlet

The area around the main content area is classified by the .portlet class. Beware of excessively styling this, because by default, the class includes the page's userbar, its navigation, and the search facility. We can either change the classes applied to these files in our MediaWiki skin's PHP template file, or work with the classes and ids used in other MediaWiki themes such as MonoBook.

We have already declared our chosen fonts for the content area, but we can redefine the fonts for the areas surrounding the content. Refer to the following code:

.portlet {
font-family: georgia, "times new roman", times, serif;
}