John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:computers:dokuwiki_tweaks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:computers:dokuwiki_tweaks [08/03/25 11:41 GMT] – [Dokuwiki Template monospace font] johnpublic:computers:dokuwiki_tweaks [09/03/25 09:29 GMT] (current) – [Dokuwiki Template CSS] john
Line 3: Line 3:
 ====== DokuWiki Tweaks ====== ====== DokuWiki Tweaks ======
  
 +===== Dokuwiki Template CSS =====
 +
 +Standard settings for font sizes etc. for different elements is here:
 +
 +''/var/www/html/dokuwiki/lib/tpl/dokuwiki/css/design.less''
 +
 +  * add any modified tweaks to the CSS to a ''userstyle.css'' i.e. ''/var/www/html/dokuwiki/conf/userstyle.css''
 + 
 +    * ''font-size'' etc
 +
 +<code css>
 +pre {
 +        border-radius: 10px;
 +        background-color: #fcffff
 +}
 +
 +
 +code {
 +    color: #c72522;
 +    font-size: 1.1em;
 +    padding: 0.1em 0.3em;
 +    border-radius: 0px;
 +    }
 +
 +
 +.dokuwiki .aside {
 +    font-size: 90%;
 +    }
 +
 +
 +body {
 +    font-size: 90%;
 +
 +}
 +.dokuwiki div.breadcrumbs {
 +    font-size: 90%;
 +    }
 +
 +</code>
 +
 +See also [[#Dokuwiki Template monospace font]]
 +==== Dokuwiki Template Tagline ====
 +
 +<code>
 +<p style="font-size:12px;background-color:#a5e4fa;">Try to learn <b><i>something</i></b> about everything, and <b><i>everything</i></b> about something <br> <i> -Thomas Huxley “Darwin's bulldog” (1824-1895)</i></p>
 +</code>
 ===== Dokuwiki Timezone ===== ===== Dokuwiki Timezone =====
  
Line 215: Line 261:
  
   * the colour of the mono font is the same as general text and doesn't stand out as well as in other templates.   * the colour of the mono font is the same as general text and doesn't stand out as well as in other templates.
-  * edit ''/var/www/html/dokuwiki/lib/tpl/dokuwiki/css/basic.less'' with a hex code for a better colour.+  * edit ''/var/www/html/dokuwiki/lib/tpl/dokuwiki/css/basic.less'' with a hex code for a better colour 
 +    * but see below for a better place to do the configuraiton
      
 <code css> <code css>
Line 228: Line 275:
  
   * To prevent upgrades overwriting these changes - add them to ''/var/www/html/dokuwiki/conf/userstyle.css''   * To prevent upgrades overwriting these changes - add them to ''/var/www/html/dokuwiki/conf/userstyle.css''
-  * ''pre'' relates to the blocks of '<code>' +  * ''pre'' relates to the blocks of %%<code> ////// </code> %% 
-  * ''code'' relates to monospaced text+  * ''code'' relates to ''monospaced text''
  
  
Line 235: Line 282:
 pre { pre {
         border-radius: 10px;         border-radius: 10px;
 +         background-color: #fcffff
 +
 } }
  
public/computers/dokuwiki_tweaks.1741434108.txt.gz · Last modified: 08/03/25 11:41 GMT by john