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

User:Gehaltlos/Sandbox/style 0.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:Gehaltlos/Sandbox/style_0.css?_=1}-
/*感谢あめろ大佬*/
/*布局*/
.flex-r {
	display: flex;
	flex-flow: row wrap;
	column-gap: 2em;
}
.flex-r>div {
	flex: 1 0 20em;
}
/*边框*/
.infoBoxContent, .toc, pre, table {
	border: none !important;
}
/*圆角*/
.infoBox, .toc, pre, .card, .radius {
	border-radius: 6px;
}
/*阴影*/
.AmeroBg, .AmeroTalk, .infoBox, .toc, .wikitable, pre, .card, .shadow {
	box-shadow: 0 1px 1px rgba(0,0,0,0.07), 0 1px 3px 1px rgba(61,0,99,0.14)
}
h2 {
	text-shadow: -0.05em 0.05em 0.1em #FFF;
}
/*背景色*/
.infoBoxContent, .toc, .wikitable, pre, .bgcolor {
	background-color: #FFE4E1;
}
/*特殊*/
.stubborn>table {
	border-radius: 6px;
	background: #FFE4E1 !important; 
	box-shadow: 0 1px 1px rgba(0,0,0,0.07), 0 1px 3px 1px rgba(61,0,99,0.14);
	overflow: hidden;
}
.infoBox {
	overflow: hidden;
}
.link-box {
	box-shadow: 0 1px 1px rgba(0,0,0,0.07), 0 1px 3px 1px rgba(61,0,99,0.14) !important;
}
.link-box:hover {
	box-shadow: 0 10px 9px rgba(0,0,0,0.07), 0 1px 6px 1px rgba(61,0,99,0.14) !important;
}
.link-box:active {
	box-shadow: 0 1px 1px rgba(0,0,0,0.14), 0 0 2px 0 rgba(61,0,99,0.28) !important;
}
.link-box>.sign:hover {
	height: 80vh !important;
}
/*排版*/
.AmeroBg, .AmeroTalk {
	color: #1e0036;
	padding: 1px 3em 2em;
	background: #FFE4E1;
	border-radius: 1em;
	margin: 1em auto;
	max-width: 1080px;
}
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, #D2D7F2, #F5DCEB);
	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: #284150;
}
.AmeroBg p {
	text-indent: 2em;
}
ul, ol, dl, dt {
	margin-left: 0 !important;
	padding-left: 0 !important;
}
li, dd {
	margin-left: 2em;
}
.toc {
	padding: .5em 1em;
}
li.toclevel-1 {
	margin-left: 0;
}
a:link, a:visited {
	color: #8e3a99;
}
a:hover {
	text-decoration: underline wavy;
}
a.new {
	color: #BA0000;
}
code {
	background: #E6E6FA;
	border-width: 0 0 2px;
	border-color: #FFD0E0;
	margin: 0 2px;
	color: inherit;
	border-radius: 3px;
	padding: 1px 3px 0;
}
.sign dl {
	position: relative;
}
.sign dl::before {
	content: ' ◤';
	position: absolute;
	color:#eed6f0;
}
.sign>p {
	margin: 1.6em 0 0.5em;
	counter-increment: signatures;
}
.sign>p::before {
	content: counter(signatures);
	background: linear-gradient(90deg,#eed6f0,transparent);
	border-radius: 0.4em 0 0 0.4em;
	padding: 0 0.7em 0 0.3em;
}

/*窄页面样式*/
@media screen and (max-width: 520px) {
	.AmeroBg, .AmeroTalk {
		padding: 1em;
		box-shadow: none;
	}
}