×
Create a new article
Write your page title here:
We currently have 3,034 articles on YumeWiki. Type your article name above or click on one of the titles below and start writing!



YumeWiki
3,034Articles

MediaWiki:Common.css: Difference between revisions

(Keep collapsible table captions left)
(rename to pixel-perfect)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/**  
/**
*  CSS placed here will be applied to all skins, note that the
*  CSS placed here will be applied to all skins, note that the
*  setup has been organized for different custom namespaces.
*  setup has been organized for different custom namespaces.
**/
**/
 
/* [START] Global styling */
/* [START] Global styling */
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap');
Line 10: Line 10:
body * {
body * {
font-family: 'Rubik';
font-family: 'Rubik';
}  
}


body pre {
body pre {
  overflow: hidden;
overflow: hidden;
  padding-bottom: 5px;
padding-bottom: 5px;
  color: #000000;
line-height: 14px;
  line-height: 14px;
word-break: break-word;
  word-break: break-all;
}
}


/*Main page styles*/
@media screen and (min-width: 1024px) and (max-width: 1279px) {
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .main-page__left-column .menu-icon-container {
.main-page__left-column .menu-icon-container {
        margin: 0 50px;
margin: 0 50px;
    }
}
}
}


@media screen and (min-width: 1024px) {
@media screen and (min-width: 1024px) {
    .menu-icon-container--single-column {
.menu-icon-container--single-column {
        margin: 0 50px;
margin: 0 50px;
    }
}
}
}


@media screen and (min-width: 1600px) {
@media screen and (min-width: 1600px) {
    .menu-icon-container--single-column {
.menu-icon-container--single-column {
        margin: 0 100px;
margin: 0 100px;
    }
}
}
}


@media screen and (min-width: 1280px) {
@media screen and (min-width: 1280px) {
    .main-page__column {
.main-page__column {
        display: inline-block;
display: inline-block;
    }
}


    .main-page__left-column {
.main-page__left-column {
        width: 65%;
width: calc(100% - 310px - 2em);
    }
}


    .main-page__right-column {
.main-page__right-column {
        float: right;
float: right;
        width: 310px;
width: 310px;
    }
}
}
}


@media screen and (min-width: 1600px) {
/*Main page banner icons*/
    .main-page__left-column {
.MenuIcon {
        width: 75%;
height: auto;
    }
overflow: hidden;
display: inline-block;
}
}


p {
.MenuIcon img {
  margin: 8 0 8px 0;
transition: transform .5s ease;
}
}


#p-search .wvui-typeahead-search__suggestions {
.MenuIcon:hover img {
  top: auto;
transform: scale(0.95);
  z-index: 999;
}
}


.MenuIcon {
 
     height: auto;  
/*Main page small icons*/
     overflow: hidden;
#icon-container {
     display: inline-block;
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
}
}


.MenuIcon img {
.icon-container__item {
     transition: transform .5s ease;
     min-width: 120px;
    max-width: 128px;
    margin-right: 5px;
}
}


.MenuIcon:hover img {
.icon-container__item-link {
     transform: scale(0.95);
     text-align: center;
}
}


/*Main page headers*/
.front-page-heading {
.front-page-heading {
text-align:center;
text-align:center;
    font-weight:bold;
font-weight:bold;
    padding:1px;
padding:1px;
}
 
/*Search*/
#p-search .wvui-typeahead-search__suggestions {
top: auto;
z-index: 999;
}
}


/*Unknown what this does*/
.author-jp-name {
.author-jp-name {
display:none;
display:none;
}
}


.spoiler, .spoiler a {  
/*Spoiler text*/
  color: #000000!important;
.spoiler, .spoiler a {
  background-color: #000000!important;
color: #000000!important;
background-color: #000000!important;
}
}


.spoiler:hover, .spoiler:hover a {
.spoiler:hover, .spoiler:hover a {
background-color:transparent
background-color:transparent
}
}


/*Center text convenience class*/
.center-text {
.center-text {
text-align: center;
text-align: center;
}
}


.legacy-infobox {
/*Infobox styling*/
.infobox {
display: table;
background-color: #f4f4f4; /** temp */
border: 1px solid #888888; /** temp */
-moz-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
border-radius: 6px;
font-size: 69%;
font-size: 69%;
position: relative;
float: right;
clear: right;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
width: 100%;
width: 100%;
margin-bottom: 0;
}
.legacy-infobox a {
word-break: break-all;
}
}


@media only screen and (min-width: 768px) {
@media only screen and (min-width: 768px) {
    .legacy-infobox {
.infobox {
        width: 275px;
width: 275px;
    }  
}
}
}


/** Ported from the FANDOM wikis */
.infobox p {
.infobox {
margin: 0;
background-color: #f4f4f4; /** temp */
    border: 1px solid #888888; /** temp */
    clear: right;
    display: table;
    float: right;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    position: relative;
}
}


.infobox p {
.infobox a {
margin: 0;
word-break: break-word;
}
}


.infobox td:first-child {
.infobox td:first-child {
    vertical-align: top;
vertical-align: top;
}
}


/*Listbox styling*/
.listloc {
.listloc {
    border: 1px solid #303030;
border: 1px solid #303030;
    margin: 0 0 5px 5px;
margin: 0 0 5px 5px;
    font-size: 80%;
font-size: 80%;
    background: #505050;
background-color: #bdbdbd;
    color: #CCCCCC;
min-height: 225px;
    width: 100%;
padding: 0;
    min-height: 225px;
text-align: center;
    padding: 0;
display: inline-table;
    text-align: center;
    display: inline-table;
}
}


.listchar {
.listchar {
    display: inline-table;
display: inline-table;
}
}


