Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Nodelet style broken?

by Anonymous Monk
on Jan 26, 2017 at 23:35 UTC ( #1180412=note: print w/replies, xml ) Need Help??


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

Thanks. The font is smaller, but the blue borders and headers are still missing.

Replies are listed 'Best First'.
Re^3: Nodelet style broken?
by Corion (Patriarch) on Jan 27, 2017 at 07:13 UTC

    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

        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.

      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,

        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

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2022-08-14 01:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?