Template:Center/styles.css: Difference between revisions

From Ekatra Wiki
Jump to navigation Jump to search
en ws>ShakespeareFan00
(Make this behave more like an old style center.)
 
m (1 revision imported)
(No difference)

Revision as of 03:27, 7 March 2023

/* Basic alignment */
.wst-center {
	text-align: center;
    margin:0 auto 0 auto;
}

/*
 * p-wrapping gives us a hard 7px bottom margin that is undesireable when
 * trying to align another element just below us (like a horizontal rule).
 * This is a workaround for that by simply forcing the margin to zero.
 */
.wst-center.wst-center-nomargin > p {
	margin-bottom: 0;
}