@media only screen and (min-width: 768px) {
@media only screen and (min-width: 768px) {
.listchar, .listloc {
.listchar, .listloc {
    width: 225px;
width: 225px;
    height: 275px;
height: 275px;
}
}
}
}


 
.listloc h3 {
.listloc__header {
margin:1px;
margin:1px;
background-color:#404040;
color:#CCCCCC;
font-size:150%;
font-size:150%;
}
}
Line 179: Line 184:
/** Portable infobox styling */
/** Portable infobox styling */
@media only screen and (min-width: 768px) {
@media only screen and (min-width: 768px) {
    .portable-infobox {
.portable-infobox {
        width: 275px;
width: 275px;
    }  
}
}
}


.pi-title {
.pi-title {
    padding-bottom: 15px !important; /** TODO: Improve this so that !important won't be used */
padding-bottom: 15px !important; /** TODO: Improve this so that !important won't be used */
    padding-top: 15px;
padding-top: 15px;
border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
font-size: 200%;
font-size: 200%;
Line 193: Line 198:


.portable-infobox {
.portable-infobox {
    border-radius: 6px 6px 6px 6px;
border-radius: 6px 6px 6px 6px;
font-size: 11px;
font-size: 11px;
}
}
Line 204: Line 209:
.pi-data-label {
.pi-data-label {
vertical-align: top;
vertical-align: top;
    min-width: 30%;
min-width: 30%;
}
}


Line 212: Line 217:


.portable-infobox .pi-image-thumbnail {
.portable-infobox .pi-image-thumbnail {
    max-width: -webkit-fill-available;
max-width: -webkit-fill-available;
}
}


.portable-infobox .pi-header {
.portable-infobox .pi-header {
    font-style: italic;
font-style: italic;
    font-size: 115%;
font-size: 115%;
}
}


.pi-group[data-item-name="hidden-metadata"] {
.pi-group[data-item-name="hidden-metadata"] {
    display: none;
display: none;
}
}


/*Gallery*/
/*Gallery*/
li.gallerybox {
li.gallerybox {
  vertical-align: top;
vertical-align: top;
  display: inline-block;
display: inline-block;
}
}


li.gallerybox div.thumb {
li.gallerybox div.thumb {
  background: none;
background: none;
  border: 0;
border: 0;
}
}


li.gallerybox div.thumb img {
li.gallerybox div.thumb img {
  display: block;
display: block;
}
}


div.gallerytext {
div.gallerytext {
  overflow: hidden;
overflow: hidden;
  font-size: 9pt;
font-size: 9pt;
  word-wrap: break-word;
word-wrap: break-word;
  margin-top: -15px;
margin-top: -15px;
}
}


/*Mobile Tooltips*/
/*gallery or image class for sprites*/
@media (pointer: coarse), (hover: none) {
.pixel-perfect {
  span[title] {
image-rendering: pixelated;
        position: relative;
        display: inline-flex;
        justify-content: center;
    }
    span[title]:focus::after {
        content: attr(title);
        position: absolute;
        top: 90%;
        color: #000;
        background-color: #fff;
        border: 1px solid;
        width: fit-content;
        padding: 3px;
z-index:999;
font-size:9pt;
min-width:105px;
right:-7px;
}
    }
 
/*Mobile Menu*/
@media screen and (max-width: 850px) {
  .wds-tabs {
    position: absolute !important;
    z-index: 999999999999;
    top: 55px;
    overflow: auto;
    max-height: 300px;
    padding: 7px 0;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.3);
    width: 80%;
  }
}
}


/*Source edit menu*/
/*Source edit menu*/
.CodeMirror-sizer {
.CodeMirror-sizer {
font-size: 15px;
font-size: 15px;
}
}


/*Table cell test*/
/*article-table*/
.article-table tr:nth-child(even) {background: #E4E4E4}
.article-table tr:nth-child(odd) {background: #F3F3F3}
.article-table {
border: 1px solid #000000;
border-collapse:collapse;
}
 
/*Table captions*/
.wikitable > caption,
.article-table > caption {
margin: auto;
width: fit-content;
}
 
/*Keep collapsible table captions left*/
.wikitable.mw-collapsible > caption,
.article-table.mw-collapsible > caption {
margin: 0;
}
 
/*Empty table cells*/
.empty {
.empty {
  background-color: #CCCCCC !important;
background-color: #CCCCCC !important;
}
}


/*Wikitable*/
/*Tooltip icons*/
.wikitable > caption {
.infoicon {
    font-weight: bold;
font-size: 125%;
    margin: auto;
line-height: 1em;
    width: fit-content;
cursor: help;
}
}
/*Keep collapsible table captions left*/
 
.wikitable.mw-collapsible > caption {
/*Tooltip text*/
  margin:0;
.explain {
cursor: help;
text-decoration: underline;
text-decoration-style: dotted;
}
}


/*Mobile tooltips support*/
@media (pointer: coarse), (hover: none) {
span[title] {
position: relative;
display: inline-flex;
justify-content: center;
}
span[title]:focus::after {
content: attr(title);
position: absolute;
top: 90%;
color: #000;
background-color: #fff;
border: 1px solid;
width: fit-content;
padding: 3px;
z-index:999;
font-size:9pt;
min-width:105px;
right:-7px;
}
}
/* [END] Global styling */
/* [END] Global styling */


Line 313: Line 329:
/* [START] NS0-NS1: Meta namespace */
/* [START] NS0-NS1: Meta namespace */
.ns-0 .front-page-heading {
.ns-0 .front-page-heading {
    background: #510b17;
background: #510b17;
    border: 5px solid #8c516b;
border: 5px solid #8c516b;
}
}


.ns-0 .front-page-heading__text {
.ns-0 .front-page-heading__text {
    color: #b582bd;
color: #b582bd;
}
}


#welcome-banner {
#welcome-banner {
    padding-bottom: 10px;
padding-bottom: 10px;
    margin-bottom: 5px;
margin-bottom: 5px;
    border: 1px solid #9b7d9f;
border: 1px solid #9b7d9f;
    background: #ead5ed;
background: #ead5ed;
}
}


#welcome-banner__welcome-text {
#welcome-banner__welcome-text {
border: none;
border: none;
    margin: 0;
margin: 0;
    text-align: center;
text-align: center;
}
}


