Нет описания правки |
Нет описания правки |
||
Строка 278: | Строка 278: | ||
display: flex; |
display: flex; |
||
align-items: center; |
align-items: center; |
||
+ | } |
||
+ | .pi-smart-data-label { |
||
+ | display: none; |
||
} |
} |
||
.pi-group { |
.pi-group { |
Версия от 04:29, 10 ноября 2018
/* Импорт гуглошрифтов */
@import url('https://fonts.googleapis.com/css?family=Montserrat|Open+Sans&subset=cyrillic,cyrillic-ext');
/* Слайдер */
@import "/load.php?mode=articles&articles=u:dev:MediaWiki:MinimalistSlider/code.css&only=styles";
/* убрать подписи под изображениями, указывающие на загрузившего файл, за ненадобностью */
.WikiaArticle .picture-attribution {display: none;}
/* убрать блок "Близкие по теме статьи" */
#WikiaArticle .RelatedPagesModule {display:none}
/* Убирает ссылку на статью прародителя того же пространства имени, что предотвращает у статей вроде 'Fate/Zero' создание ссылки на 'Fate' */
.ns-0 #contentSub .subpages { display:none; }
/* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[wikipedia: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: #ccf;
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;
}
/* ruby support */
ruby
{
display: inline-table;
text-align: center;
white-space: nowrap;
text-indent: 0;
margin: 0;
vertical-align: bottom;
}
/* ルビベース */
ruby > rb, ruby > rbc
{
display: table-row-group;
line-height: 90%;
}
/* 前側ルビテキスト */
ruby > rt, ruby > rbc + rtc
{
display: table-header-group;
font-size: 60%;
line-height: 40%;
letter-spacing: 0;
}
/* 後側ルビテキスト */
ruby > rbc + rtc + rtc
{
display: table-footer-group;
font-size: 60%;
line-height: 40%;
letter-spacing: 0;
}
/* 複雑ルビテキスト */
rbc > rb, rtc > rt
{
display: table-cell;
letter-spacing: 0;
}
/* rt[rbspan] should be transformed into td[colspan] but that requires xslt */
rtc > rt[rbspan] { display: table-caption; }
/* ルビ括弧 */
rp { display: none; }
/*********************************/
/* main page jquery tabs/sliders */
/*********************************/
.ui-tabs { position: relative; padding: .2em; zoom: 1; }
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; }
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
.ui-tabs-hide { display: none !important; }
/**********/
/* portal */
/**********/
.portal_container { }
.portal_section ul { list-style: disc; }
.portal_section h3 { background: #373c6c; color: white; background-image: url(https://vignette.wikia.nocookie.net/typemoon/images/2/2a/Moon_thing.png/revision/latest?cb=20180117164754&path-prefix=ru); background-repeat: no-repeat; background-position: -10px -10px; padding: 5px 5px 5px 45px; font-family: Montserrat; font-size: 20px; animation-name: dusk; animation-duration: 5s; animation-timing-function: linear; animation-iteration-count: infinite; animation-direction: alternate; }
.portal_section { box-shadow: 0 0 7px rgba(0, 0, 0, 0.1); margin: 0 0 10px 0; background: #f4edfb; font-family: Open Sans; }
.portal_header { padding: 0 0.5em; position: relative; }
.portal_header_text { display: table; width: 100%; padding: 0.6em 0 0 0; border-bottom: 1px dotted rgb(0,0,0); text-align: center; font-family: IMFELLDWPicaPRORegular; font-size: 2em; }
.portal_headerlinks { font-size: 0.8em; position: absolute; right: 1em; bottom: -2em; }
.portal_header, .portal_header a:link, .portal_header a:visited, .portal_header a:hover, .portal_header a:active { color: rgb(0,0,0); }
.portal_body { padding: 0.6em; }
.portal_subheader { padding: 0 0.5em; position: relative; font-size: 0.7em; }
.portal_subheader, .portal_subheader a:link, .portal_subheader a:visited, .portal_subheader a:hover, .portal_subheader a:active { color: rgb(0,0,0); }
.portal_subheader_text { display: table; width: 100%; padding: 0; border-bottom: 1px dotted rgb(0,0,0); text-align: left; font-family: IMFELLDWPicaPRORegular; font-size: 1.6em; color: rgb(0,0,0); }
@keyframes dusk {
50% {filter: brightness(100%); box-shadow: 0 2px 7px rgba(0, 0, 0, 0.3);}
100% {filter: brightness(80%); box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);}
}
/******************/
/* portal: slider */
/******************/
#portal_slider { padding: 0px; position: relative; margin-bottom:5px;}
#portal_slider #portal_next, #portal_slider #portal_prev { text-align: center; cursor: pointer; border: 0px solid #FEC356; height: 30px !important; width: 20px; font-family: arial, san-serif; font-size: 36px; line-height: 22px; font-weight: bold; position: absolute; bottom: 8px; background: transparent; text-shadow: 1px 1px rgba(255, 255, 255, 0.3), -1px 0 rgba(0,0,0,0.3); color: rgb(82,89,160); user-select: none; }
#portal_slider #portal_next:hover, #portal_slider #portal_prev:hover { color: rgb(154,159,203); }
#portal_slider #portal_next { right: 10px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
#portal_slider #portal_prev { right: 31px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
#portal_slider > .portal_body { padding: 0; }
.wikia-gallery-item .thumb .accent {
background-color: transparent;
}
.wikia-gallery-item .accent {
background-color: transparent;
}
.wikia-gallery-item {
background-color: transparent;
}
/* эффект при наведении на ссылки в порталах */
.tmhov {
opacity: 0.8;
transform: scale(0.9);
transition: all .5s;
display: inline-block;
}
.tmhov:hover {
opacity: 1;
transform: scale(1);
transition: all .5s;
}
/*Боксы заглавной */
.tmbox {
background: #f4edfb;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
margin-bottom: 10px;
}
.tmbox h3 {
background: #373c6c;
color: white;
background-image: url(https://vignette.wikia.nocookie.net/typemoon/images/2/2a/Moon_thing.png/revision/latest?cb=20180117164754&path-prefix=ru);
background-repeat: no-repeat;
background-position: -10px -10px;
padding: 5px 5px 5px 45px;
font-family: Montserrat;
font-size: 20px;
animation-name: dusk;
animation-duration: 5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}
.tmboxcontent {
font-family: Open Sans;
padding: 2px 10px
}
/* Tabber */
.tabberlive .tabbertab {
border:none !important;
}
ul.tabbernav {
font-size: 9px !important;
margin:0 0 -1.5em !important;
padding-top: 0px !important;
padding-bottom:0px !important;
border:none !important;
text-align:center;
line-height: 2 !important;
}
ul.tabbernav li a /*поле закладок*/ {
background: none !important;
border:none !important;
}
ul.tabbernav li a:link /*цвет текста закладок*/ {
color:#000 !important;
}
ul.tabbernav li.tabberactive a /*активная закладка*/ {
background-color: #EAEAFF !important;
}
/* стиль для старого инфобокса */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
}
/*стиль нового, модульного инфобокса */
.portable-infobox .pi-header { /*стиль заголовка*/
background-color: #BFBFFF;
border-radius: 5px;
}
.pi-title { /*центровка названия*/
text-align: center;
}
.portable-infobox {
border: 1px solid #aaaaaa;
border-radius: 10px;
background-color: transparent;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
width: 290px;
}
.pi-item-spacing {
padding:0px 0px !important;
}
.portable-infobox .pi-data-label {
padding: 2px;
font-size: 11px;
display: flex;
align-items: center;
}
.pi-smart-data-label {
display: none;
}
.pi-group {
border: 1px solid #BFBFFF;
border-radius: 5px;
}
.pi-image-collection-tabs { /*стиль переключателей изображений*/
font-size: 10px !important;
border: none;
text-align: center;
}
.portable-infobox .pi-image-collection-tabs li {
border: none;
}
.portable-infobox .pi-image-collection-tabs li.current {
background: #EAEAFF;
border: none;
}
.pi-data-label { /*стиль названия полей*/
background-color: #EAEAFF;
}
/*
.pi-tab-link.pi-item-spacing {
padding: 0 5px 0 !important;
}
*/