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

Материал из Абсурдопедии
Перейти к навигации Перейти к поиску
Баг со скроллингом
убрал дублирование функции
 
(не показаны 84 промежуточные версии 2 участников)
Строка 1: Строка 1:
/* Фоны таблиц */
@import url("/w/index.php?title=MediaWiki:ImageTablo.css&action=raw&ctype=text/css");
#userSummaryButtonsA {
    position: relative;
    margin-bottom: 2em;
    display: inline-block;
}
#userSummaryButtonsA a {
    float: left;
}
#Rbox {
#Rbox {
    display: none;
display: none;
}
}


/* Откл. кнопки Обсуждение форума */
/* Откл. кнопки Обсуждение форума */


body.ns-110 #ca-talk {
.ns-110 #ca-talk {
    display: none !important;
display: none;
}
 
body.ns-110 #ca-nstab-forum {
    margin-right: 16px;
}
 
/* Скрыть {{MediaWiki:Uploadtext-ext}} на [[Special:Upload]] */
 
#uploadtext-ext {
    display: none;
}
 
/* Скрыть {{звёздочка}} */
 
.stars {
    display: none;
}
 
/* Использование: <span class="nounderlinelink">[[link]]</span> */
 
.nounderlinelink a {
    text-decoration: none ! important;
}
 
.hidden-workaround h2 {
    display: none;
}
}


Строка 51: Строка 12:


.portalfont {
.portalfont {
    font-family: Verdana, Arial, Helvetica, sans-serif;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
}


#portal .CategoryTreeToggle {
#portal .CategoryTreeToggle {
    display: none ! important;
display: none;
}
}


#portal .CategoryTreeLabelPage {
#portal .CategoryTreeLabelPage {
    font-style: normal;
font-style: normal;
}
}


#portal .CategoryTreeBullet:before {
#portal .CategoryTreeBullet:before {
    content: url('/w/images/1/17/Bullet.gif');
content: url('/w/images/1/17/Bullet.gif');
}
}


#portal .CategoryTreeChildren .CategoryTreeNotice {
#portal .CategoryTreeChildren .CategoryTreeNotice {
    display: none;
display: none;
}
}


#portal .editsection {
#portal .editsection {
    font-weight: normal ! important;
font-weight: normal;
}
}


#portal table {
#portal table {
    background: inherit ! important;
background: inherit;
}
}


.refresh a:visited {
.refresh a:visited {
    color: #002bb8;
color: #002bb8;
}
}


/* Для АбсурдоРекламы */
/* Для АбсурдоРекламы */
#p-lolads {
font-size: 0.75rem;
}


#p-lolads a:visited {
#p-lolads a:visited {
    color: #002bb8;
color: #002bb8;
}
}


.unnote {
.unnote {
    background: url('/w/images/6/6a/Sticker.png') no-repeat;
background: url('/w/images/6/6a/Sticker.png') no-repeat;
    width: 250px;
width: 250px;
    height: 233px;
height: 233px;
    padding: 5px;
padding: 5px;
}
}


.unnote_h {
.unnote_h {
    padding-bottom: 10px;
padding-bottom: 10px;
    font-weight: bold;
font-weight: bold;
}
}


.unnote_t {
.unnote_t {
    margin: 5px;
margin: 5px;
    margin-right: 20px;
margin-right: 20px;
}
}


.unnote, .unnote_h {
.unnote,
    font-size: 125%;
.unnote_h {
}
font-size: 125%;
 
/* Убирает белый фон вокруг изображений: <div class="nonwhite">[[Файл: ... ]]</div> */
 
.nonwhite .thumb {
    border: none;
    margin-top: 10px;
    margin-bottom: 0;
}
}


.nonwhite .tleft {
/* Mark redirects in Special:Allpages und Special:Watchlist */
    border: none;
}


.nonwhite .tright {
.allpagesredirect,
    margin-left: 13px;
.watchlistredir {
font-style: italic;
}
}


/*** Mark redirects in Special:Allpages und Special:Watchlist ***/
/* Forum formatting (by -Algorithm & -Splaka)*/


.allpagesredirect, .watchlistredir {
.forumheader {
    font-style: italic;
border: 1px solid #aaa;
background-color: #f9f9f9;
margin-top: 1em;
padding: 12px;
}
}


/*** Forum formatting (by -Algorithm & -Splaka) ***/
.forumlist {
 
border: 1px solid #aaa;
.forumheader {
width: 100%;
    border: 1px solid #aaa;
    background-color: #f9f9f9;
    margin-top: 1em;
    padding: 12px;
}
}


.forumlist td.forum_edited a {
.forumlist td.forum_edited a {
    color: black;
color: black;
    text-decoration: none
text-decoration: none
}
}


.forumlist td.forum_title a {
.forumlist td {
    padding-left: 20px;
padding-left: 20px;
}
}


.forumlist td.forum_title a.forum_new {
.forumlist td.forum_title a.forum_new {
    font-weight: bold;
font-weight: bold;
    padding-left: 20px;
}
}


.forumlist td.forum_title a.forum_new:visited {
.forumlist td.forum_title a.forum_new:visited {
    font-weight: normal;
font-weight: normal;
    background: none;
    padding-left: 20px;
}
}


.forumlist th.forum_title {
.forumlist th {
    padding-left: 20px;
padding-left: 20px;
text-align: left;
}
}


Строка 167: Строка 121:


table.prettytable {
table.prettytable {
    margin: 1em 1em 1em 0;
margin: 1em 1em 1em 0;
    background: #f9f9f9;
background: #f9f9f9;
    border: 1px #aaaaaa solid;
border: 1px #aaaaaa solid;
    border-collapse: collapse;
border-collapse: collapse;
}
}


table.prettytable th, table.prettytable td {
table.prettytable th,
    border: 1px #aaaaaa solid;
table.prettytable td {
    padding: 0.2em;
border: 1px #aaaaaa solid;
padding: 0.2em;
}
}


table.prettytable th {
table.prettytable th {
    background: #f2f2f2;
background: #f2f2f2;
    text-align: center;
text-align: center;
}
}


table.prettytable caption {
table.prettytable caption {
    margin-left: inherit;
margin-left: inherit;
    margin-right: inherit;
margin-right: inherit;
    font-size: larger;
font-size: larger;
    font-weight: bold;
font-weight: bold;
}
}


Строка 193: Строка 148:


#p-wikicities-nav {
#p-wikicities-nav {
    display: none;
display: none;
}
}


#nihilism_message {
#nihilism_message {
    position: absolute;
position: absolute;
    left: 100px;
