Maybe you want this snip from http://en.wikipedia.org/wiki/MediaWiki:Common.css:

/* Other pages message box styles */
table.ombox {
    margin: 4px 10%;
    border-collapse: collapse;
    border: 1px solid #aaa;       /* Default "notice" gray */
    background: #f9f9f9;
}

There is more below that, too. I prefer simple stuff myself. The
Wikipedia's templates are a few orders of magnitude more complex than
I like. Too many fingers in the pie I guess. Why note bake your own
templates, and keep it simple?

Roger :-)

On Thu, Mar 7, 2013 at 7:04 PM, Steve VanSlyck <[email protected]> wrote:
> Me again.
>
> If you look at http://en.wikipedia.org/wiki/Template:In_creation you will
> see that the template box has a light grey background. I've tried copying a
> rather large section of MediaWiki:Common.css to my own wiki's Common.css but
> I'm obviously not grabbing the right part. Can you advise when section is
> the correct one to grab? It does not appear to be in the group starting with
>
> /* Article message box styles */
>
> and ending much further below with
>
> /* Allow for hiding text in compact form */
> .compact-ambox .hide-when-compact {
> display: none;
> }
>
>
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to