Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Re^4: Nodelet style broken?

by haukex (Archbishop)
on Jan 27, 2017 at 20:17 UTC ( #1180492=note: print w/replies, xml ) Need Help??

in reply to Re^3: Nodelet style broken?
in thread Nodelet style broken?

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;

-- Hauke D

Replies are listed 'Best First'.
Re^5: Nodelet style broken?
by jdporter (Chancellor) on Jan 27, 2017 at 22:24 UTC

    Thanks for all that work!

    I'll just point out that messing around with these particular CSS, for this particular case, is a waste of effort: AM should be configured to use tables, not divs. The divs ("show as div" settings) are there for logged-in monks who want to style their PM look-and-feel to their liking. What AM gets should be irrelevant (and have no impact) for them.

    I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.
      > AM should be configured to use tables, not divs.

      I agree but can't you fix this setting in the DB?

      Hauke's point seems to be that AM is still seeing a broken design.

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

        Hi LanX,

        Hauke's point seems to be that AM is still seeing a broken design.

        Yes, at the moment it's still the "broken" design. Of course switching the AM back to the table layout should fix the issue, but I just figured, why not fix the CSS as well.

        Either way I think it's probably a good idea to fix it, as the "non logged in" version of PerlMonks is what all first-time visitors see.

        -- Hauke D

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1180492]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2022-08-18 20:19 GMT
Find Nodes?
    Voting Booth?

    No recent polls found