left: 100px;
    top: 50px;
top: 50px;
}
 
/* для {{NoincludeWantedpages}} */
 
span.new a {
    color: #ba0000 ! important;
}
 
span.new a:visited {
    color: #a55858 ! important;
}
}


/* Выделяем ссылку на текущую статью в тематических шаблонах (вроде {{unix}}, {{поэты) */
/* Выделение ссылки на текущую статью в тематических шаблонах (вроде {{unix}} */


.toccolours .selflink {
.toccolours .selflink {
    font-size: 120%;
font-size: 120%;
    border-style: solid;
border-style: solid;
    border-width: 1px;
border-width: 1px;
    border-right-style: double;
border-right-style: double;
    border-left-style: double;
border-left-style: double;
    border-right-width: 3px;
border-right-width: 3px;
    border-left-width: 3px;
border-left-width: 3px;
    padding-left: 2px;
padding-left: 2px;
    padding-right: 2px;
padding-right: 2px;
}
 
/* Выделение цифр в Правках цветом */
 
.mw-plusminus-pos {
    color: #006400;
}
}


/* .mw-plusminus-null при нуле */
.mw-plusminus-neg {
    color: #8B0000;
}


/* Всё, что ниже, взято из Википедии */
/* Код из Википедии */


#userSummaryButtonsA a {
#userSummaryButtonsA a {
    white-space: nowrap;
white-space: nowrap;
    background: #C2F2FF;
background: #C2F2FF;
    border: 1px solid #9BD5F5;
border: 1px solid #9BD5F5;
    padding: 0 2px;
padding: 0 2px;
    margin: 2px;
margin: 2px;
    cursor: pointer;
cursor: pointer;
    font-size: 80%;
font-size: 80%;
    line-height: 17px;
line-height: 17px;
    color: #5B5B5B;
color: #5B5B5B;
}
}


#userSummaryButtonsA a:hover {
#userSummaryButtonsA a:hover {
    background: #B1EBFF;
background: #B1EBFF;
    border: 1px solid #64BDF0;
border: 1px solid #64BDF0;
    color: black;
color: black;
    text-decoration: none;
text-decoration: none;
}
}


.hiddenStructure {
.hiddenStructure {
    display: none;
display: none;
    speak: none
}
}


.notice {
.notice {
    margin: 1em 1em 1em 20%;
margin: 1em 1em 1em 20%;
    padding: 0.2em
padding: 0.2em
}
}


#disambig {
#disambig {
    border-top: 3px double #cccccc;
border-top: 3px double #cccccc;
    border-bottom: 3px double #cccccc
border-bottom: 3px double #cccccc
}
}


#spoiler {
#spoiler {
    border-top: 2px solid #ddd;
border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd
border-bottom: 2px solid #ddd
}
}


.Talk-Notice {
.Talk-Notice {
    border: 1px solid #C0C090;
border: 1px solid #C0C090;
    background-color: #F8EABA;
background-color: #F8EABA;
    margin-bottom: 3px;
margin-bottom: 3px;
    width: 85%;
width: 85%;
    border-spacing: 3px;
border-spacing: 3px;
    margin-left: auto;
margin-left: auto;
    margin-right: auto
margin-right: auto
}
}


.Talk-Notice td {
.Talk-Notice td {
    background: inherit
background: inherit
}
}


.Use_Default_Date_Convention {
.Use_Default_Date_Convention {
    display: inline;
display: inline;
}
}


.Use_AD_and_BC {
.Use_AD_and_BC {
    display: none;
display: none;
}
}


.Use_BCE_and_CE {
.Use_BCE_and_CE {
    display: none;
display: none;
}
}


.plainlinksneverexpand {
.plainlinksneverexpand {
    background: none ! important;
background: none!important;
    padding: 0 ! important;
padding: 0!important;
}
}


.plainlinksneverexpand .urlexpansion {
.plainlinksneverexpand .urlexpansion {
    display: none ! important;
display: none!important;
}
}


.plainlinksneverexpand a {
.plainlinksneverexpand a {
    background: none !important;
background: none!important;
    padding: 0 !important;
padding: 0!important;
}
}


.plainlinksneverexpand a.external.text:after {
.plainlinksneverexpand a.external.text:after {
    display: none !important;
display: none!important;
}
}


.plainlinksneverexpand a.external.autonumber:after {
.plainlinksneverexpand a.external.autonumber:after {
    display: none !important;
display: none!important;
}
}


#bodyContent .plainlinksneverexpand a {
#bodyContent .plainlinksneverexpand a {
    background: none !important;
background: none!important;
    padding: 0 !important
padding: 0!important
}
}


.messagebox {
.messagebox {
    border: thin solid #aaaaaa;
border: thin solid #aaaaaa;
    background-color: #f9f9f9;
background-color: #f9f9f9;
    width: 88%;
width: 88%;
    margin: 0 auto 1em auto;
margin: 0 auto 1em auto;
    padding: .4em;
padding: .4em;
    vertical-align: middle;
vertical-align: middle;
    font-size: 90%
font-size: 90%
}
}


.messagebox.merge {
.messagebox.merge {
    border: 1px solid #cf9fff;
border: 1px solid #cf9fff;
    background-color: #f5edf5;
background-color: #f5edf5;
    text-align: center
text-align: center
}
}


.messagebox .cleanup {
.messagebox .cleanup {
    border: 1px solid #9f9fff;
border: 1px solid #9f9fff;
    background-color: #efefff;
background-color: #efefff;
    text-align: center
text-align: center
}
}


.messagebox .standard-talk {
.messagebox .standard-talk {
    border: 1px solid #c0c090;
border: 1px solid #c0c090;
    background-color: #f8eaba
background-color: #f8eaba
}
}


.messagebox .floatleft {
.messagebox .floatleft {
    vertical-align: middle;
vertical-align: middle;
    clear: both;
clear: both;
    margin: 2px;
margin: 2px;
    padding: 0;
padding: 0;
}
}


.messagebox .image {
.messagebox .image {
    margin: 0;
margin: 0;
    padding: 0;
padding: 0;
}
}


.infobox {
.infobox {
    border: 1px solid #aaaaaa;
border: 1px solid #aaaaaa;
    background-color: #f9f9f9;
background-color: #f9f9f9;
    margin-bottom: 0.5em;
margin-bottom: 0.5em;
    margin-left: 1em;
margin-left: 1em;
    padding: .4em;
padding: .4em;
    float: right;
float: right;
    clear: right;
clear: right;
    font-size: 90%;
font-size: 90%;
    width: 18em;
width: 18em;
    vertical-align: middle
vertical-align: middle
}
}


