وحدة:Message box/tmbox.css

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث
/* {{pp|small=y}} */
.tmbox {
	margin: 4px 0;
	border-collapse: collapse;
	border: 1px solid silver;    /* Default "notice" gray-brown */
	background-color: #f8f9fa;
    min-width: 80%;
	box-sizing: border-box;
}

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

.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.9em 2px 0;
	text-align: center;
}

.tmbox .mbox-imageleft {
	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: left;
		/* @noflip */
		float: left;
		/* @noflip */
		margin: 4px 0 4px 1em;
		width: 238px;
	}
}

/* منقولة من common.css */
/* Talk page message box styles */

.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
	margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
	width: 100%;                 /* For Safari and Opera */
}

.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
	line-height: 1.5em;          /* also "nested", so reset styles that are   */
	font-size: 100%;             /* set in "mbox-small" above.                */
}

.tmbox-current {
	/* @noflip */
	border: 1px solid #A5D6A7;    /* Green */
	border-right: 2px solid #A5D6A7;    /* Green */
}

.tmbox-protection,
.tmbox-notice {
	border: 1px solid silver;    /* Gray-brown */
}