×
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

(adjusting divider style for cerasus wiki)
mNo edit summary
Line 454: Line 454:
}
}


/* changes the font to gentium on headings  
/* changes the font to gentium on headings */


/* .ns-3020 h1:before, .ns-3021 h1:before, .ns-3020 h2:before, .ns-3021 h2:before, .ns-3020 h3:before, .ns-3021 h3:before, .ns-3020 h4:before, .ns-3021 h4:before, .ns3020 h5:before, .ns-3021 h5:before, .ns3020 h6:before, .ns3021 h6:before  {
.ns-3020 h1:before, .ns-3021 h1:before, .ns-3020 h2:before, .ns-3021 h2:before, .ns-3020 h3:before, .ns-3021 h3:before, .ns-3020 h4:before, .ns-3021 h4:before, .ns3020 h5:before, .ns-3021 h5:before, .ns3020 h6:before, .ns3021 h6:before  {
font-family: none;
font-family: none;
}*/
}


.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  {
.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  {

Revision as of 19:57, 16 April 2023

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

@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: 65%;
    }

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

@media screen and (min-width: 1600px) {
    .main-page__left-column {
        width: 75%;
    }
}

p {
  margin: 8 0 8px 0;
}

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

.MenuIcon {
    height: auto; 
    overflow: hidden;
    display: inline-block;
}

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

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

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

.author-jp-name {
	display:none;
}

.spoiler {
    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;
}

.spoilerClicked {
    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;	
}

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

.legacy-infobox {
	-moz-border-radius: 6px;
	border-radius: 6px;
	font-size: 69%;
	width: 100%;
	margin-bottom: 0;
}

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

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

.ns-3002 .legacy-infobox {
    background-color: #d7d3bc;
    border-color: #b6b3a1;
}

.ns-3002 body .wikitable > * > tr > th, .ns-3002 .wikitable > * > tr > th {
	border: 1px solid #B6B3A1;
    background-color: #D4D0B9;
    color:#7F2D3D;
}

/*Version history patchnotes table*/
.ns-3002 .article-table td {
  border-bottom: 1px solid #B7B4A2;
  padding: 6px 10px;
}

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

.ns-3002 li.gallerybox div.thumb {
  background: none;
  border: 0px;
}

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

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

/*Section header*/
.ns-3002 #mw-content h2 {
  border-bottom: 1px solid #B7B4A2;
  font-size: 24px;
  font-weight: 500;
  overflow: hidden;
  padding: 3px 0;
}

/*Table of contents customization*/
.ns-3002 .toc {
  background-color: #d7d3bc;
  border: 1px solid #B7B4A2;
}

/*Category ribbon from bottom of page*/
.ns-3002 #catlinks {
  background-color: #d7d3bc;
  padding: 10px;
  padding-top: 1em;
  border: 1px solid #B7B4A2;
  margin-top: 2em;
  margin-bottom: 2em;
  clear: both;
  color: #000000;
  line-height: 1.8em;
}

/*RunningAuthorsList*/
.ns-3002 .runningAuthor {
   background-color: #d7d3bc;
   color: #3A3A3A;
}

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

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

.ns-3016 .legacy-infobox {
    background-color: #e4e5df;
    border-color: #c0c1bd;
}
/* [END] NS3016-3017: Braingirl */

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

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

/* [START] NS3020-3021: Cerasus Wiki */
	/* customizes header font
		.ns-3020 .mw-headline, .ns-3021 .mw-headline {
			font-family: 'Gentium Plus', serif;
		}*/
	
	/* H3 divider Styling */	
		 .ns-3020 .CDivider, .ns3021 .CDivider {
		background: #ac2847;
		border:2px solid #fa6e79; 
		border-radius: 5px;;
		width: 98%;
		color: #ffd1d5;
		font-weight: bold;
		 }

	/* changes the font to gentium on headings */

	.ns-3020 h1:before, .ns-3021 h1:before, .ns-3020 h2:before, .ns-3021 h2:before, .ns-3020 h3:before, .ns-3021 h3:before, .ns-3020 h4:before, .ns-3021 h4:before, .ns3020 h5:before, .ns-3021 h5:before, .ns3020 h6:before, .ns3021 h6:before  {
				font-family: none;
		}

		.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;
		}

	.CNavBut{
	    height: auto; 
	    overflow: hidden;
	    display: inline-block;
	    image-rendering: crisp-edges;
	}

	/* 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 #00000000;
				} 
	
				100% {
					color: red;
					text-shadow: 0 0 3px red;
				} 
			}

		@keyframes warnflashtrang { 
				0% {
					text-shadow: 0 0 3px orange;
				} 
	
				50% {
					text-shadow: 0 0 3px #00000000;
				} 
	
				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;
			}

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

.ns-3022 .infobox {
    background-color: #000000;
    border-color: #ffffff;
}

.ns-3022 .legacy-infobox {
    background-color: #000000;
    border-color: #ffffff;
}

.ns-3022 #catlinks {
    background-color: #000000;
    padding: 10px;
    padding-top: 1em;
    border: 1px solid #ffffff;
    margin-top: 2em;
    margin-bottom: 2em;
    clear: both;
    color: #ffffff;
    line-height: 1.8em;
}
/* [END] NS3022-3023: Muma|Rope Wiki */

/* [START] NS3024-3025: YNOproject Wiki */

/* [END] NS3024-3025: YNOproject Wiki */

/* [START] NS3026-3027: Dream Genie Wiki */

/* [END] NS3026-3027: Dream Genie Wiki */