MediaWiki:Minerva.css
Замечание: Возможно, после публикации вам придётся очистить кэш своего браузера, чтобы увидеть изменения.
- Firefox / Safari: Удерживая клавишу Shift, нажмите на панели инструментов Обновить либо нажмите Ctrl+F5 или Ctrl+R (⌘+R на Mac)
- Google Chrome: Нажмите Ctrl+Shift+R (⌘+Shift+R на Mac)
- Edge: Удерживая Ctrl, нажмите Обновить либо нажмите Ctrl+F5
- Opera: Нажмите Ctrl+F5.
/* Шаблоны-шапки */
/* Отексте */
#extra_nav {
border-bottom: 1px solid #a88;
background-color: #fafaff;
background: transparent;
font-size: 0.9em;
margin-top: 0px;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
/*#projects_links {*/
/* float: right;*/
/*}*/
#inner_toc {
/*position:sticky;*/
/*top: 0; */
background: #fafaff;
z-index: 999;
}
#header_warning {
color: red;
font-weight: bold ;
}
table.headertemplate, table.header_notes {
margin: 0;
width: 100% !important;
}
.indent p {
text-indent: 1.6em;
margin-bottom: 0;
margin-top: 0;
text-align: left;
}
div.text {
/*width: 84ex;*/
text-align: left;
margin: 0 auto;
font-family: /*Cambria, Times New Roman, Times,*/ serif;
/* font-size: 120%; */ /* используется при определении уменьшающих размер шрифтов в font-family */
}
.text p {
text-indent: 1.6em;
line-height: normal;
}
.poem p {
text-indent: 0;
margin-bottom: 0;
margin-top: 0;
}
/* номера строк (слева) */
.linenum {
position: absolute;
width: 18ex;
text-align: right;
font-style: normal;
color: #a0a0f0;
white-space: nowrap;
}
/* Немаркированные списки */
.plainlist ul {
list-style: none;
}
/* Поддержка шаблона Dotted TOC */
.dottedtoc-cell-1 {
width:2.5em;
max-width:2.5em;
padding-right:0.5em;
vertical-align:top;
text-align:right;
}
.dottedtoc-cell-2-1 {
width:100% !important;
position:relative;
}
.dottedtoc-cell-2-1-1 {
max-width:80%;
text-align:left;
text-indent:-3em;
margin-left:3em;
}
.dottedtoc-cell-2-1-1-1 {
display:inline;
position:relative;
padding-right:0.5em;
background:white;
z-index:2;
}
.dottedtoc-cell-2-1-2 {
position:absolute;
left:0;
bottom:0;
width:3em;
height:0.75em;
background:white;
z-index:1;
}
.dottedtoc-cell-2-1-3 {
position:absolute;
width:100% !important;
right:0;
bottom:0;
z-index:0;
overflow:hidden;
white-space:nowrap;
text-align:right;
}
.dottedtoc-cell-2-1-3-1 {
float:right;
}
.dottedtoc-cell-3 {
vertical-align:bottom;
text-align:right;
padding-left:0.5em;
width:2em;
}
/* скрыть номера страниц */
span.pagenumber {
display: none;
}
/* выравнивание заголовков */
body.ns-0 .mw-heading2, body.ns-0 .mw-heading3, body.ns-0 .mw-heading4 {
text-align: center;
}
/* Шаблон заголовка */
table.headertemplate {
width: 100% !important;
border: 1px solid #ADA;
background: #E4F2E4;
text-align: center;
font-size: 0.9em;
}
.headertemplate .header_backlink,
.headertemplate .header_forelink {
display: block;
width: 100%;
font-size: smaller;
line-height: normal;
}
.header_notes {
width:100%;
border-bottom:1px solid #A88;
background:#FAFAFF;
font-size: smaller;
line-height: normal;
}
/* вертикальное размещение */
/*.header_notes > tbody > tr > td { display: table-row; }*/ /* вызывает ошибку: иконка "ѣ" отображается по центру в мобильной версии */
.headertemplate .header_title {
display: block;
width: 100%;
font-size: small;
line-height: normal;
}
.headertemplate .header_backlink {
text-align:left;
}
.headertemplate .header_forelink {
text-align:right;
}
/* Для списка редакций */
td#editions {
max-width: 40%;
}
div#editions_toggle {
float:none;
position:static;
}
div#editions_toggle p {
margin:0;
color: #909;
}
div#editions_cont {
display:block;
position:static;
/* max-width: 30%; */
/* white-space:nowrap; */
background-color:transparent;
border:1px solid steelblue;
padding:0 5px;
text-align:left;
}
#editions_cont table {
border-collapse: collapse;
}
#editions_cont td {
padding: 0;
}
span.error1 {
color: red;
border-bottom: 1px dotted;
cursor: help;
}
span.error2 {
color: darkred;
border-bottom: 1px dotted;
cursor: help;
}
big { font-size: larger; } /* отключено по умолчанию */
small { font-size: smaller; } /* отключено по умолчанию */
.wordlist {
-ms-column-rule: 1px solid #eaecf0;
-moz-column-rule: 1px solid #eaecf0;
-webkit-column-rule: 1px solid #eaecf0;
column-rule: 1px solid #eaecf0;
}
.wordlist ul {
list-style: none;
}
.wordlist ul li {
margin-bottom: 5px;
}
@media screen and (min-width: 768px) {
.wordlist {
-moz-columns: 3;
-webkit-columns: 3;
columns: 3;
}
}
@media screen and (min-width: 481px) and (max-width: 767px) {
.wordlist {
-moz-columns: 2;
-webkit-columns: 2;
columns: 2;
}
}
@media screen and (max-width: 480px) {
.wordlist {
-moz-columns: 1;
-webkit-columns: 1;
columns: 1;
}
}
#pre-reform {
display: none;
}