Line 338: Line 354:
/* [START] NS3000-3001: Yume Nikki */
/* [START] NS3000-3001: Yume Nikki */
.ns-3000 .front-page-heading {
.ns-3000 .front-page-heading {
    background:#320f13;
background:#320f13;
    border:5px solid #b393a3;
border:5px solid #b393a3;
}
}


.ns-3000 .front-page-heading__text {
.ns-3000 .front-page-heading__text {
    color: #b393a3;
color: #b393a3;
}
}
/* [END] NS3000-3001: Yume Nikki */
/* [END] NS3000-3001: Yume Nikki */
Line 349: Line 365:
/* [START] NS3002-3003: Yume 2kki */
/* [START] NS3002-3003: Yume 2kki */
.ns-3002 .front-page-heading {
.ns-3002 .front-page-heading {
    background:#43353A;
background:#43353A;
    border:5px solid #59474E;
border:5px solid #59474E;
}
}


.ns-3002 .front-page-heading__text {
.ns-3002 .front-page-heading__text {
    color: #A28DA5;
color: #A28DA5;
}
}
/* [END] NS3002-3003: Yume 2kki */
/* [END] NS3002-3003: Yume 2kki */
Line 360: Line 376:
/* [START] NS3004-3005: .flow */
/* [START] NS3004-3005: .flow */
.ns-3004 .front-page-heading {
.ns-3004 .front-page-heading {
    background:#111111;
background:#111111;
    border:5px solid #bdbdbd;
border:5px solid #bdbdbd;
}
}


.ns-3004 .front-page-heading__text {
.ns-3004 .front-page-heading__text {
    color: #bdbdbd;
color: #bdbdbd;
}
}
/* [END] NS3004-3005: .flow */
/* [END] NS3004-3005: .flow */
Line 371: Line 387:
/* [START] NS3006-3007: Someday */
/* [START] NS3006-3007: Someday */
.ns-3006 .front-page-heading {
.ns-3006 .front-page-heading {
    background: #000000;
background: #000000;
    border: 5px solid #178152;
border: 5px solid #178152;
}
}


.ns-3006 .front-page-heading__text {
.ns-3006 .front-page-heading__text {
    color: #b1e4bf;
color: #b1e4bf;
}
}
/* [END] NS3006-3007: Someday */
/* [END] NS3006-3007: Someday */
Line 382: Line 398:
/* [START] NS3008-3009: Deep Dreams */
/* [START] NS3008-3009: Deep Dreams */
.ns-3008 .front-page-heading {
.ns-3008 .front-page-heading {
    background: #423341;
background: #423341;
    border: 5px solid #939393;
border: 5px solid #939393;
}
}


.ns-3008 .front-page-heading__text {
.ns-3008 .front-page-heading__text {
    color: #a793a5;
color: #a793a5;
}
}
/* [END] NS3008-3009: Deep Dreams */
/* [END] NS3008-3009: Deep Dreams */
Line 397: Line 413:
/* [START] NS3012-3013: Amillusion */
/* [START] NS3012-3013: Amillusion */
.ns-3012 .front-page-heading {
.ns-3012 .front-page-heading {
    background: #5c462a;
background: #5c462a;
    border: 5px solid #c2ba4c;
border: 5px solid #c2ba4c;
}
}


.ns-3012 .front-page-heading__text {
.ns-3012 .front-page-heading__text {
    color: #c2ba4c;
color: #c2ba4c;
}
}
/* [END] NS3012-3013: Amillusion */
/* [END] NS3012-3013: Amillusion */
Line 409: Line 425:
/* Front page customizations */
/* Front page customizations */
.ns-3014 .front-page-heading {
.ns-3014 .front-page-heading {
    background:#6f027c;
background:#6f027c;
    border:5px solid #49007c;
border:5px solid #49007c;
}
}


.ns-3014 .front-page-heading__text {
.ns-3014 .front-page-heading__text {
    color: #ffffff;
color: #ffffff;
}
}
/* [END] NS3014-3015: Uneven Dream */
/* [END] NS3014-3015: Uneven Dream */
Line 420: Line 436:
/* [START] NS3016-3017: Braingirl */
/* [START] NS3016-3017: Braingirl */
.ns-3016 .front-page-heading {
.ns-3016 .front-page-heading {
    background:#180C29;
background:#180C29;
    border:5px solid #E8D4B1;
border:5px solid #E8D4B1;
}
}


.ns-3016 .front-page-heading__text {
.ns-3016 .front-page-heading__text {
    color: #E8D4B1;
color: #E8D4B1;
}
}
/* [END] NS3016-3017: Braingirl */
/* [END] NS3016-3017: Braingirl */
Line 431: Line 447:
/* [START] NS3018-3019: Collective Unconscious */
/* [START] NS3018-3019: Collective Unconscious */
.ns-3018 .front-page-heading {
.ns-3018 .front-page-heading {
    background: #161124;
background: #161124;
    border: 5px solid #69a6ca;
border: 5px solid #69a6ca;
}
}


.ns-3018 .front-page-heading__text {
.ns-3018 .front-page-heading__text {
    color: #ffffff;
color: #ffffff;
}
}
/* [END] NS3018-3019: Collective Unconscious */
/* [END] NS3018-3019: Collective Unconscious */


