[pmwiki-users] Incorporating a double underline into the default pmwiki skin
ASLAN Data
aslan at aslandata.com
Mon May 27 11:11:01 PDT 2024
Thanks for sticking with me Hans
I changed my local.css to what you suggested below.
I tried both
Markup('^====','>^->','/^====+/','<:block,1> <hr class="hr-double" />');
and
Markup('^====','>^->','/^====+/','<:block,1> <hr class="hr.hr-double"
/>');
in my config.php (no change either way
I tested it in Chrome and Edge with no change. I still see a single line
no matter what I try.
My only recipe is wsplus.php
It is on a wiki farm so I changed them ("tools" is the field) in
tools/css /local.css
and
tools/local/config.php
I'm using the generic pmwiki install and the default responsive skin
My sites are only used for simple documentation.
Running ver pmwiki-2.3.32
It's not a huge deal but I like the look of a double underline!
Dave
On 5/23/2024 3:57 AM, Hans Bracker wrote:
> Hi Dave,
>
> not sure what is going on there. Perhaps check if there is any CSS rule set for hr, in a skin css file for instance.
> And make sure that the browser is forced to load all files fresh (Ctrl-F5 on Windows).
> The browser may use some general rules for <hr> and then also the new CSS rule for class hr-double.
>
> I wanted to test myself, and found that I needed to change this rule to something like this, because there was too much of a vertical gap for the double line <hr>:
>
> hr.hr-double {
> margin-top:-0.75em;
> margin-bottom: 0.25em;
> height:2px;
> border:none;
> border-top:1px solid #aaa;
> border-bottom:1px solid #aaa;
> background:#fff;
> }
>
> Perhaps try that, and adjust any of those values to suit your needs.
>
> cheers,
> Hans
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20240527/60b6a3c3/attachment.html>
More information about the pmwiki-users
mailing list