- MediaWiki Skins Design
- Richard Carter
- 107字
- 2021-05-28 17:39:12
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; }
推薦閱讀
- 中文版Photoshop CS6完全使用手冊(超值版)
- 數(shù)碼攝影后期零基礎入門教程
- 中文版CorelDRAW 2022基礎教程
- CAXA CAD電子圖板2020工程制圖
- 設計模式之禪(第2版)
- 數(shù)碼攝影后期高手之路(第2版)
- 圖解Word 2007圖文排版與辦公應用
- CMS Design Using PHP and jQuery
- Apache Solr 3.1 Cookbook
- Photoshop CS6從入門到精通
- Maya 2015從入門到精通
- Flash with Drupal
- Flash Multiplayer Virtual Worlds
- CorelDRAW 2017從新手到高手
- PhoneGap Beginner's Guide