Content deleted Content added
Created page with "/* * MediaWiki upgrade note: * On the server side, the following style files are modified for PBC: * * resources/src/mediawiki.skinning/elements.css * skins/Vector/variab..."
 
No edit summary
 
(222 intermediate revisions by the same user not shown)
Line 58:
li {
list-style-position: inside;
}
 
.gay {
color: #7D4BBE; /* Фиолетовый цвет для обозначения гомосексуальной ориентации */
font-weight: bold;
}
 
.bisexual {
color: #DF4661; /* Розовый/красный для обозначения бисексуальной ориентации */
font-weight: bold;
}
 
.straight {
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: 1.5rem !important;
}
 
/* Стиль для отладки - добавляет рамки вокруг колонок */
.debug .pbccdn-col-lg-3,
.debug .pbccdn-col-lg-6,
.debug .pbccdn-col-md-12 {
border: 1px dashed red !important;
}
 
Line 117 ⟶ 175:
#content .people ul, #content .gadget ul {
margin-bottom: 0;
}
 
/* Tabber */
 
ul.tabbernav {
margin: 0;
padding: 1px 0;
border-bottom: 0px solid #CCC;
font: bold 12px Verdana, sans-serif;
text-align:center;
}
 
ul.tabbernav li {
list-style: none;
margin: 0;
display: inline;
}
 
ul.tabbernav li a {
padding: 1px .5em;
margin-left: 3px;
border: 1px solid #CCC;
border-bottom: none;
background: #F2F7FF;
text-decoration: none;
}
 
ul.tabbernav li a:link {
color: #D46007;
}
 
ul.tabbernav li a:visited {
color: #D46007;
}
 
ul.tabbernav li a:hover {
color: #000;
background: #FFF9F2;
border-color: #CCC;
}
 
ul.tabbernav li.tabberactive a {
background-color: #FFF;
border-bottom: 0px solid #FFF;
}
 
ul.tabbernav li.tabberactive a:hover {
color: #000;
background: #FFF;
border-bottom: 0px solid #FFF;
}
 
.tabber .tabbertab {
padding: 1px;
border: 0px solid #CCC;
border-top: 0;
display: block;
}
 
Line 383 ⟶ 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 981 ⟶ 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,098 ⟶ 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,816 ⟶ 2,074:
 
/* career */
.table.career { width:60 auto; min-width: 68%; max-width:2400px; display:table; text-align:center; vertical-align:middle;}
.table.career > :first-child > tr:first-child {
text-align:center;
Line 2,222 ⟶ 2,480:
margin: 1px;
margin-left: 0.5em;
float: right;
clear: right;
}