MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | |||
IGNORE THE ‘CSS ERRORS’. | |||
Those are just because this editor doesn’t understand that | |||
browsers nowadays *do* in fact support CSS nesting... | |||
*/ | |||
/* This contains the formatting for the Biography template. */ | /* This contains the formatting for the Biography template. */ | ||
div.global-biography { | div.global-biography { |
Revision as of 21:18, 21 June 2024
/*
IGNORE THE ‘CSS ERRORS’.
Those are just because this editor doesn’t understand that
browsers nowadays *do* in fact support CSS nesting...
*/
/* This contains the formatting for the Biography template. */
div.global-biography {
display: flex;
flex-direction: column;
width: 22em;
float: right;
clear: right;
border: 1px solid black;
padding: .1rem;
/* Title. */
& > p {
text-align: center;
font-size: 1.2rem;
font-weight: bold;
width: 100%;
height: 1.5rem;
line-height: 1.5rem;
background: red;
}
/* Table (e.g. 'name: ...'). */
& td:first-child { font-weight: bold; }
& tr { gap: 1rem; }
}