Difference between revisions of "MediaWiki:Monobook.css"
From Mm2kiwi
(Added wikitable - MediaWiki:Common.css doesn't work, it seems) |
(→Moved folder tree styles here) |
||
| Line 27: | Line 27: | ||
margin-right: inherit; | margin-right: inherit; | ||
} | } | ||
| + | |||
| + | /* Folder tree styles start */ | ||
| + | div.FolderTree ul, li | ||
| + | { | ||
| + | margin: 0px; | ||
| + | padding: 0px; | ||
| + | } | ||
| + | |||
| + | /* sublist indentation */ | ||
| + | div.FolderTree ul | ||
| + | { | ||
| + | padding-left: 16px; | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li | ||
| + | { | ||
| + | list-style-position: inside; | ||
| + | list-style-image: url(icons/FolderTree-vertbranch.gif); | ||
| + | background-image: url(icons/FolderTree-dotted.gif); | ||
| + | background-repeat: repeat-y; | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li:last-child | ||
| + | { | ||
| + | background-repeat: no-repeat; | ||
| + | list-style-image: url(icons/FolderTree-dottedend.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li.FolderTree-Open:before | ||
| + | { | ||
| + | content: url(icons/FolderTree-folderopen.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li.FolderTree-Open | ||
| + | { | ||
| + | list-style-image: url(icons/FolderTree-minusmid.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li.FolderTree-Open:last-child | ||
| + | { | ||
| + | background-image: none; | ||
| + | list-style-image: url(icons/FolderTree-minusend.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li.FolderTree-Closed:before | ||
| + | { | ||
| + | content: url(icons/FolderTree-folderclosed.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li.FolderTree-Closed | ||
| + | { | ||
| + | list-style-image: url(icons/FolderTree-plusmid.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li.FolderTree-Closed:last-child | ||
| + | { | ||
| + | background-image: none; | ||
| + | list-style-image: url(icons/FolderTree-plusend.gif); | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| + | div.FolderTree ul li.FolderTree-File-JS:before | ||
| + | { | ||
| + | content: url(icons/FolderTree-filejs.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree ul li.FolderTree-File-JS:last-child | ||
| + | { | ||
| + | background-image: none; | ||
| + | list-style-image: url(icons/FolderTree-dottedend.gif); | ||
| + | } | ||
| + | |||
| + | div.FolderTree-Content | ||
| + | { | ||
| + | margin-left: 48px; | ||
| + | } | ||
| + | /* Folder tree styles end */ | ||
Revision as of 19:42, 21 June 2006
/* edit this file to customize the monobook skin for the entire site */
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
/* Folder tree styles start */
div.FolderTree ul, li
{
margin: 0px;
padding: 0px;
}
/* sublist indentation */
div.FolderTree ul
{
padding-left: 16px;
}
div.FolderTree ul li
{
list-style-position: inside;
list-style-image: url(icons/FolderTree-vertbranch.gif);
background-image: url(icons/FolderTree-dotted.gif);
background-repeat: repeat-y;
}
div.FolderTree ul li:last-child
{
background-repeat: no-repeat;
list-style-image: url(icons/FolderTree-dottedend.gif);
}
div.FolderTree ul li.FolderTree-Open:before
{
content: url(icons/FolderTree-folderopen.gif);
}
div.FolderTree ul li.FolderTree-Open
{
list-style-image: url(icons/FolderTree-minusmid.gif);
}
div.FolderTree ul li.FolderTree-Open:last-child
{
background-image: none;
list-style-image: url(icons/FolderTree-minusend.gif);
}
div.FolderTree ul li.FolderTree-Closed:before
{
content: url(icons/FolderTree-folderclosed.gif);
}
div.FolderTree ul li.FolderTree-Closed
{
list-style-image: url(icons/FolderTree-plusmid.gif);
}
div.FolderTree ul li.FolderTree-Closed:last-child
{
background-image: none;
list-style-image: url(icons/FolderTree-plusend.gif);
}
div.FolderTree ul li.FolderTree-File-JS:before
{
content: url(icons/FolderTree-filejs.gif);
}
div.FolderTree ul li.FolderTree-File-JS:last-child
{
background-image: none;
list-style-image: url(icons/FolderTree-dottedend.gif);
}
div.FolderTree-Content
{
margin-left: 48px;
}
/* Folder tree styles end */