MediaWiki:Monobook.css — различия между версиями
Материал из GTAModding.ru
Seemann (обсуждение | вклад) (Новая: - →Размещённый здесь CSS будет применяться к теме оформления Monobook: /* Это нужно чтобы в окошке поиска кн...) |
Seemann (обсуждение | вклад) |
||
Строка 39: | Строка 39: | ||
border-radius-topright: 1em; | border-radius-topright: 1em; | ||
border-radius-bottomright: 1em; | border-radius-bottomright: 1em; | ||
+ | } | ||
+ | |||
+ | /* move the catlinks box */ | ||
+ | #catlinks { | ||
+ | right:1em; | ||
+ | top:-0.25em; | ||
+ | max-width: 50%; /* this limits the box size, but doesn't set strictly */ | ||
+ | float: right; | ||
+ | margin: 0.5em; | ||
+ | padding: 0.2em; | ||
+ | } | ||
+ | |||
+ | /* format the catlinks itself */ | ||
+ | p.catlinks { | ||
+ | font-size:67%; | ||
+ | text-align:left; | ||
+ | text-indent:0; | ||
+ | text-transform: none; | ||
+ | white-space:normal; | ||
+ | margin: 0.2em; | ||
} | } |
Версия 09:12, 26 марта 2009
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */ /* Это нужно чтобы в окошке поиска кнопки не разбивались на 2 строки к сожалению в main.css для кнопки Go прописаны паддинги .5em. Что хорошо для "Go" плохо для "Перейти" --st0rm */ #searchGoButton { padding-left: 0em; padding-right: 0em; font-weight: bold; } /* make a few corners round, only supported by moz/firefox/other gecko browsers for now */ #p-cactions ul li, #p-cactions ul li a { -moz-border-radius-topleft: 1em; -moz-border-radius-topright: 1em; } #content { -moz-border-radius-topleft: 1em; -moz-border-radius-bottomleft: 1em; } div.pBody { -moz-border-radius-topright: 1em; -moz-border-radius-bottomright: 1em; } /* same following the css3 draft specs, any browsers supporting this? */ #p-cactions ul li, #p-cactions ul li a { border-radius-topleft: 1em; border-radius-topright: 1em; } #content { border-radius-topleft: 1em; border-radius-bottomleft: 1em; } div.pBody { border-radius-topright: 1em; border-radius-bottomright: 1em; } /* move the catlinks box */ #catlinks { right:1em; top:-0.25em; max-width: 50%; /* this limits the box size, but doesn't set strictly */ float: right; margin: 0.5em; padding: 0.2em; } /* format the catlinks itself */ p.catlinks { font-size:67%; text-align:left; text-indent:0; text-transform: none; white-space:normal; margin: 0.2em; }