.infobox.sisterproject {
.infobox.sisterproject {
    background-color: #f9fafd
background-color: #f9fafd
}
 
/* ЖЖ */
 
.lj a {
    text-decoration: underline;
    font: bold small Verdana;
    background: none !important;
    padding: 0 !important;
}
 
.lj a.image img {
    vertical-align: -2px;
}
}


.IPA {
.IPA {
    font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
    font-family/**/
font-family/**/
    : inherit
: inherit
}
}


.Unicode {
.Unicode {
    font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode;
font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode;
    font-family/**/
font-family/**/
    : inherit
: inherit
}
}


.polytonic {
.polytonic {
    font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;
font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;
    font-family/**/
font-family/**/
    : inherit
: inherit
}
}


#wpSave {
#wpSave {
    font-weight: bold
font-weight: bold
}
}


blockquote {
blockquote {
    margin: 0.7em 0 0.7em 5%;
margin: 0.7em 0 0.7em 5%;
    padding: 0.7em 2% 0.7em 4%;
padding: 0.7em 2% 0.7em 4%;
    background-color: #f5f5f5;
background-color: #f5f5f5;
}
 
p.istochnik_pred {
    margin: 1em 0 0 5%;
    font-size: 110%;
}
 
p.istochnik_pred:after {
    content: ':'
}
 
p.istochnik_sled {
    margin: 0 2em 0 0;
    text-align: right;
}
 
p.istochnik_sled:before {
    content: '— '
}
}


table.toccolours {
table.toccolours {
    text-align: center
text-align: center
}
}


/* может напортить! */
/* Может напортить! */
 
table.toccolours th {
table.toccolours th {
    background-color: #ccccff
background-color: #ccccff
}
}


Строка 460: Строка 361:


table.simple {
table.simple {
    border-color: rgb(170, 170, 170);
border-color: rgb(170, 170, 170);
    border-collapse: collapse
border-collapse: collapse
}
}


table.simple th, table.simple td {
table.simple th,
    border-color: rgb(170, 170, 170);
table.simple td {
    padding-left: 0.2em;
border-color: rgb(170, 170, 170);
    padding-right: 0.2em
padding-left: 0.2em;
padding-right: 0.2em
}
}


table.standard, table.wide, table.wikitable, table.standart {
table.standard,
    border: 1px solid rgb(170, 170, 170);
table.wide,
    border-collapse: collapse
table.wikitable,
table.standart {
border: 1px solid rgb(170, 170, 170);
border-collapse: collapse
}
}


table.standard th, table.wide th, table.wikitable th, table.standart th {
table.standard th,
    border: 1px solid rgb(170, 170, 170);
table.wide th,
    padding-left: 0.2em;
table.wikitable th,
    padding-right: 0.2em;
table.standart th {
    background-color: #EEEEFF
border: 1px solid rgb(170, 170, 170);
padding-left: 0.2em;
padding-right: 0.2em;
background-color: #EEEEFF
}
}


table.standard td, table.wide td, table.wikitable td, table.standart td {
table.standard td,
    border: 1px solid rgb(170, 170, 170);
table.wide td,
    padding-left: 0.2em;
table.wikitable td,
    padding-right: 0.2em
table.standart td {
border: 1px solid rgb(170, 170, 170);
padding-left: 0.2em;
padding-right: 0.2em
}
}


table.standard caption, table.wide caption, table.wikitable caption, table.standart caption, table.tiles caption {
table.standard caption,
    font-weight: bold;
table.wide caption,
    padding-top: 0.2em;
table.wikitable caption,
    padding-bottom: 0.2em
table.standart caption,
table.tiles caption {
font-weight: bold;
padding-top: 0.2em;
padding-bottom: 0.2em
}
}


table.wide {
table.wide {
    width: 100%
width: 100%
}
}


table.tiles {
table.tiles {
    border-collapse: separate;
border-collapse: separate;
    border-spacing: 2px
border-spacing: 2px
}
}


table.tiles th {
table.tiles th {
    padding-left: 0.2em;
padding-left: 0.2em;
    padding-right: 0.2em;
padding-right: 0.2em;
    background-color: #EEEEFF
background-color: #EEEEFF
}
}


table.tiles td {
table.tiles td {
    padding-left: 0.2em;
padding-left: 0.2em;
    padding-right: 0.2em;
padding-right: 0.2em;
    background-color: #F0F0F0
background-color: #F0F0F0
}
}


tr.highlight th {
tr.highlight th {
    background-color: #EEEEFF
background-color: #EEEEFF
}
}


tr.highlight td {
tr.highlight td {
    background-color: #FFFFEE
background-color: #FFFFEE
}
}


tr.bright th {
tr.bright th {
    background-color: #CCCCFF
background-color: #CCCCFF
}
}


tr.bright td {
tr.bright td {
    background-color: #FFEECC
background-color: #FFEECC
}
}


tr.shadow th {
tr.shadow th {
    background-color: #F0F0F0
background-color: #F0F0F0
}
}


tr.shadow td {
tr.shadow td {
    background-color: #F0F0F0
background-color: #F0F0F0
}
}


tr.dark th {
tr.dark th {
    background-color: #CCCCCC
background-color: #CCCCCC
}
}


tr.dark td {
tr.dark td {
    background-color: #CCCCCC
background-color: #CCCCCC
}
}


table th.highlight {
table th.highlight {
    background-color: #EEEEFF
background-color: #EEEEFF
}
}


table td.highlight {
table td.highlight {
    background-color: #FFFFEE
background-color: #FFFFEE
}
}


table th.bright {
table th.bright {
    background-color: #CCCCFF
background-color: #CCCCFF
}
}


table td.bright {
table td.bright {
    background-color: #FFEECC
background-color: #FFEECC
}
}


table th.shadow {
table th.shadow {
    background-color: #F0F0F0
background-color: #F0F0F0
}
}


table td.shadow {
table td.shadow {
    background-color: #F0F0F0
background-color: #F0F0F0
}
}


table th.dark {
table th.dark {
    background-color: #CCCCCC
background-color: #CCCCCC
}
}


table td.dark {
table td.dark {
    background-color: #CCCCCC
background-color: #CCCCCC
}
}


table th.transparent {
table th.transparent {
    background-color: transparent
background-color: transparent
}
}


table td.transparent {
table td.transparent {
    background-color: transparent
background-color: transparent
}
 
#checker,
#file img {
background: url("https://absurdopedia.wiki/w/images/5/5d/Checker-16x16.png") repeat;
}
 
