[MediaWiki-l] Another styling question

Steve VanSlyck s.vanslyck at spamcop.net
Sun Mar 10 14:15:31 UTC 2013


Sorry, my original post wasn't too clear. The problem is that the ombox 
shows up correctly - with grey background - on the template, but does 
*not* show up correctly (with grey background) on the article pages. I'd 
like it to be the same as on Wikipedia.

On 3/9/2013 13.44, Mlpearc wrote:
> Maybe something like this:
>
> /* Banners inside banner shells. */
> .mbox-inside .standard-talk,
> .messagebox.nested-talk {
>   border: 1px solid #0000FF;
>   *background-color: transparent;*
>   width: 100%;
>   margin: 2px 0;
>   padding: 2px;
> }
>
>
>
> Mlpearc
>
> On Sat, Mar 9, 2013 at 8:51 AM, Steve VanSlyck <s.vanslyck at spamcop.net>wrote:
>
>> That's part of the group I'd copied over. But let me give it a shot with
>> just that and nothing else and report back.
>> #WAITFOR{{Jeopardy Theme}}
>> Well, I did as you suggest. The grey comes through on the template page
>> but on on the page whereon the template is transcluded.
>>
>> Anything else I could look at that comes to mind?
>>
>>
>>
>> On 3/8/2013 23.07, roger at rogerchrisman.com wrote:
>>
>>> Maybe you want this snip from http://en.wikipedia.org/wiki/**
>>> MediaWiki:Common.css <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 <s.vanslyck at spamcop.net>
>>> wrote:
>>>
>>>> Me again.
>>>>
>>>> If you look at http://en.wikipedia.org/wiki/**Template:In_creation<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
>>>> MediaWiki-l at lists.wikimedia.**org <MediaWiki-l at lists.wikimedia.org>
>>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>>
>>> ______________________________**_________________
>>> MediaWiki-l mailing list
>>> MediaWiki-l at lists.wikimedia.**org <MediaWiki-l at lists.wikimedia.org>
>>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>>
>>
>> ______________________________**_________________
>> MediaWiki-l mailing list
>> MediaWiki-l at lists.wikimedia.**org <MediaWiki-l at lists.wikimedia.org>
>> https://lists.wikimedia.org/**mailman/listinfo/mediawiki-l<https://lists.wikimedia.org/mailman/listinfo/mediawiki-l>
>>
>
>




More information about the MediaWiki-l mailing list