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

Материал из Абсурдопедии
Перейти к навигации Перейти к поиску
Баг со скроллингом
Нет описания правки
Строка 16: Строка 16:
}
}


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


body.ns-110 #ca-talk {
body.ns-110 #ca-talk {
Строка 26: Строка 26:
}
}


/* Скрыть {{MediaWiki:Uploadtext-ext}} на [[Special:Upload]] */
/*Скрыть{{MediaWiki:Uploadtext-ext}} на [[Special:Upload]]*/
 
#uploadtext-ext {
#uploadtext-ext {
     display: none;
     display: none;
}
}


/* Скрыть {{звёздочка}} */
/*Скрыть {{звёздочка}}*/
 
.stars {
.stars {
     display: none;
     display: none;
}
}


/* Использование: <span class="nounderlinelink">[[link]]</span> */
/*Использование: <span class="nounderlinelink">[[link]]</span>*/
 
.nounderlinelink a {
.nounderlinelink a {
     text-decoration: none ! important;
     text-decoration: none ! important;
Строка 49: Строка 46:


/* Стиль порталов */
/* Стиль порталов */
.portalfont {
.portalfont {
     font-family: Verdana, Arial, Helvetica, sans-serif;
     font-family: Verdana, Arial, Helvetica, sans-serif;
Строка 83: Строка 79:


/* Для АбсурдоРекламы */
/* Для АбсурдоРекламы */
#p-lolads a:visited {
#p-lolads a:visited {
     color: #002bb8;
     color: #002bb8;
Строка 110: Строка 105:


/* Убирает белый фон вокруг изображений: <div class="nonwhite">[[Файл: ... ]]</div> */
/* Убирает белый фон вокруг изображений: <div class="nonwhite">[[Файл: ... ]]</div> */
.nonwhite .thumb {
.nonwhite .thumb {
     border: none;
     border: none;
Строка 125: Строка 119:
}
}


/*** Mark redirects in Special:Allpages und Special:Watchlist ***/
/***Mark redirects in Special:Allpages und Special:Watchlist***/
 
.allpagesredirect, .watchlistredir {
.allpagesredirect, .watchlistredir {
     font-style: italic;
     font-style: italic;
}
}


/*** Forum formatting (by -Algorithm & -Splaka) ***/
/***Forum formatting (by -Algorithm & -Splaka)***/
 
.forumheader {
.forumheader {
     border: 1px solid #aaa;
     border: 1px solid #aaa;
Строка 164: Строка 156:
}
}


/* prettytable */
/*prettytable*/
 
table.prettytable {
table.prettytable {
     margin: 1em 1em 1em 0;
     margin: 1em 1em 1em 0;
Строка 190: Строка 181:
}
}


/* Различные настройки */
/*Различные настройки*/
 
#p-wikicities-nav {
#p-wikicities-nav {
     display: none;
     display: none;
Строка 202: Строка 192:
}
}


/* для {{NoincludeWantedpages}} */
/*для {{NoincludeWantedpages}}*/
 
span.new a {
span.new a {
     color: #ba0000 ! important;
     color: #ba0000 ! important;
Строка 212: Строка 201:
}
}


/* Выделяем ссылку на текущую статью в тематических шаблонах (вроде {{unix}}, {{поэты) */
/*Выделяем ссылку на текущую статью в тематических шаблонах (вроде {{unix}}, {{поэты)*/
 
.toccolours .selflink {
.toccolours .selflink {
     font-size: 120%;
     font-size: 120%;
Строка 226: Строка 214:
}
}


/* Выделение цифр в Правках цветом */
/*Выделение цифр в Правках цветом*/
 
.mw-plusminus-pos {
.mw-plusminus-pos {
     color: #006400;
     color: #006400;
}
}


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


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


#userSummaryButtonsA a {
#userSummaryButtonsA a {
Строка 386: Строка 372:
.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;
}
}


Строка 451: Строка 424:
}
}


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


/* Википедия:Правила оформления таблиц */
/* Википедия:Правила оформления таблиц */
table.simple {
table.simple {
     border-color: rgb(170, 170, 170);
     border-color: rgb(170, 170, 170);
Строка 670: Строка 641:


/* {{Container2}} - для "Не по-детски"*/
/* {{Container2}} - для "Не по-детски"*/
table.Container2 {
table.Container2 {
     width: auto;
     width: auto;
Строка 725: Строка 695:
}
}


/* default skin for navigation boxes */
/*default skin for navigation boxes*/
 
table.navbox {
table.navbox {
     background-color: #f9f9f9;
     background-color: #f9f9f9;
Строка 755: Строка 724:


/* navbox hiding, see Wikipedia:NavFrame */
/* navbox hiding, see Wikipedia:NavFrame */
div.Boxmerge, div.NavFrame {
div.Boxmerge, div.NavFrame {
     margin: 0px;
     margin: 0px;

Версия от 06:54, 24 июля 2019

/* Фоны таблиц */
@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 {
    display: none;
}

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

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

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

/* Стиль порталов */
.portalfont {
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

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

#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 ! important;
}

#portal table {
    background: inherit ! important;
}

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

/* Для АбсурдоРекламы */
#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%;
}

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

.nonwhite .tleft {
    border: none;
}

.nonwhite .tright {
    margin-left: 13px;
}

/***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 td.forum_edited a {
    color: black;
    text-decoration: none
}

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

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

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

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

/*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;
}

/*для {{NoincludeWantedpages}}*/
span.new a {
    color: #ba0000 ! important;
}

span.new a:visited {
    color: #a55858 ! important;
}

/*Выделяем ссылку на текущую статью в тематических шаблонах (вроде {{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;
}

/*Выделение цифр в Правках цветом*/
.mw-plusminus-pos {
    color: #006400;
}

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

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

#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;
    speak: 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;
}

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 {
    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://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}

/* {{ambox}} */

table.ambox {
    width: auto;
    margin: 0 10%;
    border-collapse: collapse;
    background: #FBFBFB;
    border: 1px solid #AAAAAA;
    border-left: 10px solid #1E90FF
}

table.ambox th, table.ambox td {
    padding: 0.25em 0.5em;
}

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

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

table.ambox td.ambox-image {
    width: 52px;
    padding: 2px 0 2px 0.5em;
    text-align: center;
}

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

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

table.ambox-delete, table.ambox-serious {
    border-left: 10px solid #B22222
}

table.ambox-content {
    border-left: 10px solid #F28500
}

table.ambox-style {
    border-left: 10px solid #F4C430
}

table.ambox-good {
    border-left: 10px solid #66CC44
}

table.ambox-discussion {
    border-left: 10px solid #339966
}

table.ambox-notice {
    border-left: 10px solid #1E90ff
}

table.ambox-merge {
    border-left: 10px solid #9932CC
}

table.ambox-protection {
    border-left: 10px solid #BBBBAA
}

table.ambox.ambox-mini {
    float: right;
    clear: right;
    margin: 0 0 0.5em 1em;
    width: 20%;
}

/* {{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 0em 0em;
    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: 0px;
    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;
}
/*Баг с длинными строками*/
pre {
	overflow-x: auto;
	overflow-y: hidden;
}