/* {{Container2}} для «Не по-детски» */
 
table.Container2 {
width: auto;
margin: 0 10%;
border-collapse: collapse;
background: #FBFBFB;
border: 1px solid #AAAAAA;
border-left: 18px solid #1E90FF;
border-right: 4px solid #1E90FF;
border-top: 4px solid #1E90FF;
border-bottom: 4px solid #1E90FF;
}
 
table.Container2 th,
table.Container2 td {
padding: 0.1em 0.1em;
}
 
table.Container2 td.Container2-widthhack {
padding: 0;
}
 
table.Container2 td.Container2-text {
width: 100%;
}
 
table.Container2 td.Container2-image {
width: 0px;
padding: 2px 0px 2px 0.1em;
text-align: center;
}
 
table.Container2 td.Container2-imageright {
width: 0px;
padding: 2px 4px 2px 0px;
text-align: center;
}
 
/* Фикс для изображений разной ширины */
table.Container2 td.Container2-image div,
table.Container2 td.Container2-imageright div {
width: 1px
}
 
table.Container2-discussion {
border-left: 18px solid #ff9999;
border-right: 4px solid #ff9999;
border-top: 4px solid #ff9999;
border-bottom: 4px solid #ff9999
}
 
table.Container2.Container2-mini {
float: right;
clear: right;
margin: 0 0 0.1em 0.1em;
width: 10%;
}
 
/* Default skin for navigation boxes */
 
table.navbox {
background-color: #f9f9f9;
border: 1px solid #aaa;
clear: both;
font-size: 90%;
margin: 1em 0 0;
padding: 2px;
text-align: center;
width: 100%;
}
 
table.navbox th {
background-color: #ccf;
padding-left: 1em;
padding-right: 1em;
}
 
table.navbox tr:not(:first-child) th {
background-color: #ddf;
}
 
@media print {
.navbox {
display: none;
}
}
 
/* Navbox hiding, see Wikipedia:NavFrame */
 
div.Boxmerge,
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
 
div.Boxmerge div.NavFrame {
border-style: none;
border-style: hidden;
}
 
div.NavFrame+div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
 
div.NavPic {
background-color: #fff;
margin: 0px;
padding: 2px;
float: left;
}
 
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccccff;
position: relative;
}
 
div.NavFrame p {
font-size: 100%;
}
 
div.NavFrame div.NavContent {
font-size: 100%;
}
 
div.NavFrame div.NavContent p {
font-size: 100%;
}
 
div.NavEnd {
margin: 0px;
padding: 0px;
line-height: 1px;
clear: both;
}
 
a.NavToggle {
position: absolute;
top: 0px;
right: 3px;
font-weight: normal;
font-size: smaller;
}
 
/* Стили для заглавной страницы.*/
 
/* Из https://ru.wikipedia.org/wiki/Шаблон:Заглавная/styles.css */
 
.main-header {
border-bottom-color: transparent;
margin-bottom: 0.25em;
margin-top: 0;
padding-bottom: 0;
padding-top: 0;
}
 
/* Списки без оформления */
 
.main-plainlist>ul {
list-style: none;
margin: 0;
padding: 0;
}
 
.main-plainlist li {
margin-bottom: 0;
}
 
/* Ссылки-кнопки */
 
.main-top-right .mw-ui-quiet:hover,
.main-top-right .mw-ui-quiet:focus,
.main-footer .mw-ui-quiet:hover,
.main-footer .mw-ui-quiet:focus {
color: #0645ad;
}
 
/* Скрытие нумерации заголовков, создаваемой опцией «Автоматически нумеровать заголовки»
на [[Служебная:Настройки#mw-prefsection-rendering]] */
 
.mw-headline-number {
display: none;
}
 
/* Планшеты */
 
@media (min-width: 720px) {
.main-wikimedia {
padding-top: 1rem;
padding-left: 1rem;
padding-right: 1rem;
}
}
 
/* Стационарные компьютеры */
 
.main-wrapper {
display: flex;
flex-wrap: wrap;
margin-bottom: 1.5rem;
margin-top: 1.5rem;
gap: 1.5rem;
}
.main-wrapper-column {
display: flex;
flex-direction: column;
flex: 1 1 400px;
margin: 0;
}
 
.main-wikimedia {
padding-top: 1.5rem;
padding-left: 1.5rem;
padding-right: 1.5rem;
}
 
/* Из https://ru.wikipedia.org/wiki/Шаблон:Раздел заглавной страницы/styles.css */
 
.main-box {
margin: 0 0 1.5rem;
padding: 1rem;
background-color: #FFFAF0;
border: 1px solid silver;
border-color: #FF8C00;
border-radius: 7px;
border-spacing: 1px;
}
.main-box:last-child {
margin-bottom: 0;
flex: 1;
}
}


#checker, #file img {
.main-box>p:last-child {
    background: url("https://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
margin-bottom: 0;
}
}


/* {{ambox}} */
/* Изображение дня */


table.ambox {
.main-box-image-only>.main-box-content {
    width: auto;
margin: 0.5rem -1rem 0;
    margin: 0 10%;
text-align: center;
    border-collapse: collapse;
    background: #FBFBFB;
    border: 1px solid #AAAAAA;
    border-left: 10px solid #1E90FF
}
}


table.ambox th, table.ambox td {
.main-box-image-only>.main-box-content img {
    padding: 0.25em 0.5em;
height: auto;
max-width: 100%;
}
}


table.ambox td.ambox-widthhack {
.main-box-imageCaption {
    padding: 0;
text-align: center;
}
}


table.ambox td.ambox-text {
.main-box-imageCaption>p {
    width: 100%;
display: inline-block;
margin-bottom: 0;
text-align: left;
}
}


table.ambox td.ambox-image {
/* Надзаголовок */
    width: 52px;
 
    padding: 2px 0 2px 0.5em;
.main-box-subtitle {
    text-align: center;
color: #72777d;
line-height: 1.25;
margin-top: -.125em;
/* Балансирование верхней границы надзаголовка из-за line-height: 1.25; */
}
}


table.ambox td.ambox-imageright {
/* Заголовок */
    width: 52px;
 
    padding: 2px 4px 2px 0;
.main-box-header {
    text-align: center;
margin-top: -.15em;
/* Балансирование верхней границы заголовка из-за line-height: 1.3; */
text-align: center;
}
}


table.ambox td.ambox-image div, table.ambox td.ambox-imageright div {
.main-box-header a {
    width: 52px/* Фикс для изображений разной ширины */
color: inherit;
}
}


