传奇殿堂/styles.css:修订间差异

来自SS唯基
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第1行: 第1行:
/*
/* 搬运于萌娘百科的页面Slow Loop专用样式表 */
搬运于萌百作者あめろ
/*MinervaNeue皮肤下图片缩放*/
*/
.infobox2 img {
width:100%; max-width:312px !important; height:auto;
}
/*移除信息栏中tab的边框*/
/*移除信息栏中tab的边框*/
.infobox2 .TabContent{
.infobox2 .TabContent{
border:0;
border:0;
}
}
/*标题风格化*/


/*布局*/
.flex-r {
display: flex;
flex-flow: row wrap;
column-gap: 2em;
}
.flex-r>div {
flex: 1 0 20em;
}
/*边框*/
.infoBoxContent {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
/*圆角*/
.infoBox, .toc, pre, .card, .radius {
border-radius: 6px;
}
/*阴影*/
.infoBox, .toc, .wikitable, pre, .card, .shadow {
box-shadow: 0 2px 4px rgba(0,0,0,0.08),0 0 3px rgba(0,0,0,0.1)
}
h2 {
h2 {
text-shadow: -0.05em 0.05em 0.1em #FFF;
text-shadow: -0.05em 0.05em 0.1em #FFF;
}
}
   
   
/*特殊*/
h3 .mw-headline {
.infoBoxContent {
color: #1568A2;
background: none !important;
font-size: 120%;
padding: 0 10px;
border-bottom: solid 2px #0B7698;
}
}
.stubborn>table {
border-radius: 6px;
h4 .mw-headline {
box-shadow: 0 1px 1px rgba(0,0,0,0.08), 0 1px 3px 1px rgba(0,0,0,0.1);
border-left: solid 10px #0C7698;
overflow: hidden;
color: rgba(4,87,146,1.00);
padding-left: 7px;
position: relative;
font-size: 118%;
padding-bottom: 5px;
}
}
.infoBox {
overflow: hidden;
h5 .mw-headline {
}
padding-left: 10px;
.link-box>.sign:hover {
font-size: 108%;
height: 80vh !important;
position: relative;
font-weight: 900;
}
}
   
   
.AmeroBg, .AmeroTalk {
/*圆角化*/
color: #1f0037;
padding: 1px 3em 2em;
background: rgba(255,255,255,0.2);
border-radius: 10px;
border: 1px solid #ddd;
margin: 1em auto;
max-width: 1080px;
box-shadow: inset 0 0 2px 1px #fff, 0 1px 1px rgba(0,0,0,0.07), 0 1px 3px 1px rgba(61,0,99,0.14);
}
   
   
.cards-in>*, .card, .toc {
.infoBox,.infoBoxContent,.infoBox2,.navbox-title,.navbox-group,.wikitable,.bilibili-title,.navBox,table,.toc,pre,.card,.radius,.TabContent {
position: relative;
border-radius: 7px;
background: linear-gradient(rgba(255,255,255,0.89),rgba(255,255,255,0.84)),fixed 50% 0/cover  no-repeat !important;
z-index: 1;
}
}
.cards-in>*::after, .card::after, .toc::after {
.infoBoxContent {
content: '';
border-top-left-radius: 0;
position: absolute;
border-bottom-left-radius: 0;
top: 0; left: 0; right: 0; bottom: 0;
z-index: -1;
border-radius: inherit;
border: 1px solid #ccc;
box-shadow: inset 0 0 1px 1px rgba(255,255,255,0.67);
}
}
   
   
/*排版*/
/* 黑幕颜色 */
h2 {
.heimu {
overflow: visible;
background-color: #0f395f;
font: 700 1.6em sans-serif;
color: #0f395f;
border-bottom: none;
margin-top: 1.6em;
}
}
h2 .mw-headline {
display: inline-block;
.heimu a, .heimu.fakelink {
color: Transparent;
}
}
h2 .mw-headline::after {
content: '';
/*目录在宽屏下改为两栏显示*/
display: block;
@media screen and (min-width:1000px) {
background: linear-gradient(66deg, #e5d6ff, #ffd6e4);
.toc ul {
height: 0.7em;
column-count: 2;
margin: -0.5em 0 0 -0.5em;
}
width: 100%;
.toc ul > li > ul {
border-radius: 0.35em;
column-count: 1;
box-shadow: 0 0 1px 1px #fff;
}
.toctoggle {
float: right;
}
}
}
h3 {
font: 700 1.4em serif;
/*移动版允许使用small、big标签*/
small {
font-size:smaller;
}
}
h4 {
big {
font: 400 1.2em sans-serif;
font-size:larger;
}
}
h5 {
font: 400 1.1em serif;
/* 编辑按钮右置、半透明 */
.mw-editsection {
float: right;
font-size: 13px;
opacity: 0.4;
transition: opacity 0.5s;
}
}
h2, h3, h4, h5, h6 {
color: #260043;
.mw-editsection:hover {
opacity: 1;
}
}
p {
display: none;
/*表格样式*/
.stubborn>table {
border-radius: 15px;
border: rgba(197,226,232,1.00) 3px solid;
overflow: hidden;
margin-top: 15px!important;
margin-left: 15px;
}
}
.AmeroBg p {
text-indent: 2em;
table.wikitable {
border-radius: 15px;
border: rgba(197,226,232,1.00) 3px solid;
overflow: hidden;
}
}
.AmeroBg p, .AmeroTalk p {
display: block;
.wikitable th {
border: 1.2px solid #7fcad9;
color:#0b7698;
border-radius: 4px;
background-color: rgba(161, 212, 218, 0.4);
}
}
ul, ol, dl, dt {
margin-left: 0 !important;
padding-left: 0 !important;
#ost .wikitable {
margin:0.5em 2%;
}
}
li, dd {
margin-left: 2em;
#ost .song_length {
text-align:right;
}
}
.toc {
padding: .5em 1em;
.wikitable td {
border: 1.2px solid #7fcad9;
background-color: rgba(135, 206, 235, 0.1);
}
}
li.toclevel-1 {
/* 分割线 */
margin-left: 0;
hr {
margin: 1em 10% 0.5em;
width: 80%;
border-bottom: 2px dashed #3fa8bd;
background: none;
}
}
a:link, a:visited {
color: #8e3a99;
/* 折叠窗优化 */
table.wikitable {
text-align: center;
}
}
a:hover {
text-decoration: underline wavy;
table.wikitable img {
height: auto;
max-width: 90%;
}
}
a.new {
color: #BA0000;
table.wikitable > tr > th, table.wikitable > * > tr > th {
background-color: #cde5ea;
}
}
code {
background: #fff1f1;
.mw-collapsible-text {
border-width: 0 0 2px;
color: #0b7698;
border-color: #ffc0c0;
margin: 0 2px;
color: inherit;
border-radius: 3px;
padding: 1px 3px 0;
}
}
/*签名墙专属*/
.sign p {
table.wikitable tbody{
text-indent: 0;
display: contents;
}
}
.sign dl {
position: relative;
/* 更改选中颜色 */
::selection {
color: #0b7698;
background-color: #cde5ea;
}
}
.sign dl::before {
content: ' ◤';
/** Toggle文字按钮下划线 **/
position: absolute;
.toggleunderline:hover {
color: #e5d6ff;
text-decoration-line: underline;
}
}
.sign>p {
margin: 1.6em 0 0.5em;
/** 链接下划线 **/
counter-increment: signatures;
a, .toggleunderline {
text-decoration-style: wavy;
}
}
.sign>p::before {
content: counter(signatures);
/** #各话简介・先行图 Tabs按钮 **/
background: linear-gradient(90deg,#e5d6ff,rgba(229,214,255,0));
.tabslabelbt:active {
border-radius: 0.4em 0 0 0.4em;
transform: scale(0.95);
padding: 0 0.7em 0 0.3em;
}
}
   
   
/*窄页面样式*/
/* 媒体适配 */
@media screen and (max-width: 520px) {
@media screen and (max-width: 960px) {
.AmeroBg, .AmeroTalk {
table.wikitable {
padding: 1em;
margin: 0.5em 0;
border: none;
width: 100%!important;
box-shadow: none;
}
h2 {
padding: 5px 0em;
border-radius: 5px 5px 0 0;
}
table.wikitable tbody{
display: inline-block;
}
#ost .wikitable {
text-align:left;
width:auto!important;
}
}
}
}
/* [[Category:在主名字空间下的CSS页面]] */

