MediaWiki:Common.css

Материал из Викисфера
Перейти к навигации Перейти к поиску

Замечание. Возможно, после сохранения вам придётся очистить кэш своего браузера, чтобы увидеть изменения.

  • Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl-F5 или Ctrl-R (⌘-R на Mac)
  • Google Chrome: Нажмите Ctrl-Shift-R (⌘-Shift-R на Mac)
  • Internet Explorer: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl-F5
  • Opera: Перейдите в Menu → Настройки (Opera → Настройки на Mac), а затем Безопасность → Очистить историю посещений → Кэшированные изображения и файлы
/** Размещённый здесь CSS будет применяться ко всем темам оформления */

/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }

/*
 * Инфобоксы, описание в статье [[Summary]]
 */
 
div#p-summary p, div#p-summary dl,
div.p-summary p, div.p-summary dl {
  margin: 0;
}
 
div#p-summary dl, div.p-summary dl {
  clear: both;
}
 
div#p-summary, div#p-summary dl, div#p-summary dt,
div#p-summary dd, div#p-summary strong, div.p-summary,
div.p-summary dl, div.p-summary dt, div.p-summary dd,
div.p-summary strong, div.summarybox div.p-summary-title {
  line-height: 1.1;
}
 
div#p-summary dt, div#p-summary dd, div#p-summary div.p-summary-line,
div.p-summary dt, div.p-summary dd, div.p-summary div.p-summary-line,
div.summarybox div.p-summary-line {
  border-top: 1px solid #ddd;
  padding: 0.35em 0em 0.3em;
  display: block;
  position: relative;
  overflow: hidden;
}
 
div#p-summary, div.p-summary {
  float: right;
  clear: right;
  width: 316px;
  padding-top:0.4em !important;
}
 
div#p-summary, div.p-summary, div.summarybox {
  padding: 0em 0.5em 0.5em 0.6em;
  margin: 0 0 1em 1em;
  border-left: 3px solid #ccc;
}
 
div#p-summary div.thumbinner, div.p-summary div.thumbinner, div.summarybox div.thumbinner {
  background: white;
  border-color: #ddd;
}
 
div#p-summary img.thumbimage, div.p-summary img.thumbimage, div.summarybox img.thumbimage {
  border: none;
}
 
div#p-summary div.magnify, div.p-summary div.magnify, div.summarybox div.magnify {
  display: none;
}
 
div#p-summary ol, div.p-summary ol, div.summarybox ol {
  margin-left: 2em;
}
 
div#p-summary p br, div.p-summary p br {
  display: none;
}
 
div#p-summary dt, div#p-summary div.p-summary-left, div.p-summary dt,
div.p-summary div.p-summary-left {
  float: left;
  clear: both;
  width: 150px;
  font-weight: normal;
}
 
div#p-summary dd, div#p-summary div.p-summary-right, div.p-summary dd,
div.p-summary div.p-summary-right {
  float: right;
  clear: none;
  margin: 0;
  width: 152px;
}
 
div#p-summary strong, div.p-summary strong {
  display: block; 
  clear: both;
  padding: 0.75em 0;
}
 
div#p-summary strong.p-summary-title, div.p-summary strong.p-summary-title {
  padding: 0 0 0.25em;
  font-size: x-large;
}
 
div#p-summary div.p-summary-line, div.p-summary div.p-summary-line {
  clear: both;
}
 
.p-summary-tools, .p-summary-tools *, .p-summary-tools a, .p-summary-tools a:link,
.p-summary-tools a:active, .p-summary-tools a:hover, .p-summary-tools a:visited,
.p-summary-tools a:focus {
  color: #aaa;
  list-style-type: none;
  list-style-image: none;
  font-size: 9pt;
  font-weight: normal;
}
 
div.summarybox .p-summary-title a, div.summarybox .p-summary-title a:link,
div.summarybox .p-summary-title a:active, div.summarybox .p-summary-title a:hover,
div.summarybox .p-summary-title a:visited, div.summarybox .p-summary-title a:focus {
  color: inherit;
}
 
