Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
wiki:customizations [2023/02/18 06:44] – removed - external edit (Unknown date) 127.0.0.1 | wiki:customizations [2023/02/18 06:47] (current) – namespace name changed suedunham | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Wiki customizations ====== | ||
+ | |||
+ | In addition to the many [[..: | ||
+ | |||
+ | ===== Template ===== | ||
+ | |||
+ | ==== Bootstrap3 ==== | ||
+ | |||
+ | The template in use is based on the [[doku> | ||
+ | |||
+ | This template in turn implements [[https:// | ||
+ | |||
+ | The Bootstrap3 template does add an unofficial bootswatch theme that is not present in the bootstrap framework: Solar. A fork to that theme' | ||
+ | |||
+ | ==== Schmootstrap3 ==== | ||
+ | |||
+ | This is the first layer of customization, | ||
+ | |||
+ | === Colors === | ||
+ | |||
+ | The general approach has been to make a file of color constants for each theme to be modified. The colors have been derived from each theme' | ||
+ | |||
+ | General code highlighting tweaks were added for several languages. This cleaned up the light themes that hadn't gotten the more extensive attention | ||
+ | devoted to rendering the dark ones in theme colors. | ||
+ | |||
+ | At this time, the following themes have been adjusted. | ||
+ | |||
+ | * Cyborg | ||
+ | * Darkly | ||
+ | * Slate | ||
+ | * Solar | ||
+ | * Superhero | ||
+ | * Yeti (wiki default) | ||
+ | |||
+ | These constants are then used in the other CSS files for each theme. There was a thought of making these other files more general to avoid duplicating them, but this required that all of the unaddressed themes be dealt with first. The present editor put that off to another day. | ||
+ | |||
+ | Why would this have to be done? Well, certain elements in the dark themes looked pretty bad. For instance, '' | ||
+ | |||
+ | === Other adjustments === | ||
+ | |||
+ | * The Yeti theme didn't need any of the color tweaks. It did, however insert quite a bit of space between the items in the navbar dropdown menus. These often plunged straight through the browser window. | ||
+ | * The Template Style Settings pages had squished buttons for opening up the color selectors that were too thin to display the current values. | ||
+ | * The [[navigation_plugin]] needed a fix applied to closed nodes in the right sidebars. The text appeared too big and bold. | ||
+ | * Several classes were added for use with the [[wrap_plugin]]. | ||
+ | * One PHP bug was addressed: where the bootswatch themes were listed, Solar had been inserted before Slate rather than after. The relevant files are: | ||
+ | * ''/ | ||
+ | * ''/ | ||
+ | * Other template files were edited to reflect the additions: '' | ||
+ | |||
+ | ==== Harnstrap3 ==== | ||
+ | |||
+ | As Schmootstrap3 is built on Bootstrap3, Harnstrap3 is built on Schmootstrap3. It supplies the following additional changes. | ||
+ | |||
+ | * The Hârn-specific navbar dropdown menus in the '' | ||
+ | * More CSS classes for use with the Wrap plugin were added. These are for formatting the cover-and-credits block on '' | ||
+ | * Other template files were edited to reflect the additions: '' | ||
+ | |||
+ | ===== Extra adjustments ===== | ||
+ | |||
+ | Updates to the template properly confine themselves to the template' | ||
+ | |||
+ | If updating the files present in the wiki, care should be taken not to overwrite any changes made by admins, particularly in Configuration Settings held in '' | ||
+ | |||
+ | ==== Schmootstrap3 extras ==== | ||
+ | |||
+ | * The '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ==== Harnstrap3 extras ==== | ||
+ | |||
+ | * Images for additional smileys are provided. Now that DokuWiki has gone to the '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ===== Archive files ===== | ||
+ | |||
+ | One of these days, the present editor will have to learn how to properly use [[git> | ||
+ | |||
+ | To assemble a fresh template, well, the present editor runs a Python script in the text editor with which he edits these things. Barring that, a procedure like the following should work. | ||
+ | |||
+ | - Create a directory to stand in for the wiki root directory. | ||
+ | - Obtain a copy of the latest Bootstrap3 template and put its contents in ''/ | ||
+ | - Copy that directory to ''/ | ||
+ | - Unzip '' | ||
+ | - If desired, unzip '' | ||
+ | - Copy or rename ''/ | ||
+ | - Unzip '' | ||
+ | - If desired, unzip '' | ||
+ | |||
+ | ==== Downloads ==== | ||
+ | |||
+ | * {{ wiki: | ||
+ | * {{ wiki: | ||
+ | * {{ wiki: | ||
+ | * {{ wiki: | ||