http://qs321.pair.com?node_id=1180389


in reply to Nodelet style broken?

I've now added what I believe is a faithful replication of the old TABLE paths for the new DIV nodes in nodelets to css/common.css. This should address the font sizes I presume.

I have not looked through the themes to see whether they need adjustment as well.

Replies are listed 'Best First'.
Re^2: Nodelet style broken?
by jdporter (Paladin) on Jan 26, 2017 at 21:00 UTC

    Any idea what caused this? I don't see any recent patches which would account for it. Did the static files on one of the servers get corrupted, or something?

      No, the (static) CSS file seems fine, it just didn't match the DIV tags that render for Anonymous Monk.

        I always thought the default design is table based (incl. AnoMonk) and one needs to switch in the settings to a div based one.

        See Misc Display Settings in  Display Settings

        Just an idea, did someone probably touch the settings for Anonymous Monk?

        Cheers Rolf
        (addicted to the Perl Programming Language and ☆☆☆☆ :)
        Je suis Charlie!

Re^2: Nodelet style broken?
by Anonymous Monk on Jan 26, 2017 at 23:35 UTC
    Thanks. The font is smaller, but the blue borders and headers are still missing.

      I've made the background blue for the time being but I'm not in the mood of faffing around with CSS and spending hours to replicate the old look. Most likely I will also remove the blue background from the current setup.

        Hi Corion,

        I've made the background blue for the time being but I'm not in the mood of faffing around with CSS and spending hours to replicate the old look.

        I see that currently, when not logged in, divs are still being used. Here are some changes to the current CSS that should at least approximate the old look:

        1. Either take the align="right" out of <td class="nodelets" align="right" width="20%" valign="top">, or add text-align: left; to the class div.nodelet_container.
        2. Remove float: left; from the class span.title.
        3. Add the following to the class div.nodelet_head: background-color: #006; padding: 1px 5px;
        4. Add the following to the class div.nodelet_body: padding: 1px 3px; border: 2px solid #006;

        Regards,
        -- Hauke D

        For the time being, I've switched the setting for Anonymous Monk back to the tables. This may or may not change later on.