(quote color) |
mNo edit summary |
||
Line 269: | Line 269: | ||
.scrollbox { |
.scrollbox { |
||
border: 1px solid var(--a-bg-color); |
border: 1px solid var(--a-bg-color); |
||
+ | border-radius: 3px; |
||
− | width: |
+ | width: 100%; |
height: auto; |
height: auto; |
||
max-height: 190px; |
max-height: 190px; |
Revision as of 08:11, 30 August 2021
@import url("/load.php?mode=articles&only=styles&articles=MediaWiki:Flames.css");
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP&display=swap');
@import url("//dev.fandom.com/load.php?mode=articles&articles=MediaWiki:Global_Lua_Modules/NavboxBuilder.css&only=styles");
:root {
--font-japanese: 'Noto Serif JP', serif;
--a-bg-color: #b88746;
--b-bg-color: #fdf5a6;
--link-color: var(--a-bg-color);
}
/** JAPANESE TEXT **/
[lang=ja] + i {
line-height: 20px;
}
:lang(ja), .japanese {
font-family: var(--font-japanese);
}
.jTemplate {
font-weight: normal;
font-style: normal;
}
.jTemplate .romaji {
font-style: italic;
}
.jTemplate .lit:before {
content: '“';
}
.jTemplate .lit:after {
content: '”';
}
.jTemplate .help {
font-size: 9px;
font-weight: bold;
line-height: 0;
vertical-align: super;
}
/** Main Page Portal & Wiki container template **/
.wiki-container {
border: 1px solid var(--a-bg-color);
border-radius: 3px;
margin-top: 10px;
margin-bottom: 10px;
}
.wiki-container h3.header {
font-size: 16pt;
display: flex;
justify-content: center;
border-bottom: 1px solid var(--a-bg-color);
background-image: linear-gradient(45deg,var(--a-bg-color),var(--b-bg-color));
background-size: 100%;
background-clip: text;
-webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent;
padding: 5px;
margin-top: 0px;
margin-bottom: 0px;
}
.wiki-container .body {
padding: 10px;
}
.wiki-container .wikia-gallery {
text-align: center;
}
.wiki-container .wikia-gallery .wikia-gallery-item .gallery-image-wrapper {
border: 1px solid var(--a-bg-color);
border-radius: 2px;
}
.wiki-container .wikia-gallery .wikia-gallery-item .lightbox-caption {
margin: 0px;
}
.wiki-container .wikia-gallery .wikia-gallery-item .chargallery-profile-caption {
font-weight: bold;
color: var(--theme-body-text-color);
}
.wiki-container .wikia-gallery .wikia-gallery-item .chargallery-profile-caption.missing {
font-weight: normal;
font-style: italic;
color: var(--theme-body-text-color);
}
.wiki-container .wikia-gallery .wikia-gallery-item .chargallery-profile-subcaption {
color: var(--theme-body-text-color);
}
.wiki-container .body .grid-portal {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
grid-gap: 10px;
-webkit-box-pack: center;
justify-items: center;
}
.grid-portal .grid-cell {
border: 1px solid var(--a-bg-color);
border-radius: 3px;
}
.grid-portal .grid-img img {
border-bottom: 1px solid var(--a-bg-color);
}
.grid-portal .grid-img a:hover {
cursor: crosshair;
opacity: .3;
}
.grid-portal .grid-img a:hover:before {
background-image: url(https://vignette.wikia.nocookie.net/reborn/images/6/62/Crosshair.svg/revision/latest?cb=20200629080101);
background-repeat: no-repeat;
width: 120px;
height: 120px;
content: "";
position: absolute;
}
.grid-portal .grid-link {
text-align: center;
}
.grid-portal .grid-link a {
color: var(--link-color);
cursor: crosshair;
}
.grid-portal .grid-link a:hover {
color: var(--theme-text-color);
text-decoration: none;
}
/** From Dev:Quote.css **/
:root {
--pull-quote-max-width: 80%;
--pull-quote-text-color: var(--theme-page-text-color, rgba(0, 0, 0, .8));
--pull-quote-mark-color: var(--a-bg-color, rgba(0, 0, 0, .15));
--pull-quote-mark-font: "Times New Roman", serif;
--pull-quote-hyphens: auto;
--pull-quote-frame-color: #bbb;
}
#content .pull-quote {
display: flex;
flex-wrap: wrap;
max-width: var(--pull-quote-max-width);
margin: 1em auto;
font-size: 1em;
line-height: 1.8;
}
#content .pull-quote::before {
color: var(--a-bg-color);
}
#content .pull-quote__text {
flex-basis: 100%;
position: relative;
padding: 0 2em;
hyphens: var(--pull-quote-hyphens);
color: var(--pull-quote-text-color);
}
#content .pull-quote__text::before, #content .pull-quote__text::after {
position: absolute;
font-size: 3em;
font-family: var(--pull-quote-mark-font);
font-weight: 700;
color: var(--pull-quote-mark-color);
}
#content .pull-quote__text::before {
content: "“";
top: 0;
left: 0;
line-height: 1;
}
#content .pull-quote__text::after {
content: "”";
bottom: 0;
right: 0;
line-height: 0.2;
}
#content .pull-quote__source {
margin-left: auto;
}
#content .pull-quote__source::before {
content: "—";
}
#content .pull-quote--right, #content .pull-quote--left {
border: 1px solid var(--pull-quote-frame-color);
border-left: 0;
border-right: 0;
padding: 1em 0;
text-align: justify;
}
#content .pull-quote--right {
float: right;
margin: 1em 0 1em 2em;
}
#content .pull-quote--left {
float: left;
margin: 1em 2em 1em 0;
}
/* Context-links */
.context-link {
padding-left: 2em;
font-style: italic;
margin-bottom: 5px;
}
/** Multiple columns
from Final Fantasy Wiki **/
.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;
}
/** SingerBox styling **/
.singer-box {
display: inline-block;
width: 10px;
height: 10px;
margin-right: 5px;
margin-bottom: 7px;
border: 1px solid rgba(0, 0, 0, .2);
vertical-align: bottom;
background: var(--a-bg-color);
}
.singer-box .name {
display: none;
}
/** Scroll Box **/
.scrollbox {
border: 1px solid var(--a-bg-color);
border-radius: 3px;
width: 100%;
height: auto;
max-height: 190px;
overflow: auto;
margin-bottom: 3px;
padding-left: 0.5em;
}
/** INFOBOXES **/
.portable-infobox {
--pi-secondary-background: var(--a-bg-color);
--pi-border-color: var(--a-bg-color);
}
.portable-infobox .pi-title {
background-color: #f3ec78;
background-image: linear-gradient(45deg, var(--a-bg-color), var(--b-bg-color));
background-size: 100%;
background-clip: text;
-webkit-text-fill-color: transparent;
-moz-text-fill-color: transparent;
border-bottom: 1px solid var(--a-bg-color);
}
.portable-infobox .pi-border-color {
--pi-border-color: var(--a-bg-color);
}
.portable-infobox .wds-tabs__tab.wds-is-current {
--wds-tab-color--active: var(--a-bg-color);
}
.portable-infobox .pi-header {
--pi-secondary-background--label: var(--theme-page-text-color);
}
.portable-infobox .pi-smart-group {
border-top: none;
}
.portable-infobox a,
.portable-infobox .pi-data-value ul li::before {
color: var(--link-color);
}
/** TABLES **/
table.article-table tr th {
background-color: var(--a-bg-color);
}
table.article-table tr td {
border-color: var(--a-bg-color);
}
table.article-table td.a {
font-weight: bold;
color: var(--a-bg-color);
}
table.article-table > caption{
border: none;
padding: 0px;
font-size: small;
}
table.article-table--ccg {
width: 100%;
}
table.article-table--ccg tr th {
text-align: center;
}
table.article-table--ccg tr td.a:not(:last-child) {
width: 15%;
}
/** subpages **/
table.subpage-template.article-table {
width: 100%;
margin-top: 0px;
border: 1px solid var(--a-bg-color);
}
table.subpage-template tr {
display: table-cell;
}
table.subpage-template tr:first-child {
width: 10%;
}
table.subpage-template.article-table th,
table.subpage-template.article-table td {
border-bottom: none;
display: block;
text-align: center;
}
table.subpage-template tr:first-child {
background-color: var(--a-bg-color);
color: var(--theme-page-text-color);
}
table.subpage-template tr:not(:last-child) td {
border-right: 1px solid var(--a-bg-color);
}
/* Brute force formatting */
table.subpage-template tr:not(:first-child):nth-last-child(1) {
width: 90%;
}
table.subpage-template tr:not(:first-child):nth-last-child(2),
table.subpage-template tr:not(:first-child):nth-last-child(2) ~ tr {
width: 45%;
}
table.subpage-template tr:not(:first-child):nth-last-child(3),
table.subpage-template tr:not(:first-child):nth-last-child(3) ~ tr {
width: 30%;
}
table.subpage-template tr:not(:first-child):nth-last-child(4),
table.subpage-template tr:not(:first-child):nth-last-child(4) ~ tr {
width: 22.5%;
}
table.subpage-template tr:not(:first-child):nth-last-child(5),
table.subpage-template tr:not(:first-child):nth-last-child(5) ~ tr {
width: 18%;
}
/** Navboxes **/
.navbox {
border: solid var(--a-bg-color) 1px;
border-radius: 3px;
font-size: smaller;
}
.navbox .table-wide-inner {
margin: 0;
}
.navbox .navbox-title {
line-height: 26px;
font-size: large;
}
.navbox .navbox-title a {
color: var(--link-color);
}
.navbox .navbox-section-wrapper {
border-top: 1px solid var(--a-bg-color);
margin-top: 5px;
margin-bottom: -5px;
}
.navbox .navbox-group,
.navbox .navbox-subgroup {
width: 15%;
}
.navbox .navbox-title,
.navbox .navbox-group,
.navbox .navbox-subgroup {
white-space: normal;
vertical-align: middle;
text-align: center;
}
.navbox .navbox-header {
padding: 0.7em;
}
.navbox .navbox-table .navbox-list {
vertical-align: middle;
}
.navbox .navbox-table .navbox-padding {
padding: 0.7em;
}
.navbox .navbox-col {
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-direction: row;
flex-direction: row;
margin: 0px;
}
.navbox .navbox-col .navbox-group {
margin: 0px;
}
.navbox .navbox-col .navbox-list {
-webkit-box-flex: 1;
-ms-flex: auto;
flex: auto;
}
.navbox .navbox-base {
font-weight: bold;
}
.navbox .navbox-odd div.navbox-group,
.navbox .navbox-even div.navbox-group {
width: 17%;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.navbox .navbox-odd.navbox-col,
.navbox .navbox-even.navbox-col {
margin-bottom: 5px;
}
/** Mboxes **/
.mbox {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
position: relative;
border: 1px solid var(--a-bg-color);
border-radius: 3px;
margin-bottom: 5px;
min-height: 32px;
}
.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 {
font-weight: bold;
}
.mbox__close {
position: absolute;
right: 0;
top: 0;
padding: 2px 7px;
font-weight: bold;
font-size: 16px;
color: #bbb;
cursor: pointer;
-webkit-transition: all .15s ease-in;
transition: all .15s ease-in;
}
.mbox__close:hover {
color: #777;
}
.mbox__close:after {
content: '×';
}
.mw-collapsed + .mbox__close {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
padding: 4px 7px 5px 2px;
}
/** Colors template **/
.list-palette {
display: -ms-grid;
display: grid;
grid-template-columns: auto auto auto auto;
-ms-grid-columns: auto auto auto auto;
grid-gap: 5px;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.palette {
background-color: #ffffff;
box-shadow: 3px 3px 3px 3px rgba(226, 228, 231, 0.75);
list-style: none;
line-height: 1em;
box-sizing: border-box;
width: 150px;
display: table-cell;
}
.palette-color {
height: 50px;
position: relative;
}
.palette-color--a {
background-color: var(--a-bg-color);
color: var(--a-bg-color);
width: 50%;
height: 50px;
float: left;
display: table;
}
.palette-color--b {
background-color: var(--b-bg-color);
color: var(--b-bg-color);
width: 50%;
height: 50px;
float: left;
display: table;
}
.palette-color__name {
color: var(--text-color);
text-align: center;
}
.palette-color__code {
font-size: 12px;
line-height: .8em;
text-transform: uppercase;
font-family: Consolas, "Eupheima UCAS", Ayuthaya, Menlo, monospace;
display: table-cell;
vertical-align: middle;
text-align: center;
-webkit-filter: invert(1) grayscale(1) contrast(9);
}