Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
You must create an account or log in to edit.

Module:Hatnote/styles.css: Difference between revisions

From Amaranth Legacy, available at amaranth-legacy.community
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
/* no images */
.hatnote0 {
.hatnote0 {
display: block;
text-align: center;
text-align: center;
}
}


/* one image */
.hatnote1 {
.hatnote1 {
display: flex;
display: flex;
Line 26: Line 27:
}
}


/* two images */
.hatnote2 {
.hatnote2 {
display: flex;
display: flex;

Revision as of 18:39, January 13, 2025

/* no images */
.hatnote0 {
	text-align: center;
}

/* one image */
.hatnote1 {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	text-align: left;
}

.hatnote1 > :first-child {
	flex: 0 2 90px;
	margin: 0 5px;
}

.hatnote1 img {
	max-width: 100%;
	height: 100%;
}

.hatnote1 > :last-child {
	flex: 1 1 fit-content;
}

/* two images */
.hatnote2 {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	text-align: center;
}

.hatnote2 > :first-child,
.hatnote2 > :last-child {
	flex: 0 2 auto;
	margin: 0 5px;
}

.hatnote2 img {
	max-width: 100%;
	height: 100%;
}

.hatnote2 > :nth-child(2) {
	flex: 1 1 fit-content;
}