table.ambox-delete, table.ambox-serious {
/* Сброс margin на стандартное значение при появл. надзаголовка*/
    border-left: 10px solid #B22222
.main-box-subtitle+.main-box-header {
margin-top: 0;
}
}


table.ambox-content {
.main-box-header a:focus,
    border-left: 10px solid #F28500
.main-box:hover .main-box-header a,
.main-box:hover .main-featuredLists-item>a {
color: #0645ad;
}
}


table.ambox-style {
/* Подвал */
    border-left: 10px solid #F4C430
 
.main-footer {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
position: relative;
}
}


table.ambox-good {
.main-footer:empty {
    border-left: 10px solid #66CC44
display: none;
}
}


table.ambox-discussion {
.main-footer-actions {
    border-left: 10px solid #339966
flex: 1;
}
}


table.ambox-notice {
.main-footer-actions>ul {
    border-left: 10px solid #1E90ff
align-items: center;
display: flex;
}
}


table.ambox-merge {
/* Меню */
    border-left: 10px solid #9932CC
 
.main-footer-menu {
align-items: stretch;
display: flex;
}
}


table.ambox-protection {
.main-footer-menuToggle {
    border-left: 10px solid #BBBBAA
align-items: center;
display: flex;
float: none;
height: 100%;
opacity: 0.87;
}
}


table.ambox.ambox-mini {
.main-footer-menuToggle:hover {
    float: right;
opacity: 0.51;
    clear: right;
    margin: 0 0 0.5em 1em;
    width: 20%;
}
}


/* {{Container2}} - для "Не по-детски"*/
/* Выпадайка */


table.Container2 {
.main-footer-menuDropdown {
    width: auto;
background: #fff;
    margin: 0 10%;
border: 1px solid #a2a9b1;
    border-collapse: collapse;
border-radius: 2px;
    background: #FBFBFB;
box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25);
    border: 1px solid #AAAAAA;
max-width: 15em;
    border-left: 18px solid #1E90FF;
position: absolute;
    border-right: 4px solid #1E90FF;
right: 0;
    border-top: 4px solid #1E90FF;
top: 100%;
    border-bottom: 4px solid #1E90FF;
z-index: 100;
}
}


table.Container2 th, table.Container2 td {
.main-footer-menuDropdown .mw-ui-button {
    padding: 0.1em 0.1em;
text-align: left;
width: 100%;
}
}


table.Container2 td.Container2-widthhack {
/* Мы в соцсетях, Дружественные проекты, АК */
    padding: 0;
 
#main-soc p,
#main-fri p,
#main-pir p,
#main-img p {
text-align: center;
}
}


table.Container2 td.Container2-text {
/*Мобильные*/
    width: 100%;
 
@media (max-width: 719px) {
.main-box-responsive-image>.floatleft,
.main-box-responsive-image>.floatright {
float: none;
margin-left: -1rem;
margin-right: -1rem;
text-align: center;
}
.main-box-responsive-image>.floatleft>a,
.main-box-responsive-image>.floatright>a {
display: block;
}
}
}


table.Container2 td.Container2-image {
/*Планшеты*/
    width: 0px;
 
    padding: 2px 0px 2px 0.1em;
@media (min-width: 720px) {
    text-align: center;
.main-box {
margin-bottom: 1rem;
margin-left: 0;
margin-right: 0;
}
}
}


table.Container2 td.Container2-imageright {
/*Стационарные компьютеры*/
    width: 0px;
 
    padding: 2px 4px 2px 0px;
@media (min-width: 1000px) {
    text-align: center;
.main-box {
margin-bottom: 1.5rem;
padding: 1.5rem;
}
.main-box-image-only>.main-box-content {
margin-left: -1.5rem;
margin-right: -1.5rem;
}
}
}


table.Container2 td.Container2-image div, table.Container2 td.Container2-imageright div {
/*Братские проекты*/
    width: 1px/* Фикс для изображений разной ширины */
 
.main-projects-wrapper-0 {
width: 100%;
background: #FFA500;
border-radius: 7px;
border-spacing: 0;
}
}


table.Container2-discussion {
.main-projects-wrapper-1 {
    border-left: 18px solid #ff9999;
width: 100%;
    border-right: 4px solid #ff9999;
border-radius: 7px;
    border-top: 4px solid #ff9999;
    border-bottom: 4px solid #ff9999
}
}


table.Container2.Container2-mini {
.main-projects-header {
    float: right;
border: 0;
    clear: right;
text-align: center;
    margin: 0 0 0.1em 0.1em;
padding-left: 1px;
    width: 10%;
font-family: sans-serif;
font-size: 100%;
}
}


/* default skin for navigation boxes */
.main-projects-table {
width: 100%;
font-size: 90%;
border-radius: 7px;
line-height: 110%;
background: #FFFFFF;
}


table.navbox {
.main-projects-list {
    background-color: #f9f9f9;
width: 100%;
    border: 1px solid #aaa;
background: white;
    clear: both;
display: flex;
    font-size: 90%;
flex-wrap: wrap;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}
}


table.navbox th {
.main-project-item {
    background-color: #ccf;
flex: 1 1 40%;
    padding-left: 1em;
min-width: 200px;
    padding-right: 1em;
}
}


table.navbox tr:not(:first-child) th {
.main-project-item-table {
    background-color: #ddf;
width: 100%;
}
}


@media print {
.main-project-icon {
    .navbox {
width: 6%;
        display: none;
    }
}
}


/* navbox hiding, see Wikipedia:NavFrame */
.main-project-title {
width: 44%;
border-bottom: 1px dashed #AAAAAA;
}


div.Boxmerge, div.NavFrame {
#main-wtr,
    margin: 0px;
#main-prs,
    padding: 4px;
#main-new,
    border: 1px solid #aaa;
#main-fri {
    text-align: center;
background-color: #FFFFE0;
    border-collapse: collapse;
    font-size: 95%;
}
}


