Style-Scripts

From OpenFOAMWiki

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.
  • Your username or IP address has been blocked. The block was made by DNSBL. The reason given is Your IP address is listed as an open proxy in the DNSBL used by OpenFOAMWiki..
    • Start of block: 01:04, 13 December 2019
    • Expiry of block: 01:04, 13 December 2019
    • Intended blockee: 3.81.29.254
    You can contact DNSBL or another administrator to discuss the block. You cannot use the "email this user" feature unless a valid email address is specified in your account preferences and you have not been blocked from using it. Your current IP address is 3.81.29.254, and the block ID is #. Please include all above details in any queries you make.

You can view and copy the source of this page:

Return to Thread:Talk:Main Page/Style-Scripts/reply (8).

I'll have a look

Bgschaid (talk)15:13, 30 November 2014

Hi Bernhard,

OK, lists are still in a different colour:

  • Here is an example with a different colour...
  1. And another example

But now I bring more details on another issue, where the first line of code blocks are too much to the left, as shown here: Contrib_blockMeshDG#Download

The reason for this is because the css entry ".mw-body ul" from the stylesheet file from here:

http://openfoamwiki.net/load.php?debug=false&lang=en&modules=ext.bootstrap.styles&only=styles&skin=chameleon&*

has this:

text-indent: -2ex;

it's looks to me that this indentation can be removed, since it's doesn't affect much... oh, it's because of the Main Page...

Curiously enough, ".mw-body ol" has this same indent parameter set to "0".

And it seems that these are also the entries that need the colour update. If I'm not mistaken, we can fix all of these issues if you change this:

.mw-body ol {
    text-indent: 0;
}
.mw-body ul {
    list-style: outside none none;
    text-indent: -2ex;
}

To this:

.mw-body ol {
    text-indent: 0;
    color: #505050;
}
.mw-body ul {
    list-style: outside none none;
    text-indent: 0;
    color: #505050;
}

.panel-body ul {
    text-indent: -2ex;
}

Best regards,
Bruno

Wyldckat (talk)01:54, 4 April 2015