MediaWiki:Wikia.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.i18ndoc {
background-color: #FFF77D;
border-bottom: 1px solid lightgrey;
font-family: monospace;
font-size: 8pt;
height: 140px;
overflow: auto;
padding: 3px;
}
.skin-oasis .sprite.edit {
background-image:url(https://vignette.wikia.nocookie.net/live-a-live/images/6/61/50-bhtnu0ga.4bj.gif/revision/latest?cb=20160220000752) !important;
background-position:left;
background-repeat:no-repeat;
background-size:15px;
}
/* --- Common styling --- */
.mbox,
.portal {
border-top: 3px solid #1e9de3;
color: white;
background: linear-gradient(180deg,var(--theme-gradient));
}
.portable-infobox .pi-title,
.navbox .navbox-title {
border-bottom: .05em solid;
align-items: center;
justify-content: center;
text-align: center;
}
.portable-infobox .pi-data-label,
.navbox .navbox-group,
.ooui-theme-fandom table.article-table tr th {
font-weight: bold;
font-size: 8pt;
color: var(--template-label-text-color);
}
.portable-infobox .pi-data-label,
.navbox .navbox-group {
text-align: center;
background: linear-gradient(90deg, var(--template-label-gradient));
}
/* Handle multiple columns */
.multicolumn {
display: flex;
justify-content: space-around;
flex-wrap: wrap; width: 100%; align-items: flex-start;
}
.multicolumn > * {
max-width: 445px;
min-width: 130px;
display: inline-block;
vertical-align: top;
margin-right: auto;
flex-basis: auto;
}
/*Content box for projectspace*/
.contentbox {
overflow: hidden;
border-radius: 10px;
border: 1px solid var(--medium-gray);
font-size: 14px;
margin-bottom: 5px;
}
.contentbox .header {
color: black;
background-color: var(--theme-color);
border-radius: 10px 10px 0 0;
text-align: center;
font-weight: 700;
line-height: 18px;
font-size: 18px;
padding: 7px 0 5px;
}
.contentbox p {
padding: 5px;
}
/* Portable Infobox multi types */
.portable-infobox.type-multi {
width: 100%;
float: none;
clear: none;
margin: auto;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
align-items: flex-start;
align-content: space-around;
}
.type-multi .pi-panel {
/*max-width: 350px;
min-width: 250px;*/
width: 300px;
padding: 4px;
border: 1px solid var(--template-border-color);
}
/* Portable Infobox multi types */
.portable-infobox.type-multi {
width: 100%;
float: none;
clear: none;
margin: auto;
display: flex;
flex-flow: row wrap;
justify-content: space-around;
align-items: flex-start;
align-content: space-around;
}
.type-multi .pi-panel {
/*max-width: 350px;
min-width: 250px;*/
width: 300px;
padding: 5px;
border: 1px solid var(--template-border-color);
}
/* --- Infoboxes --- */
.portable-infobox .pi-header {
color: white;
text-align: center;
font-family: var(--theme-font);
font-size: 10pt;
margin: 0.1em;
padding: 0.4em 0;
}
.portable-infobox .pi-horizontal-group .pi-data-value,
.portable-infobox .pi-smart-data-value {
text-align: center;
}
.portable-infobox.type-align-left .pi-horizontal-group .pi-data-value,
.portable-infobox.type-align-left .pi-smart-data-value {
text-align: left;
}
.portable-infobox .pi-section-navigation {
display: flex;
padding: 0.3em 0;
justify-content: space-evenly;
flex-flow: row wrap;
}
/* --- Message boxes --- */
/* Design */
.mbox {
display: flex;
position: relative;
}
.mbox__content {
display: table;
box-sizing: border-box;
width: 100%;
padding: 8px 15px;
}
.mbox__content__image {
display: table-cell;
width: 40px;
height: 100%;
text-align: center;
vertical-align: middle;
padding-right: 15px;
}
.mbox__content__wrapper {
display: table-cell;
vertical-align: middle;
}
.mbox__content__header {
display: block;
font-weight: bold;
font-size: 120%;
}
.mbox__content__header a, .mbox__content__header a:visited {
color: white;
}
.mbox__content__text {
display: block;
}
.mbox__content__text a, .mbox__content__text a:visited {
color: yellow;
}
.lbox .mbox__content__text a, .lbox .mbox__content__text a:visited {
color: #002BB8;
}
.mbox__content__text__comment {
font-size: small;
}
.mbox__content__aside {
display: table-cell;
width: 100px;
vertical-align: middle;
text-align: center;
padding-left: 15px;
border-left: 1px solid #d6d6d6;
}
.mbox__close {
position: absolute;
right: 0;
top: 0;
padding: 2px 7px;
font-weight: bold;
font-size: 16px;
color: #bbb;
cursor: pointer;
transition: all .15s ease-in;
}
.mbox__close:hover {
color: #777;
}
.mbox__close:after {
content: '×';
}
.mw-collapsed + .mbox__close {
transform: rotate(45deg);
padding: 4px 7px 5px 2px;
}
/* old delete template code, leaving here just in case
.mbox.delete {
border: 4px ridge #999999;
font-size: 13px;
text-align: center;
background: black;
}*/
.mbox.delete{
border-top: 3px solid #a90505;
color: white;
background: black;
text-align: center;
font-size: 13px;
}
.mbox.lbox {
background: azure;
border: 4px ridge blue;
border-radius: 10px;
color: black;
margin: auto;
width: 80%;
}
@media print { .mbox { display: none; } }
/* no mbox when printing */
/* --- Audio player --- */
.audio-player {
display: block;
width:300px;
border: 1px solid var(--medium-gray);
border-radius:7px;
font-size:90%;
margin: 5px;
text-align:center;
float: right;
}
.audio-player .title {
border:1px black solid;
border-radius:3.5px;
font-weight: bold;
}
.audio-player .contents {
display:flex;
clear:both;
}
.audio-player .type-image {
width:40px;
margin-top: 10px;
margin-bottom: 10px;
float:left;
}
.audio-player .audio-file {
width:calc(100% - 40px);
float:right;
}
.audio-player .dialog {
font-style: italic;
border: 1px solid var(--medium-gray);
border-radius:7px;
}