2022年3月9日 (三) 12:25的版本

/* 搬运于萌娘百科的页面Slow Loop专用样式表 */
/*MinervaNeue皮肤下图片缩放*/
.infobox2 img {
	width:100%; max-width:312px !important; height:auto;
}
/*移除信息栏中tab的边框*/
.infobox2 .TabContent{
	border:0;
}
/*标题风格化*/

h2 {
	text-shadow: -0.05em 0.05em 0.1em #FFF;
}
 
h3 .mw-headline {
	color: #1568A2;
	font-size: 120%;
	padding: 0 10px;
	border-bottom: solid 2px #0B7698;
}
 
h4 .mw-headline {
	border-left: solid 10px #0C7698;
	color: rgba(4,87,146,1.00);
	padding-left: 7px;
	position: relative;
	font-size: 118%;
	padding-bottom: 5px;
}
 
h5 .mw-headline {
	padding-left: 10px;
	font-size: 108%;
	position: relative;
	font-weight: 900;
}
 
/*圆角化*/
 
.infoBox,.infoBoxContent,.infoBox2,.navbox-title,.navbox-group,.wikitable,.bilibili-title,.navBox,table,.toc,pre,.card,.radius,.TabContent {
	border-radius: 7px;
}
.infoBoxContent {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
 
/* 黑幕颜色 */
.heimu {
	background-color: #0f395f;
	color: #0f395f;
}
 
.heimu a, .heimu.fakelink {
	color: Transparent;
}
 
/*目录在宽屏下改为两栏显示*/
@media screen and (min-width:1000px) {
	.toc ul {
		column-count: 2;
	}
	.toc ul > li > ul {
		column-count: 1;
	}
	.toctoggle {
		float: right;
	}
}
 
/*移动版允许使用small、big标签*/
small {
	font-size:smaller;
}
big {
	font-size:larger;
}
 
/* 编辑按钮右置、半透明 */
.mw-editsection {
	float: right;
	font-size: 13px;
	opacity: 0.4;
	transition: opacity 0.5s;
}
 
.mw-editsection:hover {
	opacity: 1;
}
 
/*表格样式*/
.stubborn>table {
	border-radius: 15px;
	border: rgba(197,226,232,1.00) 3px solid;
	overflow: hidden;
	margin-top: 15px!important;
	margin-left: 15px;
}
 
table.wikitable {
	border-radius: 15px;
	border: rgba(197,226,232,1.00) 3px solid;
	overflow: hidden;
}
 
.wikitable th {
	border: 1.2px solid #7fcad9;
	color:#0b7698;
	border-radius: 4px;
	background-color: rgba(161, 212, 218, 0.4);
}
 
 
#ost .wikitable {
	margin:0.5em 2%;
}
 
