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
m rework VerticalLayout
Tag: Reverted
Undo revision 76 by CornHusker (talk)
Tag: Undo
Line 27: Line 27:




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

Revision as of 17:10, 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;
}


.VerticalLayoutTop td:first-child {
	border-right: 1px solid #aaa;
	padding: 0.2em 0.4em;
	font-weight: bold;
}
.VerticalLayoutTop td:nth-child(2) {
	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;
}
.VerticalLayoutBottom td:nth-child(2) {
	padding: 0.4em 0.4em;
}