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

Материал из roboforum.ru Wiki
Перейти к: навигация, поиск
(SyntaxHighlight_TH)
 
(не показано 9 промежуточных версий этого же участника)
Строка 1: Строка 1:
/* MediaWiki:Monobook.css */
+
/* begin SyntaxHighlight_TH */
/* Размещённый здесь CSS будет применяться к теме оформления Monobook */
+
.hl-gutter {background-color : #CCCCCC; padding-right: 10px;}
 +
.hl-table {border: solid 1px #000000; padding:0;}
 +
.hl-main {font-family: monospace; font-size:13px; font-weight:normal; color:#999999}
  
/*
+
.hl-default { color: #000000; }
Это нужно чтобы в окошке поиска кнопки не разбивались на 2 строки
+
.hl-code { color: #000; font-weight: bold; }
к сожалению в main.css для кнопки Go прописаны паддинги .5em.
+
.hl-brackets { color: #009966; font-weight:bold }
Что хорошо для "Go" плохо для "Перейти" --st0rm
+
.hl-comment, .hl-mlcomment { color: #660; font-weight:normal; font-style: italic;}
*/
+
.hl-quotes { color: #00007F; }
#searchGoButton {
+
.hl-string { color: #7F0000; font-weight:bold }
    padding-left: 0em;
+
.hl-identifier { color: #000000; }
    padding-right: 0em;
+
.hl-reserved { color: #7F007F; font-weight:bold;}
     font-weight: bold;
+
.hl-inlinedoc { color: #0000FF; }
 +
.hl-var { color: #0066FF; }
 +
.hl-url { color: #FF0000; }
 +
.hl-special { color: #0000FF;  }
 +
.hl-number { color: #006600; font-weight:bold; }
 +
.hl-inlinetags { color: #FF0000; font-weight:bold; }
 +
.hl-builtin    { color:#996633; }
 +
.hl-prepro    { color:#0000FF; font-style:italic; font-weight: bold; }
 +
.hl-types     { color:#000066; font-weight:bold;}
 +
/* end SyntaxHighlight_TH */
 +
 
 +
#siteSub { /* "From Wikipedia, the free encyclopedia" */
 +
  display: inline;
 +
  font-size: 92%; 
 +
  font-weight: normal;
 
}
 
}
  
/* стили таблиц */
+
#toc {margin-top: 0.5em}
table.simple                      {border-color: rgb(170,170,170); border-collapse: collapse;}
 
table.simple th, table.simple td  {border-color: rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em;}
 
  
table.standard,    table.wide    {border:1px solid rgb(170,170,170); border-collapse: collapse;}
+
#ca-edit a {font-weight: bold} /* encourage newcomers */
table.standard th, table.wide th  {border:1px solid rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em; background-color: #EEEEFF;}
 
table.standard td, table.wide td  {border:1px solid rgb(170,170,170); padding-left: 0.2em; padding-right: 0.2em;}
 
table.wide {width: 100%;}
 
  
table.tiles    {border-collapse: separate; border-spacing: 2}
+
/* Light blue background except on articles and portals; need 32bit color to see difference */
table.tiles th  {padding-left: 0.2em; padding-right: 0.2em; background-color: #EEEEFF;}
+
#content, #p-cactions li a {background: #F8FCFF}
table.tiles td  {padding-left: 0.2em; padding-right: 0.2em; background-color: #F0F0F0;}
+
.ns-0 #content, .ns-100  #content,
 +
.ns-0 #p-cactions li a, .ns-100 #p-cactions li a {background-color: white}
 +
div.thumb {border-color: #F8FCFF}
 +
.ns-0 div.thumb, .ns-100 div.thumb {border-color: white}
 +
form table {background: transparent}
  
tr.highlight th {background-color: #EEEEFF;}
+
/* Hide some stuff on the main page */
tr.highlight td {background-color: #FFFFEE;}
+
body.page-Заглавная_страница #t-cite,
tr.bright th    {background-color: #CCCCFF;}
+
body.page-Заглавная_страница #lastmod,
tr.bright td    {background-color: #FFEECC;}
+
body.page-Заглавная_страница #siteSub,
tr.shadow th    {background-color: #F0F0F0;}
+
body.page-Заглавная_страница #contentSub,
tr.shadow td    {background-color: #F0F0F0;}
+
body.page-Заглавная_страница h1.firstHeading {
tr.dark th      {background-color: #CCCCCC;}
+
  display: none !important
tr.dark td      {background-color: #CCCCCC;}
+
}
  
table th.highlight    {background-color: #EEEEFF;}
+
/* Smaller "Перейти" (Go) button, so buttons fit on one line */
table td.highlight    {background-color: #FFFFEE;}
+
#searchGoButton {padding: 0}
table th.bright      {background-color: #CCCCFF;}
 
table td.bright      {background-color: #FFEECC;}
 
table th.shadow      {background-color: #F0F0F0;}
 
table td.shadow      {background-color: #F0F0F0;}
 
table th.dark        {background-color: #CCCCCC;}
 
table td.dark        {background-color: #CCCCCC;}  
 
  
table th.transparent  {background-color: transparent;}
+
.portlet li { /* slightly different bullet */
table td.transparent  {background-color: transparent;}
+
  list-style-image: url('http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png')
 +
}
 +
.portlet li.FA { /* featured interwiki */
 +
  list-style-image: url('http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png')
 +
}
  
/* стили TreeView */
+
/* Gecko rounded corners */
.tree-view,
+
.pBody {
.tree-view tr.tree-row { background:none; margin:0; padding:0; }
+
  -moz-border-radius-topright: 0.5em
.tree-view tr.tree-row td,
+
}
.tree-view tr.tree-row td a { margin:0; padding:0; font-size:8pt; white-space:nowrap; }
+
#p-cactions ul li, #p-cactions ul li a {
 +
  -moz-border-radius-topright: 0.5em;
 +
  -moz-border-radius-topleft: 0.5em;
 +
}
 +
#content {
 +
  -moz-border-radius-topleft: 0.5em
 +
}

Текущая версия на 16:56, 11 декабря 2008

/* begin SyntaxHighlight_TH */
 .hl-gutter {background-color : #CCCCCC; padding-right: 10px;}
 .hl-table {border: solid 1px #000000; padding:0;}
 .hl-main {font-family: monospace; font-size:13px; font-weight:normal; color:#999999}

 .hl-default { color: #000000; }
 .hl-code { color: #000; font-weight: bold; }
 .hl-brackets { color: #009966; font-weight:bold }
 .hl-comment, .hl-mlcomment { color: #660; font-weight:normal; font-style: italic;}
 .hl-quotes { color: #00007F; }
 .hl-string { color: #7F0000; font-weight:bold }
 .hl-identifier { color: #000000; }
 .hl-reserved { color: #7F007F; font-weight:bold;}
 .hl-inlinedoc { color: #0000FF; }
 .hl-var { color: #0066FF; }
 .hl-url { color: #FF0000; }
 .hl-special { color: #0000FF;  }
 .hl-number { color: #006600; font-weight:bold; }
 .hl-inlinetags { color: #FF0000; font-weight:bold; }
 .hl-builtin    { color:#996633; }
 .hl-prepro    { color:#0000FF; font-style:italic; font-weight: bold; }
 .hl-types     { color:#000066; font-weight:bold;}
/* end SyntaxHighlight_TH */

#siteSub { /* "From Wikipedia, the free encyclopedia" */
  display: inline; 
  font-size: 92%;  
  font-weight: normal;
}

#toc {margin-top: 0.5em}

#ca-edit a {font-weight: bold} /* encourage newcomers */

/* Light blue background except on articles and portals; need 32bit color to see difference */
#content, #p-cactions li a {background: #F8FCFF}
.ns-0 #content, .ns-100  #content, 
.ns-0 #p-cactions li a, .ns-100 #p-cactions li a {background-color: white}
div.thumb {border-color: #F8FCFF}
.ns-0 div.thumb, .ns-100 div.thumb {border-color: white}
form table {background: transparent}

/* Hide some stuff on the main page */
body.page-Заглавная_страница #t-cite,
body.page-Заглавная_страница #lastmod, 
body.page-Заглавная_страница #siteSub, 
body.page-Заглавная_страница #contentSub, 
body.page-Заглавная_страница h1.firstHeading {
  display: none !important
}

/* Smaller "Перейти" (Go) button, so buttons fit on one line */
#searchGoButton {padding: 0}

.portlet li { /* slightly different bullet */
  list-style-image: url('http://upload.wikimedia.org/wikipedia/en/1/18/Monobook-bullet.png')
}
.portlet li.FA { /* featured interwiki */
  list-style-image: url('http://upload.wikimedia.org/wikipedia/en/d/d4/Monobook-bullet-star.png')
}

/* Gecko rounded corners */
.pBody {
  -moz-border-radius-topright: 0.5em
}
#p-cactions ul li, #p-cactions ul li a { 	 
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-topleft: 0.5em;
}
#content {
  -moz-border-radius-topleft: 0.5em
}