/* [START] NS3020-3021: Cerasus Wiki */
/* [START] NS3020-3021: Cerasus Wiki */
/* customizes header fonts (THIS DOESNT WORK IF YOU USE WIKI SYNTAX LIKE "  ' ' ' EXAMPLE ' ' '  ", USE HEADER TAGS <H1>-<H6>) */
/* customizes header fonts */
.ns-3020 .mw-headline, .ns-3021 .mw-headline {
.ns-3020 .mw-headline, .ns-3021 .mw-headline {
font-family: 'Gentium Plus', serif;
font-family: 'Gentium Plus', serif;
}
}
 
.ns-3020 h1, .ns-3021 h1, .ns-3020 h2, .ns-3021 h2, .ns-3020 h3, .ns-3021 h3, .ns-3020 h4, .ns-3021 h4, .ns3020 h5, .ns-3021 h5, .ns3020 h6, .ns3021 h6  {
font-family: 'Gentium Plus', serif;
}
 
/*Divider Styling */
.ns-3020 .CDivider, .ns3021 .CDivider {
background: #ac2847;
border:2px solid #fa6e79 !important;
border-radius: 5px;
padding-top: 1px;
width: 98%;
color: #ffd1d5;
font-weight: bold;
}
 
/* styling for menu buttons, also renders them differently so they don't look blurry during animations */
.CNavBut{
height: auto;
overflow: hidden;
display: inline-block;
image-rendering: crisp-edges;
}
 
/* adds background color to table */
.ns-3020 table, .ns-3021 table {
background-color: #00000005;
}
 
/* adds background color and changes margin of table headers */
.ns-3020 th, .ns-3021 th {
background-color: #00000005;
margin: 0;
}
 
/* adds lower border to table rows */
.ns-3020 tr, .ns-3021 tr {
border-bottom: solid 1px #000080;
}
 
/* animations */


.ns-3020 h1, .ns-3021 h1, .ns-3020 h2, .ns-3021 h2, .ns-3020 h3, .ns-3021 h3, .ns-3020 h4, .ns-3021 h4, .ns3020 h5, .ns-3021 h5, .ns3020 h6, .ns3021 h6  {
/*button animation */
font-family: 'Gentium Plus', serif;
@keyframes CButtons {
}
0% {
transform: scale(1);
/*Divider Styling */
}
/*IF YOU USE H2'S WITH THIS: add in inline style "style="border-bottom: none; border bottom: #fa6e79;" " in the article's source to get rid of the gray lower border */
50%{
.ns-3020 .CDivider, .ns3021 .CDivider {
transform: scale(.95);
background: #ac2847;
}
border:2px solid #fa6e79;
100% {
border-radius: 5px;
transform: scale(1);
padding-top: 1px;
}
width: 98%;
}
color: #ffd1d5;
font-weight: bold;
}


/* styling for menu buttons, also renders them differently so they don't look blurry during animations */
/* main page flashing spoiler warning animation*/
.CNavBut{
@keyframes warnflash {
    height: auto;
0% {
    overflow: hidden;
color: red;
    display: inline-block;
text-shadow: 0 0 3px red;
    image-rendering: crisp-edges;
}
}


/* adds background color to table */
50% {
.ns-3020 table, .ns-3021 table {
color: #850900;
background-color: #00000005;
text-shadow: 0 0 3px #000000;
}
}


/* adds background color and changes margin of table headers */
100% {
.ns-3020 th, .ns-3021 th {
color: red;
background-color: #00000005;
text-shadow: 0 0 3px red;
margin: 0;
}
}
}


/* adds lower border to table rows */
@keyframes warnflashtrang {
.ns-3020 tr, .ns-3021 tr {
0% {
border-bottom: solid 1px #000080;
text-shadow: 0 0 3px orange;
}
}


/* animations */
50% {
/*button animation */
text-shadow: 0 0 3px #000000;
@keyframes CButtons {
}
0% {
transform: scale(1);
}
50%{
transform: scale(.95);
}
100% {
transform: scale(1);
}
}


/* main page flashing spoiler warning animation*/
100% {
@keyframes warnflash {
text-shadow: 0 0 3px orange;
0% {
}
color: red;
}
text-shadow: 0 0 3px red;
}
50% {
color: #850900;
text-shadow: 0 0 3px #000000;
}
100% {
color: red;
text-shadow: 0 0 3px red;
}  
}


@keyframes warnflashtrang {
/* sets animation for main page nav buttons */
0% {
.CNavBut:hover {
text-shadow: 0 0 3px orange;
animation: CButtons 1.5s infinite;
}
}
50% {
text-shadow: 0 0 3px #000000;
}
100% {
text-shadow: 0 0 3px orange;
}
}


/* sets animation for main page nav buttons */
/* sets animations for spoiler line*/
.CNavBut:hover {
#warn {
animation: CButtons 1.5s infinite;
animation: warnflash 1s infinite;
}
}


/* sets animations for spoiler line*/
#warntrang {
#warn {
animation: warnflashtrang 1s infinite;
animation: warnflash 1s infinite;
}
}
 
/*Cherry's Custom Text (cherry blossom scented) */
#warntrang {
.CAdmin {
animation: warnflashtrang 1s infinite;
color: #fa6e79;
}
text-shadow: 0 0 3px #fa6e79;
font-family: 'Courier New', monospace;
animation: cherry 5s infinite;
}


