Style-Scripts

From OpenFOAMWiki

No. There is an additional CSS (custom.css I think) that I'll have to add. Directly modifying the CSS you "see" is not a good idea as they are generated on the server and/or are part of the bootstrap framework (which is updated through new package-system of the Wiki-software. So changes would be lost the next time around). I'll implement that change (adding darker fonts) on monday

Thanks for pointing out that the old-school skins (Chick, Nostalgia etc) are enabled. I disabled them on the test installation because the new front-page doesn't look good with them (the old design was one big table. Because of this it didn't "reformat" on mobile devices. The new design is just one long page on non-Bootstrap-Skins). I'll disable these on monday too

The thing for trying other CSS I was referring to in the news was the bookmarklet in http://bootswatch.com/help/. You install that in the bookmark bar of the browser. When you click it you get a drop-down in the upper right corner that lets you select a pre CSS-style. The problem is that this only changes the current page. So I mainly used it to select the current style. Having chameleon with a different CSS is a) on one hand easy: I've only got to add two files. But this changes it for everyone b) in reality hard: if I want the user to choose there must be a second instance of chameleon that the user can choose (which only differs in these two files) and that (the second instance) doesn't play well with the "package manager". Also is the name of the skin hardcoded into the PHP-files of it (this is why I can't solve this with symbolic-link-trickery). My approach was "if somebody comes up with a better color-scheme or disgust about the current one is expressed by a number of people I'll think about 'splicing' the skin"

Another way to override the Wiki-CSS is https://addons.mozilla.org/de/firefox/addon/stylish/#id=2108

Bgschaid (talk)16:34, 8 November 2014

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: 04:10, 13 November 2019
    • Expiry of block: 04:10, 13 November 2019
    • Intended blockee: 3.227.208.153
    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.227.208.153, 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 (5).

I guess if the user wants this kind of hacking he will use something like the GreaseMonkey-extension anyway. That way he doesn't have to rely on the goodwill of the server administrator.

Bgschaid (talk)15:25, 11 November 2014