MediaWiki:Vector.css
Вы находитесь на сайте "Архив статей из ЭЕЭ и статей на еврейские темы из Википедии"
(Различия между версиями)
Ariely (Обсуждение | вклад) (Новая страница: «/* <source lang="css"> */ /* The following are Vector bugfixes */ - →Temporary fix until bugzilla:19567 is addressed: #siteNotice div { margin: 0; } #siteNot…») |
Ariely (Обсуждение | вклад) |
||
Строка 1: | Строка 1: | ||
/* <source lang="css"> */ | /* <source lang="css"> */ | ||
- | /* | + | /* унификация ссылок в верхнем меню */ |
- | + | #p-personal { | |
- | + | text-transform: lowercase; | |
- | # | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | /* | + | /* неотпатрулированные жёлтым в новых статьях */ |
- | + | .not-patrolled { | |
- | + | background: #ffa; | |
} | } | ||
- | /* | + | /* выпадающее меню поверх координат */ |
- | + | div#variants ul, | |
- | + | div#actions ul { | |
- | + | z-index: 2; | |
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
/* Don't display some stuff on the main page */ | /* Don't display some stuff on the main page */ | ||
- | body.page- | + | body.page-Заглавная_страница #deleteconfirm, |
- | body.page- | + | body.page-Заглавная_страница #t-cite, |
- | body.page- | + | body.page-Заглавная_страница #footer-info-lastmod, |
- | body.page- | + | body.page-Заглавная_страница #siteSub, |
- | body.page- | + | body.page-Заглавная_страница #contentSub, |
- | body.page- | + | body.page-Заглавная_страница h1.firstHeading { |
display: none !important; | display: none !important; | ||
} | } | ||
Строка 71: | Строка 31: | ||
} | } | ||
- | #coordinates { | + | #coordinates { |
position: absolute; | position: absolute; | ||
- | top: - | + | top: -2em; |
- | right: | + | right: 2em; |
float: right; | float: right; | ||
margin: 0.0em; | margin: 0.0em; | ||
Строка 86: | Строка 46: | ||
} | } | ||
- | /* | + | /* См. Шаблон:Right-uppermost image */ |
- | + | .floating_object { | |
- | + | ||
position: absolute; | position: absolute; | ||
- | top: - | + | right: 0px !important; |
- | + | top: -31px !important; | |
- | + | z-index: 100; | |
+ | overflow: hidden; | ||
} | } | ||
- | + | ||
- | + | body.ns-0 .floating_object { | |
- | + | top: -20px !important; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | |||
+ | /* Скрыть надпись «опробовать бета-версию» */ | ||
+ | li#pt-optin-try { display: none; } | ||
/* Display "From Wikipedia, the free encyclopedia" */ | /* Display "From Wikipedia, the free encyclopedia" */ | ||
Строка 110: | Строка 70: | ||
} | } | ||
- | + | /* Иконки хороших и избранных статей в других разделах */ | |
- | + | .portal li.GA { | |
- | + | background: url('http://upload.wikimedia.org/wikipedia/commons/6/6f/QS_blue_star_small.png') right top no-repeat; | |
+ | margin-right: 10px !important; | ||
} | } | ||
- | + | .portal li.FA { | |
- | + | background: url('http://upload.wikimedia.org/wikipedia/commons/3/33/Small_skew_star.gif') right top no-repeat; | |
- | + | margin-right: 10px !important; | |
- | + | ||
} | } | ||
- | + | .portal li.FL { | |
- | + | background: url('http://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Purple_star_unboxed.svg/11px-Purple_star_unboxed.svg.png') right top no-repeat; | |
- | + | margin-right: 10px !important; | |
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | /* The following are Vector bugfixes */ | |
- | + | ||
- | + | ||
- | + | ||
- | /* | + | /* Temporary fix until [[bugzilla:19567]] is addressed */ |
- | # | + | #siteNotice div { margin: 0; } |
- | . | + | #siteNotice div.expanded table.siteNoticeUser { margin-bottom: 1em; } |
- | + | ||
- | + | /* Иконка в результатах поиска */ | |
+ | .searchresults-hint { | ||
+ | position: absolute; | ||
+ | top: -8px !important; | ||
+ | right: 4px !important; | ||
/* </source> */ | /* </source> */ |
Текущая версия на 21:44, 10 марта 2010
/* <source lang="css"> */ /* унификация ссылок в верхнем меню */ #p-personal { text-transform: lowercase; } /* неотпатрулированные жёлтым в новых статьях */ .not-patrolled { background: #ffa; } /* выпадающее меню поверх координат */ div#variants ul, div#actions ul { z-index: 2; } /* Don't display some stuff on the main page */ body.page-Заглавная_страница #deleteconfirm, body.page-Заглавная_страница #t-cite, body.page-Заглавная_страница #footer-info-lastmod, body.page-Заглавная_страница #siteSub, body.page-Заглавная_страница #contentSub, body.page-Заглавная_страница h1.firstHeading { display: none !important; } body.page-Main_Page #mp-topbanner { margin-top: 0 !important; } #coordinates { position: absolute; top: -2em; right: 2em; float: right; margin: 0.0em; padding: 0.0em; line-height: 1.5em; text-align: right; text-indent: 0; font-size: 85%; text-transform: none; white-space: nowrap; } /* См. Шаблон:Right-uppermost image */ .floating_object { position: absolute; right: 0px !important; top: -31px !important; z-index: 100; overflow: hidden; } body.ns-0 .floating_object { top: -20px !important; } /* Скрыть надпись «опробовать бета-версию» */ li#pt-optin-try { display: none; } /* Display "From Wikipedia, the free encyclopedia" */ body.ns-0 #siteSub, body.ns-1 #siteSub { display: inline; font-size: 92%; font-weight: normal; } /* Иконки хороших и избранных статей в других разделах */ .portal li.GA { background: url('http://upload.wikimedia.org/wikipedia/commons/6/6f/QS_blue_star_small.png') right top no-repeat; margin-right: 10px !important; } .portal li.FA { background: url('http://upload.wikimedia.org/wikipedia/commons/3/33/Small_skew_star.gif') right top no-repeat; margin-right: 10px !important; } .portal li.FL { background: url('http://upload.wikimedia.org/wikipedia/commons/thumb/0/02/Purple_star_unboxed.svg/11px-Purple_star_unboxed.svg.png') right top no-repeat; margin-right: 10px !important; } /* The following are Vector bugfixes */ /* Temporary fix until [[bugzilla:19567]] is addressed */ #siteNotice div { margin: 0; } #siteNotice div.expanded table.siteNoticeUser { margin-bottom: 1em; } /* Иконка в результатах поиска */ .searchresults-hint { position: absolute; top: -8px !important; right: 4px !important; /* </source> */