/*Cherry's Custom Text (cherry blossom scented) */
@keyframes cherry {
.CAdmin {
0% {
color: #fa6e79;
text-shadow: 0 0 5px #fa6e79;
text-shadow: 0 0 3px #fa6e79;
}
font-family: 'Courier New', monospace;
50% {
animation: cherry 5s infinite;
text-shadow: 0 0 3px #000000;
}
}
100% {
@keyframes cherry {
text-shadow: 0 0 5px #fa6e79;
0% {
}
text-shadow: 0 0 5px #fa6e79;
}
}  
50% {
text-shadow: 0 0 3px #000000;
}  
100% {
text-shadow: 0 0 5px #fa6e79;
}  
}
/* [END] NS3020-3021: Cerasus Wiki */
/* [END] NS3020-3021: Cerasus Wiki */


/* [START] NS3022-3023: Muma|Rope Wiki */
/* [START] NS3022-3023: Muma|Rope Wiki */
.ns-3022 .front-page-heading {
.ns-3022 .front-page-heading {
    background:#000000;
background:#000000;
    border:5px solid #ff14c0;
border:5px solid #ff14c0;
}
}


.ns-3022 .front-page-heading__text {
.ns-3022 .front-page-heading__text {
    color: #ff14c0;
color: #ff14c0;
}
}
/* [END] NS3022-3023: Muma|Rope Wiki */
/* [END] NS3022-3023: Muma|Rope Wiki */
Line 584: Line 596:
/* [START] NS3024-3025: YNOproject Wiki */
/* [START] NS3024-3025: YNOproject Wiki */
.ns-3024 .front-page-heading {
.ns-3024 .front-page-heading {
    background:#ffffff;
background:#ffffff;
    border:5px solid #eeeeee;
border:5px solid #eeeeee;
}
}


.ns-3024 .front-page-heading__text {
.ns-3024 .front-page-heading__text {
    color: #000000;
color: #000000;
}
}
/* [END] NS3024-3025: YNOproject Wiki */
/* [END] NS3024-3025: YNOproject Wiki */
Line 595: Line 607:
/* [START] NS3026-3027: Dream Genie Wiki */
/* [START] NS3026-3027: Dream Genie Wiki */
.ns-3026 .front-page-heading {
.ns-3026 .front-page-heading {
    background: #000000;
background: #000000;
    border: 5px solid #f7e7ad;
border: 5px solid #f7e7ad;
}
}


.ns-3026 .front-page-heading__text {
.ns-3026 .front-page-heading__text {
    color: #d6b6b5;
color: #d6b6b5;
}
}
/* [END] NS3026-3027: Dream Genie Wiki */
/* [END] NS3026-3027: Dream Genie Wiki */
Line 606: Line 618:
/* [START] NS3028-3029: Mikan Muzou Wiki */
/* [START] NS3028-3029: Mikan Muzou Wiki */
.ns-3028 .front-page-heading {
.ns-3028 .front-page-heading {
    background:#2e3131;
background:#2e3131;
    border:5px solid #7c878a;
border:5px solid #7c878a;
}
}


.ns-3028 .front-page-heading__text {
.ns-3028 .front-page-heading__text {
    color: #7c878a;
color: #7c878a;
}
}
/* [END] NS3028-3029: Mikan Muzou Wiki */
/* [END] NS3028-3029: Mikan Muzou Wiki */
Line 617: Line 629:
/* [START] NS3030-3031: Ultra Violet Wiki */
/* [START] NS3030-3031: Ultra Violet Wiki */
.ns-3030 .front-page-heading {
.ns-3030 .front-page-heading {
    background: #291f37;
background: #291f37;
    border: 5px solid #5334ba;
border: 5px solid #5334ba;
}
}


.ns-3030 .front-page-heading__text {
.ns-3030 .front-page-heading__text {
    color: #866ed6;
color: #866ed6;
}
}
/* [END] NS3030-3031: Ultra Violet Wiki */
/* [END] NS3030-3031: Ultra Violet Wiki */
Line 628: Line 640:
/* [START] NS3032-3033: She Awaits Wiki */
/* [START] NS3032-3033: She Awaits Wiki */
.ns-3032 .front-page-heading {
.ns-3032 .front-page-heading {
    background: #797cd9;
background: #797cd9;
    border: 5px solid #ffffff;
border: 5px solid #ffffff;
}
}


.ns-3032 .front-page-heading__text {
.ns-3032 .front-page-heading__text {
    color: #ffffff;
color: #ffffff;
}
}
/* [END] NS3032-3033: She Awaits Wiki */
/* [END] NS3032-3033: She Awaits Wiki */
Line 639: Line 651:
/* [START] NS3034-3035: Oversomnia Wiki */
/* [START] NS3034-3035: Oversomnia Wiki */
.ns-3034 .front-page-heading {
.ns-3034 .front-page-heading {
    background: #210f1a;
background: #210f1a;
    border: 5px solid #ad8b72;
border: 5px solid #ad8b72;
}
}


.ns-3034 .front-page-heading__text {
.ns-3034 .front-page-heading__text {
    color: #ffe7ad;
color: #ffe7ad;
}
}
/* [END] NS3034-3035: Oversomnia Wiki */
/* [END] NS3034-3035: Oversomnia Wiki */
Line 650: Line 662:
/* [START] NS3036-3037: Yume Tagai Wiki */
/* [START] NS3036-3037: Yume Tagai Wiki */
.ns-3036 .front-page-heading {
.ns-3036 .front-page-heading {
    background: #1e000a;
background: #1e000a;
    border: 5px solid #ff3e56;
border: 5px solid #ff3e56;
}
}


.ns-3036 .front-page-heading__text {
.ns-3036 .front-page-heading__text {
    color: #ffffff;
color: #ffffff;
}
}
/* [END] NS3036-3037: Yume Tagai Wiki */
/* [END] NS3036-3037: Yume Tagai Wiki */
Line 661: Line 673:
/* [START] NS3038-3039: Yume Tsushin Wiki */
/* [START] NS3038-3039: Yume Tsushin Wiki */
.ns-3038 .front-page-heading {
.ns-3038 .front-page-heading {
    background: #1f303d;
background: #1f303d;
    border: 5px solid #7e7d78;
border: 5px solid #7e7d78;
}
}


