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



YumeWiki
3,036Articles

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Line 81: Line 81:
     padding: 0;
     padding: 0;
     text-align: center;
     text-align: center;
     display: inline-block;
     display: inline-table;
}
}



Revision as of 04:35, 5 December 2022

/** 
 *  CSS placed here will be applied to all skins, note that the
 *  setup has been organized for different custom namespaces.
 **/
 
/* [START] Global styling */
.MenuIcon {
    height: auto; 
    overflow: hidden; 
}

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

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

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

.spoiler {
    color: #000;
    background-color: #83648c;
    -webkit-transition: background-color 400ms linear;
	-ms-transition: background-color 400ms linear;
	transition: background-color 400ms linear;
	-webkit-transition: color 400ms linear;
	-ms-transition: color 400ms linear;
	transition: color 400ms linear;
}

.spoilerClicked {
    color: #000;
    background-color: #000;
	-webkit-transition: background-color 400ms linear;
	-ms-transition: background-color 400ms linear;
	transition: background-color 400ms linear;
	-webkit-transition: color 400ms linear;
	-ms-transition: color 400ms linear;
	transition: color 400ms linear;	
}

.center-text {
	text-align: center;
}

/** Ported from the FANDOM wikis */
.infobox {
	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 {
	margin: 0;
}

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

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

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


.listloc__header {
	margin:1px;
	background-color:#404040;
	color:#CCCCCC;
	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;
}

/* [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 */

/* [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;
}

.ns-3002 .effect-npc-header-link a {
    color: inherit;
}
/* [END] NS3002-3003: Yume 2kki */

/* [START] NS3004-3005: .flow */

/* [END] NS3004-3005: .flow */

/* [START] NS3006-3007: Someday */

/* [END] NS3006-3007: Someday */

/* [START] NS3008-3009: Deep Dreams */

/* [END] NS3008-3009: Deep Dreams */

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

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

/* [START] NS3012-3013: Amillusion */

/* [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 */
/* Link color */
.ns-3016 a,
.ns-3016 #mw-panel a,
.ns-3017 a,
.ns-3017 #mw-panel a {
    color: #068959;
}

.ns-3016 a:hover,
.ns-3016 #mw-panel a:hover,
.ns-3017 a:hover,
.ns-3017 #mw-panel a:hover {
    color: #007652;
}

.ns-3016 a.new,
.ns-3016 #mw-head a.new,
.ns-3017 a.new,
.ns-3017 #mw-head a.new {
    color: #bf0017;
}

.ns-3016 a.new:hover,
.ns-3016 #mw-head a.new:hover,
.ns-3017 a.new:hover,
.ns-3017 #mw-head a.new:hover {
    color: #59000a;
}

/* Front page customizations */
.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 */

/* [END] NS3018-3019: Collective Unconscious */

/* [START] NS3020-3021: YNFG Wiki */

/* [END] NS3020-3021: YNFG Wiki */