跳转到内容

Module:Message box/tmbox.css:修订间差异

勤求古训,博采众方
删除的内容 添加的内容
TemplateStyles: Module:Message box/tmbox.css 样式
 
替换为 mworg 版 tmbox.css
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
/* {{tmbox}} 讨论页消息框样式 */
/* {{pp|small=y}} */
.tmbox {
.tmbox {
margin: 4px 0;
border: 1px solid #c8ccd1;
border-left: 10px solid #36c;
border-collapse: collapse;
border: 1px solid #c0c090; /* Default "notice" gray-brown */
background-color: #f8f9fa;
color: #202122;
background-color: #f8eaba;
margin: 0.5em 0;
padding: 3px;
width: 100%;
box-sizing: border-box;
box-sizing: border-box;
}

/* For the "small=yes" option. */
.tmbox.mbox-small {
font-size: 88%;
line-height: 1.25em;
}
}


.tmbox-speedy {
.tmbox-speedy {
border-left-color: #b32424;
border: 2px solid #b32424; /* Red */
background-color: #fee7e6; /* Pink */
}
}


.tmbox-delete {
.tmbox-delete {
border-left-color: #b32424;
border: 2px solid #b32424; /* Red */
}
}


.tmbox-content {
.tmbox-content {
border-left-color: #f28500;
border: 2px solid #f28500; /* Orange */
}
}


.tmbox-style {
.tmbox-style {
border-left-color: #fc3;
border: 2px solid #fc3; /* Yellow */
}
}


.tmbox-move {
.tmbox-move {
border-left-color: #9932cc;
border: 2px solid #9932cc; /* Purple */
}
}


.tmbox-protection {
.tmbox .mbox-text {
border-left-color: #a2a9b1;
border: none;
/* @noflip */
}
padding: 0.25em 0.9em;

width: 100%;
.tmbox-notice {
border-left-color: #36c;
}
}


.tmbox .mbox-image {
.tmbox .mbox-image {
border: none;
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;
padding: 2px 0 2px 0.9em;
text-align: center;
text-align: center;
width: 52px;
}
}


.tmbox .mbox-text {
.tmbox .mbox-imageright {
border: none;
border: none;
/* @noflip */
padding: 0.25em 0.9em;
padding: 2px 0.9em 2px 0;
width: 100%;
text-align: center;
}
}


.tmbox .mbox-empty-cell {
/* An empty narrow cell */
.tmbox .mbox-empty-cell {
border: none;
border: none;
padding: 0;
padding: 0;
width: 1px;
width: 1px;
}

.tmbox .mbox-invalid-type {
text-align: center;
}

@media (min-width: 720px) {
.tmbox {
margin: 4px 10%;
}
.tmbox.mbox-small {
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
width: 238px;
}
}


@media screen {
html.skin-theme-clientpref-night .tmbox {
background-color: #2e2505; /* Dark brown, same hue/saturation as light */
}
html.skin-theme-clientpref-night .tmbox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */
}
}


@media screen and ( prefers-color-scheme: dark) {
html.skin-theme-clientpref-os .tmbox {
background-color: #2e2505; /* Dark brown, same hue/saturation as light */
}
html.skin-theme-clientpref-os .tmbox-speedy {
background-color: #310402; /* Dark red, same hue/saturation as light */
}
}

/** T367463 */
body.skin--responsive table.tmbox img {
max-width: none !important;
}
}

2026年6月21日 (日) 16:46的最新版本

/* {{pp|small=y}} */
.tmbox {
	margin: 4px 0;
	border-collapse: collapse;
	border: 1px solid #c0c090;    /* Default "notice" gray-brown */
	background-color: #f8eaba;
	box-sizing: border-box;
}

/* For the "small=yes" option. */
.tmbox.mbox-small {
	font-size: 88%;
	line-height: 1.25em;
}

.tmbox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}

.tmbox-delete {
	border: 2px solid #b32424;    /* Red */
}

.tmbox-content {
	border: 2px solid #f28500;    /* Orange */
}

.tmbox-style {
	border: 2px solid #fc3;       /* Yellow */
}

.tmbox-move {
	border: 2px solid #9932cc;    /* Purple */
}

.tmbox .mbox-text {
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;
	width: 100%;
}

.tmbox .mbox-image {
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;
	text-align: center;
}

.tmbox .mbox-imageright {
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;
	text-align: center;
}

/* An empty narrow cell */
.tmbox .mbox-empty-cell {           
	border: none;
	padding: 0;
	width: 1px;
}

.tmbox .mbox-invalid-type {
	text-align: center;
}

@media (min-width: 720px) {
	.tmbox {
		margin: 4px 10%;
	}
	
	.tmbox.mbox-small {
		/* @noflip */
		clear: right;
		/* @noflip */
		float: right;
		/* @noflip */
		margin: 4px 0 4px 1em;
		width: 238px;
	}
}


@media screen {
    html.skin-theme-clientpref-night .tmbox {
		background-color: #2e2505;    /* Dark brown, same hue/saturation as light */
	}
	
	html.skin-theme-clientpref-night .tmbox-speedy {
		background-color: #310402;    /* Dark red, same hue/saturation as light */
	}
}


@media screen and ( prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .tmbox {
		background-color: #2e2505; /* Dark brown, same hue/saturation as light */
	}
	
	html.skin-theme-clientpref-os .tmbox-speedy {
		background-color: #310402; /* Dark red, same hue/saturation as light */
	}
}

/** T367463 */
body.skin--responsive table.tmbox img {
	max-width: none !important;
}