Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:ShipInfobox.css: Difference between revisions

MediaWiki interface page
added EmptyRow
m rework VerticalLayout
Tag: Reverted
Line 27: Line 27:




.VerticalLayoutTop td:first-child {
.VerticalLayout {
    border-bottom: 1px solid #aaa;
}
.VerticalLayout td {
display: flex;
    flex-direction: column;
}
.VerticalLayout td:first-child {
display: flex;
    flex-direction: column;
border-right: 1px solid #aaa;
border-right: 1px solid #aaa;
}
.VerticalLayout .Label {
padding: 0.2em 0.4em;
padding: 0.2em 0.4em;
font-weight: bold;
font-weight: bold;
}
}
.VerticalLayoutTop td:nth-child(2) {
.VerticalLayout .Value {
padding: 0.4em 0.4em;
font-weight: bold;
}
.VerticalLayoutBottom {
border-bottom: 1px solid #aaa;
}
.VerticalLayoutBottom td:first-child {
border-right: 1px solid #aaa;
padding: 0.2em 0.4em;
padding: 0.2em 0.4em;
}
.VerticalLayoutBottom td:nth-child(2) {
padding: 0.4em 0.4em;
}
}

Revision as of 17:05, 16 August 2024

.Subheader {
	padding: 0.2em 0.4em;
	font-weight: bold;
	font-size: 170%;
}


.EmptyRow {
	height: 20px;
}


.HorizontalLayout {
	border-bottom: 1px solid #aaa;
}
/* Left Column */
.HorizontalLayout td:first-child {
	border-right: 1px solid #aaa;
	padding: 0.2em 0.4em; 
	font-weight: bold;
}
/* Left Column */
.HorizontalLayout td:nth-child(2) {
	padding: 0.4em 0.4em;
}


.VerticalLayout {
    border-bottom: 1px solid #aaa;
}
.VerticalLayout td {
	display: flex;
    flex-direction: column;
}
.VerticalLayout td:first-child {
	display: flex;
    flex-direction: column;
	border-right: 1px solid #aaa;
}
.VerticalLayout .Label {
	padding: 0.2em 0.4em;
	font-weight: bold;
}
.VerticalLayout .Value {
	padding: 0.2em 0.4em;
}