MediaWiki:Common.css: Difference between revisions
Content deleted Content added
PeaceDeadC (talk | contribs) No edit summary |
PeaceDeadC (talk | contribs) No edit summary |
||
| (220 intermediate revisions by the same user not shown) | |||
Line 60:
}
.gay {
color: #7D4BBE; /* Фиолетовый цвет для обозначения гомосексуальной ориентации */
font-weight: bold;
}
.bisexual {
color: #DF4661; /* Розовый/красный для обозначения бисексуальной ориентации */
font-weight: bold;
}
.
color: #3D86C6; /* Синий для обозначения гетеросексуальной ориентации */
font-weight: bold;
}
/* Стили для переопределения конфликтующих правил */
.pbccdn .pbccdn-row {
display: flex !important;
flex-wrap: wrap !important;
margin-right: -0.75rem !important;
margin-left: -0.75rem !important;
}
.pbccdn .pbccdn-col-lg-3 {
flex: 0 0 25% !important;
max-width: 25% !important;
}
.pbccdn .pbccdn-col-lg-6 {
flex: 0 0 50% !important;
max-width: 50% !important;
}
.pbccdn .pbccdn-col-md-12 {
flex: 0 0 100% !important;
max-width: 100% !important;
}
/* Сброс некоторых стилей MediaWiki, которые могут конфликтовать */
.pbccdn .pbccdn-card {
width: auto !important;
float: none !important;
display: flex !important;
flex-direction: column !important;
}
/* Принудительное применение отступов */
.pbccdn .pbccdn-mb-4 {
margin-bottom:
}
/* Стиль для отладки - добавляет рамки вокруг колонок */
.debug .pbccdn-col-lg-3,
.debug .pbccdn-col-lg-6,
.debug .pbccdn-col-md-12 {
border: 1px dashed red !important;
}
/* Consistent size for <sub> and <sup> */
.mw-body sub,
.mw-body sup,
span.careerstatusactive a { color: green; }
span.careerstatusretired a { color: red; }
span.reference /* for Parsoid */ {
font-size: 80%;
}
.mwe-popups {
box-shadow: 0 45px 70px -20px rgba(0,0,0,0.3), 0px 0px 1px rgba(0,0,0,0.5);
border:none;
}
/* Main page fixes */
Line 168 ⟶ 175:
#content .people ul, #content .gadget ul {
margin-bottom: 0;
}
Line 434 ⟶ 384:
display: inline;
}
/* Styling the parameter fields in [[Template:Information]] and related templates
also here (besides on [[MediaWiki:Filepage.css]]) to ensure proper preview
on other pages than those in the file namespace */
.fileinfo-paramfield {
background: #ccf;
/* @noflip */
text-align: right;
/* @noflip */
padding-right: 0.4em;
width: 15%;
font-weight: bold;
}
/* Display nested lists inline */
.hlist.inline,
Line 1,032 ⟶ 996:
div.nav .subheading::after,
.table::after { bottom:-3px; }
/** NAVI BARS **/
div.navi {
position:relative;
}
div.navi .box {
filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffffff,EndColorStr=#ffeeeeee);
background-image:linear-gradient(top, #fff 0%, #eee 100%);
background-image:-o-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-moz-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-webkit-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-ms-linear-gradient(top, #fff 0%, #eee 100%);
background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(1, #eee));
border:1px solid #AAA;
border-spacing:0;
font-size:.9230769231em;
min-height:60px;
position:relative;
margin:auto;
}
div.navi .box { width:100%; }
div.navi.thin .box { width:100%; }
div.navi.wide .box { width:100%; }
div.navi.nat .box { width:40em; }
div.navi.full .box { width:unset; }
div.navi.natcat .heading { background-color:#FC6; }
div.navi.natcat dd,
div.navi.natcat dt,
div.navi.natcat table th { border-color:#FC6; }
div.navi .heading {
background-color:#888;
background-image:url("/images/c/cc/Infobox_header_overlay.png") !important;
border:1px solid rgba(0,0,0,0.25);
border-bottom-width:0;
font-family:Arial, sans-serif!important;
font-size:1.083em;
font-size-adjust:.52;
font-weight:700;
line-height:100%;
text-align:center;
margin:-1px -1px 0px;
padding:.769em 0;
position:relative;
z-index:1;
}
div.navi .heading-white {
background-color:#888;
background-image:url("/images/c/cc/Infobox_header_overlay.png") !important;
border:1px solid rgba(0,0,0,0.25);
border-bottom-width:0;
font-family:Arial, sans-serif!important;
font-size:1.083em;
font-size-adjust:.52;
font-weight:700;
line-height:100%;
text-align:center;
margin:-1px -1px 0px;
padding:.769em 0;
position:relative;
z-index:1;
}
div.navi .heading-white a {
color:#FFFFFF;
}
div.navi .heading-white a:hover {
color:#FFFFFF;
}
div.navi .clear {
height:0.667em;
}
div.navi .box::after,
div.navi .heading::after {
content:"";
position:absolute;
width:100%;
left:0;
height:3px;
background-image:url("/images/4/45/Shadow_after.png");
background-size:100% 3px;
}
div.navi .heading-white::after {
content:"";
position:absolute;
width:100%;
left:0;
height:3px;
background-image:url("/images/4/45/Shadow_after.png");
background-size:100% 3px;
}
div.navi .box::after,
div.navi .heading::after {
bottom:-3px;
}
div.navi .heading-white::after {
bottom:-3px;
}
div.navi .wrapper {
padding: 0px 8px;
}
div.navi dl,
div.navi .wrapper.hlist > ul {
margin:0.667em 0em;
}
div.navi dt {
float:left;
text-align:right;
clear:left;
border-right:2px solid #999;
margin:0 -2px 0 0;
padding:2px 8px 2px 0px;
width:25%;
}
div.navi dd {
float:left;
text-align:left;
border-left:2px solid #888;
margin:0;
padding:2px 0px 2px 8px;
width:67%;
}
div.navi dt, div.navi dd {
line-height:1.667em;
}
div.navi table {
line-height:1.667em;
background-color:transparent;
border-collapse:collapse;
width:100%;
margin:0.667em 0;
}
div.navi table th {
text-align:right;
border-right:2px solid #888;
vertical-align:top;
padding:2px 8px;
}
div.navi table td {
padding:2px 8px;
}
.nav .wrapper p {
margin-top:0.667em;
margin-bottom:0.667em;
}
div.navi .selflink {
font-weight:bold;
}
div.navi.nat .box { width:80em; }
div.navi.natcat .heading { background-color:#FC6; }
div.navi.natcat dd,
div.navi.natcat dt,
div.navi.natcat table th { border-color:#FC6; }
/* natcat */
.table.natcat > :first-child > tr:first-child,
.table.natcat > :first-child > tr:first-child > *,
.table.natcat > * > tr.heading,
.table.natcat > * > tr.heading > * {
background-color:#FC6 !important;
border-color:#CCA352 !important;
}
.table.natcat > * > tr > th,
.table > * > tr.natcat > th {
background-color:#FFE6B3;
border-color:#CCB88F;
}
.table.natcat > tbody > tr:nth-child(odd),
.table > tbody > tr.natcat:nth-child(odd) {
background-color:#FFF8E8;
}
/* Remove after shadow for tables that have been centered, otherwise the shadow spans the entire page */
Line 1,149 ⟶ 1,304:
/* @noflip */
clear: none;
font-size: 88%;
line-height: 1.5em;
}
.seancodylist {
display: block;
/* @noflip */
margin: 0.5em 1 0.5em 0.5em;
padding: 0.2em;
/* @noflip */
float: none;
/* @noflip */
clear: both;
/* @noflip */
text-align: center;
justify-content: center;
font-size: 88%;
line-height: 1.5em;
}
.seancodysceneinline {
display: block;
border: 1px solid #aaa;
border-spacing: 3px;
background-color: #f9f9f9;
color: black;
/* @noflip */
margin: 0em 0 0em 0em;
padding: 0.2em;
/* @noflip */
float: none;
/* @noflip */
clear: both;
/* @noflip */
text-align: left;
justify-content: center;
font-size: 88%;
line-height: 1.5em;
}
.gaywargameslist {
display: block;
/* @noflip */
margin: 0.5em 1 0.5em 0.5em;
padding: 0.2em;
/* @noflip */
float: none;
/* @noflip */
clear: both;
/* @noflip */
text-align: center;
justify-content: center;
font-size: 88%;
line-height: 1.5em;
Line 1,867 ⟶ 2,074:
/* career */
.table.career { width:
.table.career > :first-child > tr:first-child {
text-align:center;
Line 2,273 ⟶ 2,480:
margin: 1px;
margin-left: 0.5em;
float: right;
clear: right;
}
| |||