div.Boxmerge div.NavFrame {
/*Блок «Добро пожаловать»*/
    border-style: none;
 
    border-style: hidden;
.main-top-header {
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
}


div.NavFrame+div.NavFrame {
.main-top-header-welcome {
    border-top-style: none;
text-align: center;
    border-top-style: hidden;
}
}


div.NavPic {
.main-top-header-welcome-bold {
    background-color: #fff;
margin: 0;
    margin: 0px;
padding: .1em;
    padding: 2px;
font-family: sans-serif;
    float: left;
font-size: 162%;
}
}


div.NavFrame div.NavHead {
.main-top-header-categories {
    height: 1.6em;
display: grid;
    font-weight: bold;
grid-template-columns: 1fr 1fr 1fr;
    background-color: #ccccff;
    position: relative;
}
}


div.NavFrame p {
.main-top-header-patron {
    font-size: 100%;
flex: 100%;
text-align: center;
font-size: 95%;
}
}


div.NavFrame div.NavContent {
/* Высота тела страницы (для корректной работы нигилистических статей) */
    font-size: 100%;
 
body {
height: auto;
}
}


div.NavFrame div.NavContent p {
/* Прочее */
    font-size: 100%;
 
.main-layout-element {
margin-bottom: 1rem;
}
}


div.NavEnd {
/* Коррекция линии для статей из Доброчана в Vector-22 */
    margin: 0px;
body.skin-vector:not(.skin-vector-2022) .vertical-line-vector2010-only {
    padding: 0px;
     display: block !important;
    line-height: 1px;
     clear: both;
}
}


a.NavToggle {
body.skin-vector.skin-vector-2022 .vertical-line-vector2010-only {
     position: absolute;
     display: none !important;
    top: 0px;
    right: 3px;
    font-weight: normal;
    font-size: smaller;
}
}
/*Баг с длинными строками*/
 
pre {
/* Убирание верхней вкладки «Добавить тему», т. к. есть кнопка-замена внизу */
overflow-x: auto;
#ca-addsection {
overflow-y: hidden;
    display: none !important;
}
}

Текущая версия от 21:34, 7 июня 2026

#Rbox {
	display: none;
}

/* Откл. кнопки Обсуждение форума */

.ns-110 #ca-talk {
	display: none;
}

/* Стиль порталов */

.portalfont {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

#portal .CategoryTreeToggle {
	display: none;
}

#portal .CategoryTreeLabelPage {
	font-style: normal;
}

#portal .CategoryTreeBullet:before {
	content: url('/w/images/1/17/Bullet.gif');
}

#portal .CategoryTreeChildren .CategoryTreeNotice {
	display: none;
}

#portal .editsection {
	font-weight: normal;
}

#portal table {
	background: inherit;
}

.refresh a:visited {
	color: #002bb8;
}

/* Для АбсурдоРекламы */

#p-lolads {
	font-size: 0.75rem;
}

#p-lolads a:visited {
	color: #002bb8;
}

.unnote {
	background: url('/w/images/6/6a/Sticker.png') no-repeat;
	width: 250px;
	height: 233px;
	padding: 5px;
}

.unnote_h {
	padding-bottom: 10px;
	font-weight: bold;
}

.unnote_t {
	margin: 5px;
	margin-right: 20px;
}

.unnote,
.unnote_h {
	font-size: 125%;
}

/* Mark redirects in Special:Allpages und Special:Watchlist */

.allpagesredirect,
.watchlistredir {
	font-style: italic;
}

/* Forum formatting (by -Algorithm & -Splaka)*/

.forumheader {
	border: 1px solid #aaa;
	background-color: #f9f9f9;
	margin-top: 1em;
	padding: 12px;
}

.forumlist {
	border: 1px solid #aaa;
	width: 100%;
}

.forumlist td.forum_edited a {
	color: black;
	text-decoration: none
}

.forumlist td {
	padding-left: 20px;
}

.forumlist td.forum_title a.forum_new {
	font-weight: bold;
}

.forumlist td.forum_title a.forum_new:visited {
	font-weight: normal;
}

.forumlist th {
	padding-left: 20px;
	text-align: left;
}

/* prettytable */

table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #aaaaaa solid;
	border-collapse: collapse;
}

table.prettytable th,
table.prettytable td {
	border: 1px #aaaaaa solid;
	padding: 0.2em;
}

table.prettytable th {
	background: #f2f2f2;
	text-align: center;
}

table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-size: larger;
	font-weight: bold;
}

/* Различные настройки */

#p-wikicities-nav {
	display: none;
}

#nihilism_message {
	position: absolute;
	left: 100px;
	top: 50px;
}

/* Выделение ссылки на текущую статью в тематических шаблонах (вроде {{unix}} */

.toccolours .selflink {
	font-size: 120%;
	border-style: solid;
	border-width: 1px;
	border-right-style: double;
	border-left-style: double;
	border-right-width: 3px;
	border-left-width: 3px;
	padding-left: 2px;
	padding-right: 2px;
}


/* Код из Википедии */

#userSummaryButtonsA a {
	white-space: nowrap;
	background: #C2F2FF;
	border: 1px solid #9BD5F5;
	padding: 0 2px;
	margin: 2px;
	cursor: pointer;
	font-size: 80%;
	line-height: 17px;
	color: #5B5B5B;
}

#userSummaryButtonsA a:hover {
	background: #B1EBFF;
	border: 1px solid #64BDF0;
	color: black;
	text-decoration: none;
}

.hiddenStructure {
	display: none;
}

.notice {
	margin: 1em 1em 1em 20%;
	padding: 0.2em
}

#disambig {
	border-top: 3px double #cccccc;
	border-bottom: 3px double #cccccc
}

#spoiler {
	border-top: 2px solid #ddd;
	border-bottom: 2px solid #ddd
}

.Talk-Notice {
	border: 1px solid #C0C090;
	background-color: #F8EABA;
	margin-bottom: 3px;
	width: 85%;
	border-spacing: 3px;
	margin-left: auto;
	margin-right: auto
}

.Talk-Notice td {
	background: inherit
}

.Use_Default_Date_Convention {
	display: inline;
}

.Use_AD_and_BC {
	display: none;
}

.Use_BCE_and_CE {
	display: none;
}

.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
}

.messagebox {
	border: thin solid #aaaaaa;
	background-color: #f9f9f9;
	width: 88%;
	margin: 0 auto 1em auto;
	padding: .4em;
	vertical-align: middle;
	font-size: 90%
}

.messagebox.merge {
	border: 1px solid #cf9fff;
	background-color: #f5edf5;
	text-align: center
}

.messagebox .cleanup {
	border: 1px solid #9f9fff;
	background-color: #efefff;
	text-align: center
}

.messagebox .standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba
}

.messagebox .floatleft {
	vertical-align: middle;
	clear: both;
	margin: 2px;
	padding: 0;
}

.messagebox .image {
	margin: 0;
	padding: 0;
}

.infobox {
	border: 1px solid #aaaaaa;
	background-color: #f9f9f9;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: .4em;
	float: right;
	clear: right;
	font-size: 90%;
	width: 18em;
	vertical-align: middle
}

.infobox.sisterproject {
	background-color: #f9fafd
}