.ns-3038 .front-page-heading__text {
.ns-3038 .front-page-heading__text {
    color: #33ff00;
color: #33ff00;
}
}
/* [START] NS3038-3039: Yume Tsushin Wiki */
/* [END] NS3038-3039: Yume Tsushin Wiki */


/* [START] NS3040-3041: nostAlgic Wiki */
/* [START] NS3040-3041: nostAlgic Wiki */
.ns-3040 .front-page-heading {
.ns-3040 .front-page-heading {
    background: #a5a9fc;
background: #a5a9fc;
    border: 5px solid #8080ff;
border: 5px solid #8080ff;
}
}


.ns-3040 .front-page-heading__text {
.ns-3040 .front-page-heading__text {
    color: #ebebeb;
color: #ebebeb;
}
/* [END] NS3040-3041: nostAlgic Wiki */
 
/* [START] NS3042-3043: If Wiki */
.ns-3042 .front-page-heading {
background: #000000;
border: 5px solid #ffffff;
}
 
.ns-3042 .front-page-heading__text {
color: #ff82ff;
}
}
/* [START] NS3040-3041: nostAlgic Wiki */
/* [END] NS3042-3043: If Wiki */

Latest revision as of 16:55, 17 November 2024

/**
	*  CSS placed here will be applied to all skins, note that the
	*  setup has been organized for different custom namespaces.
**/

/* [START] Global styling */
@import url('https://fonts.googleapis.com/css?family=Rubik:400,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gentium+Plus&display=swap');

body * {
	font-family: 'Rubik';
}

body pre {
	overflow: hidden;
	padding-bottom: 5px;
	line-height: 14px;
	word-break: break-word;
}

/*Main page styles*/
@media screen and (min-width: 1024px) and (max-width: 1279px) {
	.main-page__left-column .menu-icon-container {
		margin: 0 50px;
	}
}

@media screen and (min-width: 1024px) {
	.menu-icon-container--single-column {
		margin: 0 50px;
	}
}

@media screen and (min-width: 1600px) {
	.menu-icon-container--single-column {
		margin: 0 100px;
	}
}

@media screen and (min-width: 1280px) {
	.main-page__column {
		display: inline-block;
	}

	.main-page__left-column {
		width: calc(100% - 310px - 2em);
	}

	.main-page__right-column {
		float: right;
		width: 310px;
	}
}

/*Main page banner icons*/
.MenuIcon {
	height: auto;
	overflow: hidden;
	display: inline-block;
}

.MenuIcon img {
	transition: transform .5s ease;
}

.MenuIcon:hover img {
	transform: scale(0.95);
}


/*Main page small icons*/
#icon-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.icon-container__item {
    min-width: 120px;
    max-width: 128px;
    margin-right: 5px;
}

.icon-container__item-link {
    text-align: center;
}

/*Main page headers*/
.front-page-heading {
	text-align:center;
	font-weight:bold;
	padding:1px;
}

/*Search*/
#p-search .wvui-typeahead-search__suggestions {
	top: auto;
	z-index: 999;
}

/*Unknown what this does*/
.author-jp-name {
	display:none;
}

/*Spoiler text*/
.spoiler, .spoiler a {
	color: #000000!important;
	background-color: #000000!important;
}

.spoiler:hover, .spoiler:hover a {
	background-color:transparent
}

/*Center text convenience class*/
.center-text {
	text-align: center;
}

/*Infobox styling*/
.infobox {
	display: table;
	background-color: #f4f4f4; /** temp */
	border: 1px solid #888888; /** temp */
	-moz-border-radius: 6px;
	border-radius: 6px;
	font-size: 69%;
	position: relative;
	float: right;
	clear: right;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: 0.2em;
	width: 100%;
}

@media only screen and (min-width: 768px) {
	.infobox {
		width: 275px;
	}
}

.infobox p {
	margin: 0;
}

.infobox a {
	word-break: break-word;
}

.infobox td:first-child {
	vertical-align: top;
}

/*Listbox styling*/
.listloc {
	border: 1px solid #303030;
	margin: 0 0 5px 5px;
	font-size: 80%;
	background-color: #bdbdbd;
	min-height: 225px;
	padding: 0;
	text-align: center;
	display: inline-table;
}

.listchar {
	display: inline-table;
}

@media only screen and (min-width: 768px) {
	.listchar, .listloc {
		width: 225px;
		height: 275px;
	}
}

.listloc h3 {
	margin:1px;
	font-size:150%;
}

/** Portable infobox styling */
@media only screen and (min-width: 768px) {
	.portable-infobox {
		width: 275px;
	}
}

.pi-title {
	padding-bottom: 15px !important; /** TODO: Improve this so that !important won't be used */
	padding-top: 15px;
	border-radius: 6px 6px 0 0;
	font-size: 200%;
	font-weight: bold;
}

.portable-infobox {
	border-radius: 6px 6px 6px 6px;
	font-size: 11px;
}

.portable-infobox .pi-header, .portable-infobox .pi-title {
	font-weight: bold !important; /** TODO: Improve this so that !important won't be used */
	border-bottom: none;
}

.pi-data-label {
	vertical-align: top;
	min-width: 30%;
}

.pi-data-value {
	min-width: 70%;
}

.portable-infobox .pi-image-thumbnail {
	max-width: -webkit-fill-available;
}

.portable-infobox .pi-header {
	font-style: italic;
	font-size: 115%;
}

.pi-group[data-item-name="hidden-metadata"] {
	display: none;
}

/*Gallery*/
li.gallerybox {
	vertical-align: top;
	display: inline-block;
}

