Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Nodelet style broken?

by Corion (Patriarch)
on Jan 27, 2017 at 07:13 UTC ( #1180435=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^4: Nodelet style broken?
by haukex (Archbishop) on Jan 27, 2017 at 20:17 UTC

    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

      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!

Re^4: Nodelet style broken?
by Co-Rion (Monk) on Jan 27, 2017 at 07:32 UTC

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

      The site still looks broken when visited anonymously. Not the best way to attract new users, I'd say.

      ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,
        It was switched back to the table design for a short while in between, but now it's back to the broken div layout.

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

      :) um doesn't look that way, please try again

        ha! and there it goes

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2022-08-19 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?