MediaWiki:Common.css

Pokewiz讨论 | 贡献2022年3月10日 (四) 17:18的版本 (建立内容为“→‎这里放置的CSS将应用于所有皮肤:​ →‎031 Start of wiki specific CSS (general customization options):​ /* Hiding the main page's title (using an…”的新页面
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
/* 这里放置的CSS将应用于所有皮肤 */

/* 031 Start of wiki specific CSS (general customization options) */

/* Hiding the main page's title (using an image instead) */
body.page-Stellaris_Wiki h1.firstHeading { display:none; }

/* Infobox colors */
.eu4box {
	border: 2px solid #0e4339;
	background: #2e7b6d;
}
.eu4box .heading {
	background: #0e4339;
}

.eu4box-inline {
	border: 2px solid #77b6ab;
	background: #FDFDFD !important; /*remove later*/
}
.eu4box-inline .heading {
	background: #1D8673;
}

/* background images */
.gridBG {
	background: #2e7b6d url(/images/d/dc/MainBG.jpg) repeat left center;
}
.gridBG2 {
	background: #2e7b6d url(/images/0/07/MainBG2.png) repeat left center;
}

/* 032 End of wiki specific CSS (general customization options) */
/* 041 Start of wiki specific CSS (very specific) */

.stellaris-outliner-content {
	background-color: #111815;
	color: #1dc57c;
	background-image:linear-gradient(to top, #1c2923, #111815 33px);
	padding:0 8px 8px 8px;
}

.stellaris-outliner-content hr {
	height:2px;
	background-color: #325448;
}

.stellaris-outliner a { color: lightblue !important; }

.stellaris-outliner {
	margin: 0 0 3px 3px;
}

.stellaris-outliner-header {
	font-size: 15px;
	left: 8px;
	bottom: 2px;
	position: relative;
	color: #FFFFFF;
	font-weight: bold;
	text-transform: uppercase;
	height: 0;
	display:inline-block;
	float:left;
}

.stellaris-outliner-header h1,
.stellaris-outliner-header h2,
.stellaris-outliner-header h3,
.stellaris-outliner-header h4,
.stellaris-outliner-header h5,
.stellaris-outliner-header h6 {
	font-size: 15px;
	color: #FFFFFF;
	padding:0;
	margin:0;
}

.infobox-row-heading:first-of-type { border: none !important; }

.effect-yellow { color: #FFA500; }
.effect-background-yellow { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; }
.effect-blue { color: blue; }
.effect-background-blue { background: #E9E9E9; padding: 0px 2px; border-radius: 2px; }

/* Top-icon */
div.topicon {
	position: absolute;
	top: -2em;
	margin-right: -10px;
	display: block !important;
	z-index: 999;
}

/* 042 End of wiki specific CSS (very specific) */