MediaWiki talk:Common.css: Difference between revisions
Appearance
→Navigation, etc. headings: new section |
m typo |
||
| Line 31: | Line 31: | ||
== Navigation, etc. headings == | == Navigation, etc. headings == | ||
Is there | Is there any way to shrink down those headings (Navigation, Tools, etc.) on the sidebar to a more reasonable size? [[User:Nathan Larson|Nathan Larson]] ([[User talk:Nathan Larson|talk]]) 10:44, 13 December 2013 (MSK) | ||
Revision as of 06:44, 13 December 2013
What does this do?
For those of us less aware of some of the inner workings of wikis and css (cascading style sheets: http://en.wikipedia.org/wiki/Cascading_Style_Sheets ), could someone give a thumbnail sketch of how this helps us and perhaps point to an example of where it is being used? Thanks in advance! -- RayBirks 16:58, 22 November 2010 (CST)
- This page defines "classes" that make it easier to do common types of formatting. For just one example, about halfway down there's the "prettytable" class. It sets colors, borders and other things related to tables. As a result, it's easy to create a nice-looking table. Just type:
{| class="prettytable"- |-
- !This is a new table!!Another header
- |-
- |Entry 1||Entry 2
|}
- And you get:
This is a new table Another header Entry 1 Entry 2
- If you didn't include the 'class="prettytable"' part, you'd get:
This is a new table Another header Entry 1 Entry 2
- Same thing goes for most of the other classes found here. If you have a specific question about where a particular class is used, feel free to ask here. --Forgottenman (talk) 20:38, 22 November 2010 (CST)
Is there any way to shrink down those headings (Navigation, Tools, etc.) on the sidebar to a more reasonable size? Nathan Larson (talk) 10:44, 13 December 2013 (MSK)