2023年政策修订增补工作正在进行中,欢迎参与!
  • Moegirl.ICU:萌娘百科流亡社群 581077156(QQ),欢迎对萌娘百科运营感到失望的编辑者加入
  • Moegirl.ICU:账号认领正在试运行,有意者请参照账号认领流程

User:Camille1111/style.css

萌娘百科,万物皆可萌的百科全书!转载请标注来源页面的网页链接,并声明引自萌娘百科。内容不可商用。
跳转到导航 跳转到搜索

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

  • Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
  • Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
  • Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
  • Opera:在“工具→首选项”中清除缓存
如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码?_=1来访问最新页面。
添加代码后的本页地址如下:-{R|https://moegirl.icu/User:Camille1111/style.css?_=1}-
/* 标题优化 */

/*边框*/
.infoBoxContent, .toc, pre, table {
	border: none !important;
}

/*圆角*/
.infoBox, .toc, pre, .card, .radius {
	border-radius: 6px;
}

/* 标题优化 */
h2 {
	overflow: visible;
	font: 700 1.6em sans-serif;
	border-bottom: none;
	margin-top: 1.6em;
}
h2 .mw-headline {
	display: inline-block;
}
h2 .mw-headline::after {
	content: '';
	display: block;
	background: linear-gradient(66deg, #e4d6ff, #ffd6ed);
	height: 0.7em;
	margin: -0.5em 0 0 -0.5em;
	width: 100%;
	border-radius: 0.35em;
}
h3 {
	font: 700 1.4em serif;
}
h4 {
	font: 400 1.2em sans-serif;
}
h5 {
	font: 400 1.1em serif;
}
h2, h3, h4, h5, h6 {
	color: #e93a74;
}

/* 链接样式 */
a:link, a:visited {
	color: #F06292;
}
a:hover {
	text-decoration: underline wavy;
}
a.new {
	color: #BA0000;
}

/* 分割线 */
hr {
	margin: 1em 10% 0.5em;
	width: 80%;
	border-bottom: 2px dashed #FCE4EC;
	background: none;
}
 
/* 折叠窗优化 */
table.wikitable {
	margin: 0.5em 10%;
	width: 80%!important;
	text-align: center;
}
 
table.wikitable img {
	height: auto;
	max-width: 80%;
}
 
table.wikitable > tr > th, table.wikitable > * > tr > th {
	background-color: #FCE4EC;
}
 
.mw-collapsible-text {
	color: #30D5C8;
}
 
table.wikitable tbody{
	display: contents;
}
 
/* 画廊优化 */
 
.mw-parser-output .gallery-mod-text .caption {
	text-align: center;
}
 
/* 引用框 */

blockquote.toccolours{
	min-width: 75%;
	text-align: left;
}
 
.sidebar-character{
	opacity:1!important;
}

.navbox a,.navbox a:hover,.navbox a:focus{
	color: #0645ad!important;
}/* 保护原样式 */
 
.navbox a.new,.navbox a.new:hover,.navbox a.new:focus{
	color: #FCE4EC!important;
}/* 保护原样式 */
 
/* 媒体适配 */
 
@media screen and (max-width: 960px) {
	table.wikitable {
		margin: 0.5em 0;
		width: 100%!important;
	}/* 伸缩到全屏 */
	
	.infobox2{
		max-width:100%!important;
	}/* 伸缩到全屏 */
	
	.bubulogo{
		margin:0.2em 15%;
		height:auto;
		max-width:70%;
	}/* 伸缩到更大 */
	
	table.wikitable tbody{
		display: inline-block;
	}
	
}

/* tab模板相关样式调整 - copy自星海前辈 */
.userpage-title {
  text-align:center;
}
.userpage-tab {
  margin:0;
  border-style:solid;
  border-width: 2px;
  border-color: #ffffff;
  width:100%;
  border-radius:10px 10px 10px 10px ;
}
.userpage-group {
  margin: 0;
  border-style:solid;
  border-width: 2px 1px 1px 2px;
  text-align: center;
  border-color: #ffffff;
  color:#FFFFFF;
  width:90px;
  border-radius:6px 6px 6px 6px ;
}
.group1 {
  background-color:#ff6699;
}
.group2 {
  background-color:#ff9933;
}
.userpage-list {
  margin: 0;
  border-style:solid;
  border-width: 2px 2px 1px 1px;
  border-color: #ffffff;
  color:#000000;
  background-color:#ffffff;
  border-radius:0px 3px 3px 0px ;
}
.TabLabelText.selected {
  border-radius:12px 2px 12px 2px ;
}
.TabContent {
  border-radius:0px 0px 10px 10px ;
}
.comment-warning-hoshimi {
  margin: 2em 0 .5em;
  padding: 1em;
  border-radius: 5px; 
}
.other-accounts {
  display:none
}