.IPA {
	font-family: Chrysanthi Unicode, Doulos SIL, Gentium, GentiumAlt, Code2000, TITUS Cyberbit Basic, DejaVu Sans, Bitstream Vera Sans, Bitstream Cyberbit, Arial Unicode MS, Lucida Sans Unicode, Hiragino Kaku Gothic Pro, Matrix Unicode;
	font-family/**/
	: inherit
}

.Unicode {
	font-family: TITUS Cyberbit Basic, Code2000, Doulos SIL, Chrysanthi Unicode, Bitstream Cyberbit, Bitstream CyberBase, Bitstream Vera, Thryomanes, Gentium, GentiumAlt, Visual Geez Unicode, Lucida Grande, Arial Unicode MS, Microsoft Sans Serif, Lucida Sans Unicode;
	font-family/**/
	: inherit
}

.polytonic {
	font-family: Athena, Gentium, Palatino Linotype, Arial Unicode MS, Lucida Sans Unicode, Lucida Grande, Code2000;
	font-family/**/
	: inherit
}

#wpSave {
	font-weight: bold
}

blockquote {
	margin: 0.7em 0 0.7em 5%;
	padding: 0.7em 2% 0.7em 4%;
	background-color: #f5f5f5;
}

table.toccolours {
	text-align: center
}

/* Может напортить! */
table.toccolours th {
	background-color: #ccccff
}

/* Википедия:Правила оформления таблиц */

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,
table.wikitable,
table.standart {
	border: 1px solid rgb(170, 170, 170);
	border-collapse: collapse
}

table.standard th,
table.wide th,
table.wikitable th,
table.standart 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,
table.wikitable td,
table.standart td {
	border: 1px solid rgb(170, 170, 170);
	padding-left: 0.2em;
	padding-right: 0.2em
}

table.standard caption,
table.wide caption,
table.wikitable caption,
table.standart caption,
table.tiles caption {
	font-weight: bold;
	padding-top: 0.2em;
	padding-bottom: 0.2em
}

table.wide {
	width: 100%
}

table.tiles {
	border-collapse: separate;
	border-spacing: 2px
}

table.tiles th {
	padding-left: 0.2em;
	padding-right: 0.2em;
	background-color: #EEEEFF
}

table.tiles td {
	padding-left: 0.2em;
	padding-right: 0.2em;
	background-color: #F0F0F0
}

tr.highlight th {
	background-color: #EEEEFF
}

tr.highlight td {
	background-color: #FFFFEE
}

tr.bright th {
	background-color: #CCCCFF
}

tr.bright td {
	background-color: #FFEECC
}

tr.shadow th {
	background-color: #F0F0F0
}

tr.shadow td {
	background-color: #F0F0F0
}

tr.dark th {
	background-color: #CCCCCC
}

tr.dark td {
	background-color: #CCCCCC
}

table th.highlight {
	background-color: #EEEEFF
}

table td.highlight {
	background-color: #FFFFEE
}

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
}

table td.transparent {
	background-color: transparent
}

#checker,
#file img {
	background: url("https://absurdopedia.wiki/w/images/5/5d/Checker-16x16.png") repeat;
}

/* {{Container2}} для «Не по-детски» */

table.Container2 {
	width: auto;
	margin: 0 10%;
	border-collapse: collapse;
	background: #FBFBFB;
	border: 1px solid #AAAAAA;
	border-left: 18px solid #1E90FF;
	border-right: 4px solid #1E90FF;
	border-top: 4px solid #1E90FF;
	border-bottom: 4px solid #1E90FF;
}

table.Container2 th,
table.Container2 td {
	padding: 0.1em 0.1em;
}

table.Container2 td.Container2-widthhack {
	padding: 0;
}

table.Container2 td.Container2-text {
	width: 100%;
}

table.Container2 td.Container2-image {
	width: 0px;
	padding: 2px 0px 2px 0.1em;
	text-align: center;
}

table.Container2 td.Container2-imageright {
	width: 0px;
	padding: 2px 4px 2px 0px;
	text-align: center;
}

/* Фикс для изображений разной ширины */
table.Container2 td.Container2-image div,
table.Container2 td.Container2-imageright div {
	width: 1px
}

table.Container2-discussion {
	border-left: 18px solid #ff9999;
	border-right: 4px solid #ff9999;
	border-top: 4px solid #ff9999;
	border-bottom: 4px solid #ff9999
}

table.Container2.Container2-mini {
	float: right;
	clear: right;
	margin: 0 0 0.1em 0.1em;
	width: 10%;
}

/* Default skin for navigation boxes */

table.navbox {
	background-color: #f9f9f9;
	border: 1px solid #aaa;
	clear: both;
	font-size: 90%;
	margin: 1em 0 0;
	padding: 2px;
	text-align: center;
	width: 100%;
}

table.navbox th {
	background-color: #ccf;
	padding-left: 1em;
	padding-right: 1em;
}

table.navbox tr:not(:first-child) th {
	background-color: #ddf;
}

@media print {
	.navbox {
		display: none;
	}
}

/* Navbox hiding, see Wikipedia:NavFrame */

div.Boxmerge,
div.NavFrame {
	margin: 0;
	padding: 4px;
	border: 1px solid #aaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
}

div.Boxmerge div.NavFrame {
	border-style: none;
	border-style: hidden;
}

div.NavFrame+div.NavFrame {
	border-top-style: none;
	border-top-style: hidden;
}

div.NavPic {
	background-color: #fff;
	margin: 0px;
	padding: 2px;
	float: left;
}

div.NavFrame div.NavHead {
	height: 1.6em;
	font-weight: bold;
	background-color: #ccccff;
	position: relative;
}

div.NavFrame p {
	font-size: 100%;
}

div.NavFrame div.NavContent {
	font-size: 100%;
}

div.NavFrame div.NavContent p {
	font-size: 100%;
}

div.NavEnd {
	margin: 0px;
	padding: 0px;
	line-height: 1px;
	clear: both;
}

a.NavToggle {
	position: absolute;
	top: 0px;
	right: 3px;
	font-weight: normal;
	font-size: smaller;
}

/* Стили для заглавной страницы.*/

/* Из https://ru.wikipedia.org/wiki/Шаблон:Заглавная/styles.css */

.main-header {
	border-bottom-color: transparent;
	margin-bottom: 0.25em;
	margin-top: 0;
	padding-bottom: 0;
	padding-top: 0;
}

/* Списки без оформления */

.main-plainlist>ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-plainlist li {
	margin-bottom: 0;
}

/* Ссылки-кнопки */

