Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^4: Nodelet style broken?

by haukex (Bishop)
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;

Regards,
-- Hauke D

Replies are listed 'Best First'.
Re^5: Nodelet style broken?
by jdporter (Canon) 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.

        Regards,
        -- Hauke D

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-04-10 20:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?