MediaWiki:Monobook.css — различия между версиями

Материал из Энциклопедия фонда «Хайазг»
Перейти к: навигация, поиск
 
(не показано 10 промежуточных версий 2 участников)
Строка 1: Строка 1:
 
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */
 
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */
 +
  
 
/*
 
/*
Строка 16: Строка 17:
  
 
/* DPL */
 
/* DPL */
#p-navigation {
+
 
display:none;
 
}
 
#n-Manual {
 
background-color:#FFDDAA;
 
}
 
#n-Source {
 
background-color:#CCCCFF;
 
}
 
#n-Test {
 
background-color:#CCFFCC;
 
}
 
#n-Type {
 
background-color:#DEDEDE;
 
}
 
table.dpl3columns td {
 
background:#F2F2F2 none repeat scroll 0%;
 
border:3px none;
 
padding:0.5em;
 
width:33%;
 
}
 
table.dplmatrix {
 
background:#F9F9F9 none repeat scroll 0%;
 
border:1px solid #AAAAAA;
 
border-collapse:collapse;
 
margin:1em 1em 1em 0pt;
 
}
 
table.dplmatrix th {
 
background:#F2F2F2 none repeat scroll 0%;
 
border:1px solid #AAAAAA;
 
font-size:80%;
 
padding:0.5em;
 
}
 
table.dplmatrix td {
 
border:1px solid #AAAAAA;
 
padding:0.5em;
 
text-align:center;
 
}
 
 
table.wikitable, table.sortable, table.prettytable {
 
table.wikitable, table.sortable, table.prettytable {
 
background:#F9F9F9 none repeat scroll 0%;
 
background:#F9F9F9 none repeat scroll 0%;
Строка 66: Строка 30:
 
table.wikitable th, table.sortable th, table.prettytable th {
 
table.wikitable th, table.sortable th, table.prettytable th {
 
background:#E6E6FA none repeat scroll 0%;
 
background:#E6E6FA none repeat scroll 0%;
border-top:1px solid #AAAAAA;
+
border:1px solid #AAAAAA;
 
text-align:center;
 
text-align:center;
 
}
 
}
Строка 73: Строка 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;
 }