User:Irukaza/common.css

H萌娘,万物皆可H的百科全书!
< User:Irukaza
imported>=海豚=2021年8月5日 (四) 10:17的版本
跳到导航 跳到搜索

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

  • 按住CTRL+SHIFT+DEL 或 ⌘-Shift-R来清除缓存!
  • 或尝试在地址栏的地址最后添加代码?_=1来访问最新页面。
    添加代码后的本页地址如下:-{R|https://hmoegirl.com/User:Irukaza/common.css?_=1}-
  • 你还可以在设置中勾选小工具在页面右上角添加清除缓存按钮!
/*边框*/
.infoBoxContent, .toc, pre, table {
	border: none !important;
}
/*圆角*/
.infoBox, .infoBoxContent, .toc, pre, .card, .radius {
	border-radius: 7px;
}
/*阴影*/
.AmeroBg, .infoBox, .toc, .wikitable, pre, .card, .shadow {
	box-shadow: 0 2px 5px #FFC0C0;
}
h2, h3, h4, h5 {
	text-shadow: -0.05em 0.05em 0.1em #FFC0C0;
}
/*背景色*/
.infoBoxContent, .toc, .wikitable, pre, .bgcolor {
	background-color: #FFF;
}
/*特殊*/
.stubborn>table {
	border-radius: 7px;
	background: #FFF !important; 
	box-shadow: 0 2px 5px #FFC0C0;
	overflow: hidden;
}
/*排版*/
.AmeroBg {
	color: #3d0041;
	padding: 2em 3em;
	background: #FFF;
	border-radius: 1em;
	margin: 1em auto;
	max-width: 1080px;
}
h2 {
	overflow: visible;
	font: 700 1.6em sans-serif;
	border-bottom: none;
}
h2 .mw-headline {
	display: inline-block;
}
h2 .mw-headline::after {
	content: '';
	display: block;
	background-color: #FFC0C0;
	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;
}
p {
	text-indent: 2em;
}
ul li {
	margin-left: 0.8em;
}
ol li {
	margin-left: 0.3em;
}
dd {
	margin-left: 2em;
}
code {
	background: #fff1f1;
	border-width: 0 0 2px;
	border-color: #ffc0c0;
	margin: 0 2px;
	color: inherit;
	border-radius: 3px;
	padding: 1px 3px 0;
}