.p-summary-tools ul {
  margin-left: 0.5em;
}
 
.p-summary-line .thumbcaption { display: none !important }
.p-summary sup.reference::before { content: " " }
.p-summary sup.reference { vertical-align:middle !important }
.p-summary sup.reference a { color: #006400 !important }

.tocnoborder table.toc#toc {
    border: 0 !important ;
    background: transparent !important ;
}

#siteSub {
    display: inline;
    font-size: 120%;
    font-weight: normal;
}
.citatanaglavnoj {
    display: block;
    background-position: right top; /* Положение фона */
    background-repeat: no-repeat; /* Отменяем повторение фона */
    padding-top: 10px;
    text-align: right;
}


table.mainpagetable tr td h2 {
    display: block;
    font-size: 120%;
    font-weight: normal;
    border: 1px solid blue;
    padding: 2px;
    background: lightblue;
}
table.mainpagetable  tr td.mainpagetableleft h2 {
    display: block;
    font-size: 120%;
    font-weight: normal;
    border: 1px solid green;
    padding: 2px;
    background: lightgreen;
}
table.mainpagetable  tr td.mainpagetableleft {
    border-right: 1px solid #aaa;
}
/* {Навигационная таблица} */
table.navbox {
  background: #f9f9f9;
  border: 1px solid #aaa;
  clear: both;
  font-size: 90%;
  margin: 1em 0em 0em;
  padding: 2px;
  width: 100%;
}
table.navbox th {
  background: #ccf;
  padding-left: 1em;
  padding-right: 1em;
  text-align: right;
}
table.navbox th.navbox-title {
  text-align: center;
}


table.mainpageheader {
border-bottom: 1px solid #aaa;
border-top: 1px solid #aaa;
width: 100%;
vertical-align: top;
padding: 8px;
}
span.TemplateButton a {
 display: inline-block;
 background:  rgb(212,208,200);
 padding: 1px;
 padding-left: 8px;
 padding-right: 8px;
 border: 2px solid #dedede;
 border-bottom: 2px solid  #555555;
 border-right:  2px solid  #555555; 
 color: #000000
}
span.TemplateButton a:hover {
 text-decoration: none;
 border: 2px solid #555555;
 border-bottom: 2px solid  #dedede;
 border-right:  2px solid  #dedede; 
}
table.mainpageheader ul li { list-style:none; }

body.page-Заглавная_страница h1.firstHeading { display:none; }

body.page-Заглавная_страница #siteSub { display:none; }

.universal-th {
background: #99ff99;
align: right;
width: 150px ;
display: inline-block;
padding: 1px;
margin: 1px;
}
.card {
float: right;
border: 1px solid gray;
width: 300px;
margin: 5px;
padding: 5px;
}
.diagram {
width: 90px ;
height: 50px ;
text-valign: center;
text-align: center;
border:1px solid black;
}

.Button { 
display:block;

width:128px;
height:22px;

text-align:center;
text-decoration:none; 
text-valign: center;
}

.Stub{
display:block;
width:88% ;
background-color: #fffff;
border: 1px solid #6699FF;
border-left: 6px solid #6699FF;
align: left;
margin-left:10px;
}

.plainlinksneverexpand {
  background: none ! important;
  padding: 0 ! important;
}
.plainlinksneverexpand .urlexpansion {
  display: none ! important;
}
.plainlinksneverexpand a {
   background: none !important;
   padding: 0 !important;
}
.plainlinksneverexpand a.external.text:after {
  display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
  display: none !important;
}
#bodyContent .plainlinksneverexpand a {background: none !important;padding: 0 !important}


.linkswithoutprefixes a {
content:attr(title);
}

.userbox{
width:238px;
height:45px;
float:right; 
clear:right; 
border:0;
margin:1px;
cellspacing:0;
text-align:center; 
font-size:5;
background:#007FFF;
}