MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
clear: right; | clear: right; | ||
border: 1px solid black; | border: 1px solid black; | ||
padding: | padding: 0; | ||
/* Title. */ | /* Title. */ | ||
Line 24: | Line 24: | ||
height: 1.5rem; | height: 1.5rem; | ||
line-height: 1.5rem; | line-height: 1.5rem; | ||
background: | background: #271300; | ||
color: white; | |||
} | } | ||
/* Table (e.g. 'name: ...'). */ | /* Table (e.g. 'name: ...'). */ | ||
& table { margin: .1rem ; } | |||
& td:first-child { font-weight: bold; } | & td:first-child { font-weight: bold; } | ||
& tr { gap: 1rem; } | & tr { gap: 1rem; } | ||
} | } |
Revision as of 21:19, 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: 0;
/* Title. */
& > p {
text-align: center;
font-size: 1.2rem;
font-weight: bold;
width: 100%;
height: 1.5rem;
line-height: 1.5rem;
background: #271300;
color: white;
}
/* Table (e.g. 'name: ...'). */
& table { margin: .1rem ; }
& td:first-child { font-weight: bold; }
& tr { gap: 1rem; }
}