Szablon:Tmbox/styles.css

Z Wikibooks, biblioteki wolnych podręczników.
/* Talk page message box template styles */
table.tmbox {
	margin: 0 10%;                         /* Will not overlap with other elements */
	border-collapse: collapse;
	background-color: #f8eaba !important;
	border: 1px solid #4682b4;
}

table.tmbox th.tmbox-text, table.tmbox td.tmbox-text {      /* The message body cell(s) */
	padding: 0.25em 0.5em;              /* 0.5em left/right */
	width: 100%;                        /* Make all templates the same width regardless of text size */
}

table.tmbox td.tmbox-image {          /* The left image cell */
	padding: 2px 0 2px 0.5em;         /* 0.5em left, 0 right */
	text-align: center;
}

table.tmbox td.tmbox-imageright {     /* The right image cell */
	padding: 2px 4px 2px 0;           /* 0 left, 4px right */
	text-align: center;
}

table.tmbox-serious {
	border: 1px solid #d33;       /* Red */
}

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

table.tmbox-style {
	border: 1px solid #f4c430;       /* Yellow */
}

table.tmbox-merge {
	border: 1px solid #9932cc;       /* Purple */
}

table.tmbox-protection {
	border: 1px solid #bba;          /* Gray */
}

table.tmbox.tmbox-mini {                 /* small floating box variant */
	float: right;
	clear: right;
	margin: 0 0 0 1em;
	width: 25%;
}

/* poprawa podwójnego obramowania, gdy na stronie dyskusji znajduje się kilka tmboksów */
/* fixing double border when multiple tmboxes present */
table.tmbox + table.tmbox {
	margin-top: 4px !important;
}

/*{{Kategoria|Szablony - arkusze stylów}}*/