MediaWiki:Common.css
Матеріал з PSYH.KIEV.UA -- Вісник психології і соціальної педагогіки
(відмінності між версіями)
Snak (Обговорення • внесок) (Створена сторінка: - →* Розміщений тут CSS буде застосовуватися до всіх тем оформлення: /* When <div class="nonumtoc"> is used o...) |
Snak (Обговорення • внесок) |
||
Рядок 15: | Рядок 15: | ||
.nonumtoc .toc ul ul { | .nonumtoc .toc ul ul { | ||
margin: 0 0 0 2em; | margin: 0 0 0 2em; | ||
+ | } | ||
+ | |||
+ | |||
+ | /** Collapsible tables ********************************************************* | ||
+ | * | ||
+ | * Description: Allows tables to be collapsed, showing only the header. See | ||
+ | * http://www.mediawiki.org/wiki/Manual:Collapsible_tables. | ||
+ | * Maintainers: [[en:User:R. Koot]] | ||
+ | */ | ||
+ | |||
+ | table.collapsed tr.collapsible { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ | ||
+ | float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ | ||
+ | font-weight: normal; /* are styled here so they can be customised. */ | ||
+ | text-align: right; | ||
+ | width: auto; | ||
} | } |
Поточна версія на 16:01, 12 січня 2012
/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */ /* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */ .nonumtoc .tocnumber { display:none; } .nonumtoc #toc ul, .nonumtoc .toc ul { line-height: 1.5em; list-style: none; margin: .3em 0 0; padding: 0; } .nonumtoc #toc ul ul, .nonumtoc .toc ul ul { margin: 0 0 0 2em; } /** Collapsible tables ********************************************************* * * Description: Allows tables to be collapsed, showing only the header. See * http://www.mediawiki.org/wiki/Manual:Collapsible_tables. * Maintainers: [[en:User:R. Koot]] */ table.collapsed tr.collapsible { display: none; } .collapseButton { /* 'show'/'hide' buttons created dynamically by the */ float: right; /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */ font-weight: normal; /* are styled here so they can be customised. */ text-align: right; width: auto; }