Jump to content

Template:Adjacent stations/styles.css: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Fix too small font per MOS:FONTSIZE. When this module is used inside infoboxes, which already set text to 88%, 97% is as low as we can go. This may make things look ugly, but it was apparently a mistake to set the font-size this low in the first place. The documentation page itself had text below 85%.
use different CSS rules inside infoboxes
Line 3: Line 3:
max-width: 50em;
max-width: 50em;
margin: 0.5em auto;
margin: 0.5em auto;
font-size: 97%;
font-size: 95%;
clear: both;
clear: both;
}
.infobox .adjacent-stations {
font-size: 100%;
}
}


.adjacent-stations .isA {
.adjacent-stations .isA {
font-size: smaller;
font-style: italic;
font-style: italic;
}
}


.adjacent-stations .smA {
.adjacent-stations .smA {
font-size: smaller;
}

.infobox .adjacent-stations .isA,
.infobox .adjacent-stations .smA {
font-size: 96.6%;
}
}



Revision as of 08:26, 15 March 2022

/* {{pp-template}} */
.adjacent-stations {
	max-width: 50em;
	margin: 0.5em auto;
	font-size: 95%;
	clear: both;
}
.infobox .adjacent-stations {
	font-size: 100%;
}

.adjacent-stations .isA {
	font-size: smaller;
	font-style: italic;
}

.adjacent-stations .smA {
	font-size: smaller;
}

.infobox .adjacent-stations .isA,
.infobox .adjacent-stations .smA {
	font-size: 96.6%;
}

.adjacent-stations .hcA {
	width: 30%;
	vertical-align: middle;
}

.adjacent-stations .hmA, .adjacent-stations .hmA > a:last-child {
	vertical-align: middle;
}

.adjacent-stations .bcA {
	text-align: center;
	vertical-align: middle;
}

.adjacent-stations .bbA {
	text-align: center;
	width: 8px;
	min-width: 8px;
}