Permanently protected template

Difference between revisions of "Template:Dmbox/styles.css"

From Yugipedia
Jump to: navigation, search
(Adding protection template)
 
m (1 revision imported: mass import/update of Wikipedia stuff)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
/* {{pp-template}} */
 
/* {{pp-template}} */
/* Disambig and set index box styles */
+
.dmbox {
table.dmbox {
+
display: flex;
 +
align-items: center;
 
clear: both;
 
clear: both;
 
margin: 0.9em 1em;
 
margin: 0.9em 1em;
 
border-top: 1px solid #ccc;
 
border-top: 1px solid #ccc;
 
border-bottom: 1px solid #ccc;
 
border-bottom: 1px solid #ccc;
background-color: transparent;
+
padding: 0.25em 0.35em;
 +
font-style: italic;
 +
}
 +
.dmbox > * {
 +
flex-shrink: 0;
 +
margin: 0 0.25em;
 +
}
 +
.dmbox-body {
 +
flex-grow: 1;
 +
flex-shrink: 1;
 +
padding: 0.1em 0;
 +
}
 +
.dmbox-invalid-type {
 +
text-align: center;
 
}
 
}

Latest revision as of 23:45, 1 April 2023

/* {{pp-template}} */
.dmbox {
	display: flex;
	align-items: center;
	clear: both;
	margin: 0.9em 1em;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding: 0.25em 0.35em;
	font-style: italic;
}
.dmbox > * {
	flex-shrink: 0;
	margin: 0 0.25em;
}
.dmbox-body {
	flex-grow: 1;
	flex-shrink: 1;
	padding: 0.1em 0;
}
.dmbox-invalid-type {
	text-align: center;
}