MediaWiki:Monobook.css — различия между версиями
Материал из Энциклопедия фонда «Хайазг»
Oshlikov (обсуждение | вклад) |
Oshlikov (обсуждение | вклад) |
||
(не показано 7 промежуточных версий этого же участника) | |||
Строка 1: | Строка 1: | ||
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */ | /* Размещённый здесь CSS будет применяться к теме оформления Monobook */ | ||
− | |||
− | |||
− | |||
− | |||
/* | /* | ||
Строка 41: | Строка 37: | ||
margin-right:inherit; | margin-right:inherit; | ||
} | } | ||
+ | |||
+ | .captcha-info { | ||
+ | background-color:#AE1500; | ||
+ | color:white; | ||
+ | } | ||
+ | |||
+ | |||
+ | /*===== NOTICE =====*/ | ||
+ | |||
+ | /* Styles for Notices */ | ||
+ | div.notice-all div, div.notice-all span { | ||
+ | margin: 0 !important; | ||
+ | } | ||
+ | .notice-pitch { | ||
+ | display: inline-block; | ||
+ | background-color: transparent; | ||
+ | margin: 1.15em 0em; | ||
+ | } | ||
+ | .notice-pitch-text { | ||
+ | overflow: visible; | ||
+ | font-family: sans-serif; | ||
+ | font-size: 1em; | ||
+ | line-height: 1.5em; | ||
+ | padding: 0.75em !important; | ||
+ | /* cursor: pointer;*/ | ||
+ | } | ||
+ | .notice-pitch-text-big { | ||
+ | font-size: 1.5em; | ||
+ | } | ||
+ | .notice-slogan { | ||
+ | color: #6E98C2; | ||
+ | font-weight: bold; | ||
+ | padding-right: 1em; | ||
+ | } | ||
+ | .siteNoticeBig { | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | width: 100%; | ||
+ | border: solid 1px silver; | ||
+ | background-color: #f3f3f3; | ||
+ | margin-bottom: 1em; | ||
+ | } | ||
+ | .siteNoticeBig .notice-toggle { | ||
+ | position: absolute; | ||
+ | top: 0em; | ||
+ | right: 0.5em; | ||
+ | font-size: 0.75em; | ||
+ | } | ||
+ | .siteNoticeBig .notice-button { | ||
+ | position: absolute; | ||
+ | bottom: 0.5em; | ||
+ | right: 0.5em; | ||
+ | height: 28px; | ||
+ | text-align: center; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | .siteNoticeBig .notice-button-start { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button.png); | ||
+ | background-position: left top; | ||
+ | width: 12px; | ||
+ | height: 28px; | ||
+ | } | ||
+ | .siteNoticeBig .notice-button-end { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button.png); | ||
+ | background-position: right bottom; | ||
+ | width: 12px; | ||
+ | height: 28px; | ||
+ | } | ||
+ | |||
+ | #bodyContent .siteNoticeBig .notice-button a.external { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button.png); | ||
+ | background-position: center center; | ||
+ | background-repeat: repeat-x; | ||
+ | font-family: sans-serif; | ||
+ | font-size: 1em; | ||
+ | font-weight: bold; | ||
+ | color: white; | ||
+ | line-height: 28px; | ||
+ | height: 28px; | ||
+ | } | ||
+ | .siteNoticeBig .notice-thermometer { | ||
+ | height: 21px; | ||
+ | width: 450px; | ||
+ | margin-top: 0.75em !important; | ||
+ | } | ||
+ | .siteNoticeBig .notice-thermometer-start { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png); | ||
+ | background-position: left top; | ||
+ | width: 10px; | ||
+ | height: 21px; | ||
+ | } | ||
+ | .siteNoticeBig .notice-thermometer-fill { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png); | ||
+ | background-position: left -21px; | ||
+ | height: 21px; | ||
+ | color: white; | ||
+ | font-weight: bold; | ||
+ | text-align: right; | ||
+ | line-height: 21px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .siteNoticeBig .notice-thermometer-transition { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer-transition.png); | ||
+ | height: 21px; | ||
+ | width: 24px; | ||
+ | } | ||
+ | .siteNoticeBig .notice-thermometer-base { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png); | ||
+ | background-position: left 42px; | ||
+ | height: 21px; | ||
+ | color: #3474b5; | ||
+ | font-weight: bold; | ||
+ | text-align: right; | ||
+ | line-height: 21px; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .siteNoticeBig .notice-thermometer-end { | ||
+ | float: left; | ||
+ | background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png); | ||
+ | background-position: right bottom; | ||
+ | width: 10px; | ||
+ | height: 21px; | ||
+ | } | ||
+ | |||
+ | .siteNoticeSmallAnon { | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | width: 100%; | ||
+ | border: solid 1px silver; | ||
+ | background-color: #f3f3f3; | ||
+ | text-align: center; | ||
+ | padding: 0.1em 0; | ||
+ | margin-bottom: 1em; | ||
+ | } | ||
+ | .siteNoticeSmallAnon .notice-toggle { | ||
+ | float: right; | ||
+ | font-size: 0.75em; | ||
+ | padding-right: 0.5em; | ||
+ | } | ||
+ | .siteNoticeSmallAnon .notice-slogan { | ||
+ | padding-left: 0.5em; | ||
+ | } | ||
+ | .siteNoticeSmallUser { | ||
+ | position: relative; | ||
+ | float: left; | ||
+ | width: 100%; | ||
+ | text-align: center; | ||
+ | margin-bottom: 1em; | ||
+ | } | ||
+ | .siteNoticeSmallUser .notice-toggle { | ||
+ | float: right; | ||
+ | font-size: 0.75em; | ||
+ | } |
Текущая версия на 15:54, 22 ноября 2009
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */
/*
Это нужно чтобы в окошке поиска кнопки не разбивались на 2 строки
к сожалению в main.css для кнопки Go прописаны паддинги .5em.
Что хорошо для "Go" плохо для "Перейти" --st0rm
*/
#searchGoButton {
padding-left: 0em;
padding-right: 0em;
font-weight: bold;
}
/* для редактирования нулевой секции */
/* DPL */
table.wikitable, table.sortable, table.prettytable {
background:#F9F9F9 none repeat scroll 0%;
border:1px solid #AAAAAA;
border-collapse:collapse;
margin:1em 1em 1em 0pt;
}
table.wikitable td, table.sortable td, table.prettytable td {
border:1px solid #AAAAAA;
padding:0.2em;
}
table.wikitable th, table.sortable th, table.prettytable th {
background:#E6E6FA none repeat scroll 0%;
border:1px solid #AAAAAA;
text-align:center;
}
table.wikitable caption, table.sortable caption, table.prettytable caption {
margin-left:inherit;
margin-right:inherit;
}
.captcha-info {
background-color:#AE1500;
color:white;
}
/*===== NOTICE =====*/
/* Styles for Notices */
div.notice-all div, div.notice-all span {
margin: 0 !important;
}
.notice-pitch {
display: inline-block;
background-color: transparent;
margin: 1.15em 0em;
}
.notice-pitch-text {
overflow: visible;
font-family: sans-serif;
font-size: 1em;
line-height: 1.5em;
padding: 0.75em !important;
/* cursor: pointer;*/
}
.notice-pitch-text-big {
font-size: 1.5em;
}
.notice-slogan {
color: #6E98C2;
font-weight: bold;
padding-right: 1em;
}
.siteNoticeBig {
position: relative;
float: left;
width: 100%;
border: solid 1px silver;
background-color: #f3f3f3;
margin-bottom: 1em;
}
.siteNoticeBig .notice-toggle {
position: absolute;
top: 0em;
right: 0.5em;
font-size: 0.75em;
}
.siteNoticeBig .notice-button {
position: absolute;
bottom: 0.5em;
right: 0.5em;
height: 28px;
text-align: center;
background-color: transparent;
}
.siteNoticeBig .notice-button-start {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button.png);
background-position: left top;
width: 12px;
height: 28px;
}
.siteNoticeBig .notice-button-end {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button.png);
background-position: right bottom;
width: 12px;
height: 28px;
}
#bodyContent .siteNoticeBig .notice-button a.external {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/button.png);
background-position: center center;
background-repeat: repeat-x;
font-family: sans-serif;
font-size: 1em;
font-weight: bold;
color: white;
line-height: 28px;
height: 28px;
}
.siteNoticeBig .notice-thermometer {
height: 21px;
width: 450px;
margin-top: 0.75em !important;
}
.siteNoticeBig .notice-thermometer-start {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png);
background-position: left top;
width: 10px;
height: 21px;
}
.siteNoticeBig .notice-thermometer-fill {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png);
background-position: left -21px;
height: 21px;
color: white;
font-weight: bold;
text-align: right;
line-height: 21px;
overflow: hidden;
}
.siteNoticeBig .notice-thermometer-transition {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer-transition.png);
height: 21px;
width: 24px;
}
.siteNoticeBig .notice-thermometer-base {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png);
background-position: left 42px;
height: 21px;
color: #3474b5;
font-weight: bold;
text-align: right;
line-height: 21px;
overflow: hidden;
}
.siteNoticeBig .notice-thermometer-end {
float: left;
background-image: url(http://upload.wikimedia.org/centralnotice/images/2009/thermometer.png);
background-position: right bottom;
width: 10px;
height: 21px;
}
.siteNoticeSmallAnon {
position: relative;
float: left;
width: 100%;
border: solid 1px silver;
background-color: #f3f3f3;
text-align: center;
padding: 0.1em 0;
margin-bottom: 1em;
}
.siteNoticeSmallAnon .notice-toggle {
float: right;
font-size: 0.75em;
padding-right: 0.5em;
}
.siteNoticeSmallAnon .notice-slogan {
padding-left: 0.5em;
}
.siteNoticeSmallUser {
position: relative;
float: left;
width: 100%;
text-align: center;
margin-bottom: 1em;
}
.siteNoticeSmallUser .notice-toggle {
float: right;
font-size: 0.75em;
}