![]() ![]() Special:MyPage/common.css allows the creation of personal stylesheets for all skins. If enabled on your wiki, individual users can create custom stylesheets just for themselves at Special:MyPage/.css (for example Special:MyPage/vector.css if they are using the vector skin). If you want to make all text on the wiki larger you can add the code body to MediaWiki:Common.css.įor mobile version use MediaWiki:Mobile.css To change the way MediaWiki pages print, you put CSS into MediaWiki:Print.css on your wiki.ĬSS can be used to change the style of the entire wiki, for example to make the background a different color, or you can use inline CSS to style specific pieces of text in your wiki.įor example green text can be accomplished by doing green text. If code added to MediaWiki:Common.css doesn't take effect immediately, you may have to do a hard refresh. ![]() (Requires the following permission to edit: "interface administrator") It will appear as a file with an address something like. To find it, type MediaWiki:Common.css in the search box on the main page of your wiki. The page initially consists of just a one-line comment. ![]() This file is a page in your wiki, not a file like index.php or load.php, so you cannot find it by looking at the directory structure on your server, nor is it linked to your Main Page or any other page initially. To change the look and feel of MediaWiki's screen display (how it looks in a browser) you can put CSS into MediaWiki:Common.css. For the extension, see Extension:CSS.Ĭascading Style Sheet (CSS) rules sets much of the look and feel of MediaWiki: font size, colors, spacing, the logo, and background image, even whether site content is displayed or is hidden. ![]()
0 Comments
Leave a Reply. |