MediaWiki:Common.css:修订间差异

MediaWiki系统消息页面
无编辑摘要
无编辑摘要
 
(未显示2个用户的13个中间版本)
第1行: 第1行:
/* 这里放置的CSS将应用于所有皮肤 */
/* 这里放置的CSS将应用于所有皮肤 */


.scroll-text-list {
@media (min-width: 720px) {
width: 100%;
.infobox {
height: 25px;
float: right;
margin: 1em;
clear: right;
line-height: 25px;
}
}
 
.infobox {
max-width: 300px;
margin: 1rem auto;
text-align: left;
background: #fafafa;
border-radius: 10px;
box-shadow: 0px 15px 20px LightGray;
}
 
.infobox tbody {
display: flex;
flex-wrap: wrap;
}
 
.infobox tr {
box-sizing: border-box;
padding: 0 0.5rem;
}
 
.infobox .infobox-img {
margin-bottom: 0.5rem;
padding: 0;
overflow: hidden;
overflow: hidden;
text-align: center;
}
}


.scroll-text-list ul {
.infobox .infobox-img img {
list-style-type: none;
  max-width: 300px;
margin-left: 0;
  min-width: 300px;
  height: auto;
}
 
.infobox .title {
font-size: 1.5rem;
line-height: 1.6rem;
}
 
.infobox .subtitle {
font-size: 0.8rem;
line-height: 0.9rem;
color: #888;
}
 
.infobox .detail-header {
margin-top: 0.5rem;
padding-top: 0.5rem;
padding-bottom: 0.5rem;
border-top: 1px solid #eee;
}
}


.infobox {
.infobox :not(.detail) {
float: right;
width: 100%;
margin: 1em 0 1em 1em;
}
border: 1px solid #c8ccd1;
 
background: #f8f9fa;
.infobox .detail {
text-align: center;
display: flex;
flex-direction: column;
width: 50%;
min-width: 4rem;
}
}


.infobox th {
.infobox .detail th {
border: 1px solid #c8ccd1;
text-decoration: none;
background: #eaecf0;
color: #888;
}
}


.overworld_coordinate {
.overworld-coordinate {
color: darkgreen;
color: darkgreen;
}
}


.nether_coodinate {
.nether-coordinate {
color: crimson;
color: crimson;
}
.end-coordinate {
color: purple;
}
}

2024年1月29日 (一) 20:29的最新版本

/* 这里放置的CSS将应用于所有皮肤 */

@media (min-width: 720px) {
	.infobox {
		float: right;
		clear: right;
	}
}

.infobox {
	max-width: 300px;
	margin: 1rem auto;
	text-align: left;
	background: #fafafa;
	border-radius: 10px;
	box-shadow: 0px 15px 20px LightGray;
}

.infobox tbody {
	display: flex;
	flex-wrap: wrap;
}

.infobox tr {
	box-sizing: border-box;
	padding: 0 0.5rem;
}

.infobox .infobox-img {
	margin-bottom: 0.5rem;
	padding: 0;
	overflow: hidden;
}

.infobox .infobox-img img {
  max-width: 300px;
  min-width: 300px;
  height: auto;
}

.infobox .title {
	font-size: 1.5rem;
	line-height: 1.6rem;
}

.infobox .subtitle {
	font-size: 0.8rem;
	line-height: 0.9rem;
	color: #888;
}

.infobox .detail-header {
	margin-top: 0.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	border-top: 1px solid #eee;
}

.infobox :not(.detail) {
	width: 100%;
}

.infobox .detail {
	display: flex;
	flex-direction: column;
	width: 50%;
	min-width: 4rem;
}

.infobox .detail th {
	text-decoration: none;
	color: #888;
}

.overworld-coordinate {
	color: darkgreen;
}

.nether-coordinate {
	color: crimson;
}

.end-coordinate {
	color: purple;
}