.main-top-right .mw-ui-quiet:hover,
.main-top-right .mw-ui-quiet:focus,
.main-footer .mw-ui-quiet:hover,
.main-footer .mw-ui-quiet:focus {
	color: #0645ad;
}

/* Скрытие нумерации заголовков, создаваемой опцией «Автоматически нумеровать заголовки»
 на [[Служебная:Настройки#mw-prefsection-rendering]] */

.mw-headline-number {
	display: none;
}

/* Планшеты */

@media (min-width: 720px) {
	.main-wikimedia {
		padding-top: 1rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}
}

/* Стационарные компьютеры */

.main-wrapper {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 1.5rem;
	margin-top: 1.5rem;
	gap: 1.5rem;
}
.main-wrapper-column {
	display: flex;
	flex-direction: column;
	flex: 1 1 400px;
	margin: 0;
}

.main-wikimedia {
	padding-top: 1.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* Из https://ru.wikipedia.org/wiki/Шаблон:Раздел заглавной страницы/styles.css */

.main-box {
	margin: 0 0 1.5rem;
	padding: 1rem;
	background-color: #FFFAF0;
	border: 1px solid silver;
	border-color: #FF8C00;
	border-radius: 7px;
	border-spacing: 1px;
}
.main-box:last-child {
	margin-bottom: 0;
	flex: 1;
}

.main-box>p:last-child {
	margin-bottom: 0;
}

/* Изображение дня */

.main-box-image-only>.main-box-content {
	margin: 0.5rem -1rem 0;
	text-align: center;
}

.main-box-image-only>.main-box-content img {
	height: auto;
	max-width: 100%;
}

.main-box-imageCaption {
	text-align: center;
}

.main-box-imageCaption>p {
	display: inline-block;
	margin-bottom: 0;
	text-align: left;
}

/* Надзаголовок */

.main-box-subtitle {
	color: #72777d;
	line-height: 1.25;
	margin-top: -.125em;
	/* Балансирование верхней границы надзаголовка из-за line-height: 1.25; */
}

/* Заголовок */

.main-box-header {
	margin-top: -.15em;
	/* Балансирование верхней границы заголовка из-за line-height: 1.3; */
	text-align: center;
}

.main-box-header a {
	color: inherit;
}

/* Сброс margin на стандартное значение при появл. надзаголовка*/
.main-box-subtitle+.main-box-header {
	margin-top: 0;
}

.main-box-header a:focus,
.main-box:hover .main-box-header a,
.main-box:hover .main-featuredLists-item>a {
	color: #0645ad;
}

/* Подвал */

.main-footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 1rem;
	position: relative;
}

.main-footer:empty {
	display: none;
}

.main-footer-actions {
	flex: 1;
}

.main-footer-actions>ul {
	align-items: center;
	display: flex;
}

/* Меню */

.main-footer-menu {
	align-items: stretch;
	display: flex;
}

.main-footer-menuToggle {
	align-items: center;
	display: flex;
	float: none;
	height: 100%;
	opacity: 0.87;
}

.main-footer-menuToggle:hover {
	opacity: 0.51;
}

/* Выпадайка */

.main-footer-menuDropdown {
	background: #fff;
	border: 1px solid #a2a9b1;
	border-radius: 2px;
	box-shadow: 0 2px 2px 0 rgba( 0, 0, 0, 0.25);
	max-width: 15em;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 100;
}

.main-footer-menuDropdown .mw-ui-button {
	text-align: left;
	width: 100%;
}

/* Мы в соцсетях, Дружественные проекты, АК */

#main-soc p,
#main-fri p,
#main-pir p,
#main-img p {
	text-align: center;
}

/*Мобильные*/

@media (max-width: 719px) {
	.main-box-responsive-image>.floatleft,
	.main-box-responsive-image>.floatright {
		float: none;
		margin-left: -1rem;
		margin-right: -1rem;
		text-align: center;
	}
	.main-box-responsive-image>.floatleft>a,
	.main-box-responsive-image>.floatright>a {
		display: block;
	}
}

/*Планшеты*/

@media (min-width: 720px) {
	.main-box {
		margin-bottom: 1rem;
		margin-left: 0;
		margin-right: 0;
	}
}

/*Стационарные компьютеры*/

@media (min-width: 1000px) {
	.main-box {
		margin-bottom: 1.5rem;
		padding: 1.5rem;
	}
	.main-box-image-only>.main-box-content {
		margin-left: -1.5rem;
		margin-right: -1.5rem;
	}
}

/*Братские проекты*/

.main-projects-wrapper-0 {
	width: 100%;
	background: #FFA500;
	border-radius: 7px;
	border-spacing: 0;
}

.main-projects-wrapper-1 {
	width: 100%;
	border-radius: 7px;
}

.main-projects-header {
	border: 0;
	text-align: center;
	padding-left: 1px;
	font-family: sans-serif;
	font-size: 100%;
}

.main-projects-table {
	width: 100%;
	font-size: 90%;
	border-radius: 7px;
	line-height: 110%;
	background: #FFFFFF;
}

.main-projects-list {
	width: 100%;
	background: white;
	display: flex;
	flex-wrap: wrap;
}

.main-project-item {
	flex: 1 1 40%;
	min-width: 200px;
}

.main-project-item-table {
	width: 100%;
}

.main-project-icon {
	width: 6%;
}

.main-project-title {
	width: 44%;
	border-bottom: 1px dashed #AAAAAA;
}

#main-wtr,
#main-prs,
#main-new,
#main-fri {
	background-color: #FFFFE0;
}

/*Блок «Добро пожаловать»*/

.main-top-header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
}

.main-top-header-welcome {
	text-align: center;
}

.main-top-header-welcome-bold {
	margin: 0;
	padding: .1em;
	font-family: sans-serif;
	font-size: 162%;
}

.main-top-header-categories {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
}

.main-top-header-patron {
	flex: 100%;
	text-align: center;
	font-size: 95%;
}

/* Высота тела страницы (для корректной работы нигилистических статей) */

body {
	height: auto;
}

/* Прочее */

.main-layout-element {
	margin-bottom: 1rem;
}

/* Коррекция линии для статей из Доброчана в Vector-22 */
body.skin-vector:not(.skin-vector-2022) .vertical-line-vector2010-only {
    display: block !important;
}

body.skin-vector.skin-vector-2022 .vertical-line-vector2010-only {
    display: none !important;
}

/* Убирание верхней вкладки «Добавить тему», т. к. есть кнопка-замена внизу */
#ca-addsection {
    display: none !important;
}