#ost .song_length {
	text-align:right;
}
 
.wikitable td {
	border: 1.2px solid #7fcad9;
	background-color: rgba(135, 206, 235, 0.1);
}
/* 分割线 */
hr {
	margin: 1em 10% 0.5em;
	width: 80%;
	border-bottom: 2px dashed #3fa8bd;
	background: none;
}
 
/* 折叠窗优化 */
 
table.wikitable {
	text-align: center;
}
 
table.wikitable img {
	height: auto;
	max-width: 90%;
}
 
table.wikitable > tr > th, table.wikitable > * > tr > th {
	background-color: #cde5ea;
}
 
.mw-collapsible-text {
	color: #0b7698;
}
 
table.wikitable tbody{
	display: contents;
}
 
/* 更改选中颜色 */
::selection {
	color: #0b7698;
	background-color: #cde5ea;
}
 
/** Toggle文字按钮下划线 **/
.toggleunderline:hover {
	text-decoration-line: underline;
}
 
/** 链接下划线 **/
a, .toggleunderline {
	text-decoration-style: wavy;
}
 
/** #各话简介・先行图 Tabs按钮 **/
.tabslabelbt:active {
	transform: scale(0.95);
}
 
/* 媒体适配 */
@media screen and (max-width: 960px) {
	table.wikitable {
		margin: 0.5em 0;
		width: 100%!important;
	}
	h2 {
		padding: 5px 0em;
		border-radius: 5px 5px 0 0;
	}
	table.wikitable tbody{
		display: inline-block;
	}
	#ost .wikitable {
		text-align:left;
		width:auto!important;
	}
}
/* [[Category:在主名字空间下的CSS页面]] */