li.gallerybox div.thumb {
	background: none;
	border: 0;
}

li.gallerybox div.thumb img {
	display: block;
}

div.gallerytext {
	overflow: hidden;
	font-size: 9pt;
	word-wrap: break-word;
	margin-top: -15px;
}

/*gallery or image class for sprites*/
.pixel-perfect {
	image-rendering: pixelated;
}

/*Source edit menu*/
.CodeMirror-sizer {
	font-size: 15px;
}

/*article-table*/
.article-table tr:nth-child(even) {background: #E4E4E4}
.article-table tr:nth-child(odd) {background: #F3F3F3}
.article-table {
	border: 1px solid #000000;
	border-collapse:collapse;
}

/*Table captions*/
.wikitable > caption,
.article-table > caption {
	margin: auto;
	width: fit-content;
}

/*Keep collapsible table captions left*/
.wikitable.mw-collapsible > caption,
.article-table.mw-collapsible > caption {
	margin: 0;
}

/*Empty table cells*/
.empty {
	background-color: #CCCCCC !important;
}

/*Tooltip icons*/
.infoicon {
	font-size: 125%;
	line-height: 1em;
	cursor: help;
}

/*Tooltip text*/
.explain {
	cursor: help;
	text-decoration: underline;
	text-decoration-style: dotted;
}

/*Mobile tooltips support*/
@media (pointer: coarse), (hover: none) {
	span[title] {
		position: relative;
		display: inline-flex;
		justify-content: center;
	}
	span[title]:focus::after {
		content: attr(title);
		position: absolute;
		top: 90%;
		color: #000;
		background-color: #fff;
		border: 1px solid;
		width: fit-content;
		padding: 3px;
		z-index:999;
		font-size:9pt;
		min-width:105px;
		right:-7px;
	}
}
/* [END] Global styling */

/* Namespace specific styling */

/* [START] NS0-NS1: Meta namespace */
.ns-0 .front-page-heading {
	background: #510b17;
	border: 5px solid #8c516b;
}

.ns-0 .front-page-heading__text {
	color: #b582bd;
}

#welcome-banner {
	padding-bottom: 10px;
	margin-bottom: 5px;
	border: 1px solid #9b7d9f;
	background: #ead5ed;
}

#welcome-banner__welcome-text {
	border: none;
	margin: 0;
	text-align: center;
}

/* [END] NS0-NS1: Meta namespace */

/* [START] NS3000-3001: Yume Nikki */
.ns-3000 .front-page-heading {
	background:#320f13;
	border:5px solid #b393a3;
}

.ns-3000 .front-page-heading__text {
	color: #b393a3;
}
/* [END] NS3000-3001: Yume Nikki */

/* [START] NS3002-3003: Yume 2kki */
.ns-3002 .front-page-heading {
	background:#43353A;
	border:5px solid #59474E;
}

.ns-3002 .front-page-heading__text {
	color: #A28DA5;
}
/* [END] NS3002-3003: Yume 2kki */

/* [START] NS3004-3005: .flow */
.ns-3004 .front-page-heading {
	background:#111111;
	border:5px solid #bdbdbd;
}

.ns-3004 .front-page-heading__text {
	color: #bdbdbd;
}
/* [END] NS3004-3005: .flow */

/* [START] NS3006-3007: Someday */
.ns-3006 .front-page-heading {
	background: #000000;
	border: 5px solid #178152;
}

.ns-3006 .front-page-heading__text {
	color: #b1e4bf;
}
/* [END] NS3006-3007: Someday */

/* [START] NS3008-3009: Deep Dreams */
.ns-3008 .front-page-heading {
	background: #423341;
	border: 5px solid #939393;
}

.ns-3008 .front-page-heading__text {
	color: #a793a5;
}
/* [END] NS3008-3009: Deep Dreams */

/* [START] NS3010-3011: Answered Prayers */

/* [END] NS3010-3011: Answered Prayers */

/* [START] NS3012-3013: Amillusion */
.ns-3012 .front-page-heading {
	background: #5c462a;
	border: 5px solid #c2ba4c;
}

.ns-3012 .front-page-heading__text {
	color: #c2ba4c;
}
/* [END] NS3012-3013: Amillusion */

/* [START] NS3014-3015: Uneven Dream */
/* Front page customizations */
.ns-3014 .front-page-heading {
	background:#6f027c;
	border:5px solid #49007c;
}

.ns-3014 .front-page-heading__text {
	color: #ffffff;
}
/* [END] NS3014-3015: Uneven Dream */

/* [START] NS3016-3017: Braingirl */
.ns-3016 .front-page-heading {
	background:#180C29;
	border:5px solid #E8D4B1;
}

.ns-3016 .front-page-heading__text {
	color: #E8D4B1;
}
/* [END] NS3016-3017: Braingirl */

/* [START] NS3018-3019: Collective Unconscious */
.ns-3018 .front-page-heading {
	background: #161124;
	border: 5px solid #69a6ca;
}

.ns-3018 .front-page-heading__text {
	color: #ffffff;
}
/* [END] NS3018-3019: Collective Unconscious */

/* [START] NS3020-3021: Cerasus Wiki */
/* customizes header fonts */
.ns-3020 .mw-headline, .ns-3021 .mw-headline {
	font-family: 'Gentium Plus', serif;
}

.ns-3020 h1, .ns-3021 h1, .ns-3020 h2, .ns-3021 h2, .ns-3020 h3, .ns-3021 h3, .ns-3020 h4, .ns-3021 h4, .ns3020 h5, .ns-3021 h5, .ns3020 h6, .ns3021 h6  {
	font-family: 'Gentium Plus', serif;
}

/*Divider Styling */
.ns-3020 .CDivider, .ns3021 .CDivider {
	background: #ac2847;
	border:2px solid #fa6e79 !important;
	border-radius: 5px;
	padding-top: 1px;
	width: 98%;
	color: #ffd1d5;
	font-weight: bold;
}

/* styling for menu buttons, also renders them differently so they don't look blurry during animations */
.CNavBut{
	height: auto;
	overflow: hidden;
	display: inline-block;
	image-rendering: crisp-edges;
}

/* adds background color to table */
.ns-3020 table, .ns-3021 table {
	background-color: #00000005;
}

/* adds background color and changes margin of table headers */
.ns-3020 th, .ns-3021 th {
	background-color: #00000005;
	margin: 0;
}

/* adds lower border to table rows */
.ns-3020 tr, .ns-3021 tr {
	border-bottom: solid 1px #000080;
}

/* animations */

/*button animation */
@keyframes CButtons {
	0% {
		transform: scale(1);
	}
	50%{
		transform: scale(.95);
	}
	100% {
		transform: scale(1);
	}
}

/* main page flashing spoiler warning animation*/
@keyframes warnflash {
	0% {
		color: red;
		text-shadow: 0 0 3px red;
	}

	50% {
		color: #850900;
		text-shadow: 0 0 3px #000000;
	}

	100% {
		color: red;
		text-shadow: 0 0 3px red;
	}
}

@keyframes warnflashtrang {
	0% {
		text-shadow: 0 0 3px orange;
	}

	50% {
		text-shadow: 0 0 3px #000000;
	}

	100% {
		text-shadow: 0 0 3px orange;
	}
}

/* sets animation for main page nav buttons */
.CNavBut:hover {
	animation: CButtons 1.5s infinite;
}

/* sets animations for spoiler line*/
#warn {
	animation: warnflash 1s infinite;
}

#warntrang {
	animation: warnflashtrang 1s infinite;
}

/*Cherry's Custom Text (cherry blossom scented) */
.CAdmin {
	color: #fa6e79;
	text-shadow: 0 0 3px #fa6e79;
	font-family: 'Courier New', monospace;
	animation: cherry 5s infinite;
}

@keyframes cherry {
	0% {
		text-shadow: 0 0 5px #fa6e79;
	}
	50% {
		text-shadow: 0 0 3px #000000;
	}
	100% {
		text-shadow: 0 0 5px #fa6e79;
	}
}
/* [END] NS3020-3021: Cerasus Wiki */

/* [START] NS3022-3023: Muma|Rope Wiki */
.ns-3022 .front-page-heading {
	background:#000000;
	border:5px solid #ff14c0;
}

.ns-3022 .front-page-heading__text {
	color: #ff14c0;
}
/* [END] NS3022-3023: Muma|Rope Wiki */

/* [START] NS3024-3025: YNOproject Wiki */
.ns-3024 .front-page-heading {
	background:#ffffff;
	border:5px solid #eeeeee;
}

.ns-3024 .front-page-heading__text {
	color: #000000;
}
/* [END] NS3024-3025: YNOproject Wiki */

/* [START] NS3026-3027: Dream Genie Wiki */
.ns-3026 .front-page-heading {
	background: #000000;
	border: 5px solid #f7e7ad;
}

.ns-3026 .front-page-heading__text {
	color: #d6b6b5;
}
/* [END] NS3026-3027: Dream Genie Wiki */

/* [START] NS3028-3029: Mikan Muzou Wiki */
.ns-3028 .front-page-heading {
	background:#2e3131;
	border:5px solid #7c878a;
}

.ns-3028 .front-page-heading__text {
	color: #7c878a;
}
/* [END] NS3028-3029: Mikan Muzou Wiki */

/* [START] NS3030-3031: Ultra Violet Wiki */
.ns-3030 .front-page-heading {
	background: #291f37;
	border: 5px solid #5334ba;
}

.ns-3030 .front-page-heading__text {
	color: #866ed6;
}
/* [END] NS3030-3031: Ultra Violet Wiki */

/* [START] NS3032-3033: She Awaits Wiki */
.ns-3032 .front-page-heading {
	background: #797cd9;
	border: 5px solid #ffffff;
}

.ns-3032 .front-page-heading__text {
	color: #ffffff;
}
/* [END] NS3032-3033: She Awaits Wiki */

/* [START] NS3034-3035: Oversomnia Wiki */
.ns-3034 .front-page-heading {
	background: #210f1a;
	border: 5px solid #ad8b72;
}

.ns-3034 .front-page-heading__text {
	color: #ffe7ad;
}
/* [END] NS3034-3035: Oversomnia Wiki */

/* [START] NS3036-3037: Yume Tagai Wiki */
.ns-3036 .front-page-heading {
	background: #1e000a;
	border: 5px solid #ff3e56;
}

.ns-3036 .front-page-heading__text {
	color: #ffffff;
}
/* [END] NS3036-3037: Yume Tagai Wiki */

/* [START] NS3038-3039: Yume Tsushin Wiki */
.ns-3038 .front-page-heading {
	background: #1f303d;
	border: 5px solid #7e7d78;
}

.ns-3038 .front-page-heading__text {
	color: #33ff00;
}
/* [END] NS3038-3039: Yume Tsushin Wiki */

/* [START] NS3040-3041: nostAlgic Wiki */
.ns-3040 .front-page-heading {
	background: #a5a9fc;
	border: 5px solid #8080ff;
}

.ns-3040 .front-page-heading__text {
	color: #ebebeb;
}
/* [END] NS3040-3041: nostAlgic Wiki */

/* [START] NS3042-3043: If Wiki */
.ns-3042 .front-page-heading {
	background: #000000;
	border: 5px solid #ffffff;
}

.ns-3042 .front-page-heading__text {
	color: #ff82ff;
}
/* [END] NS3042-3043: If Wiki */