public:computers:dokuwiki_tweaks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:computers:dokuwiki_tweaks [08/03/25 06:40 GMT] – [Remove Dokuwiki template footer buttons] john | public: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: | ||
| + | |||
| + | ''/ | ||
| + | |||
| + | * add any modified tweaks to the CSS to a '' | ||
| + | |||
| + | * '' | ||
| + | |||
| + | <code css> | ||
| + | pre { | ||
| + | border-radius: | ||
| + | background-color: | ||
| + | } | ||
| + | |||
| + | |||
| + | code { | ||
| + | color: #c72522; | ||
| + | font-size: 1.1em; | ||
| + | padding: 0.1em 0.3em; | ||
| + | border-radius: | ||
| + | } | ||
| + | |||
| + | |||
| + | .dokuwiki .aside { | ||
| + | font-size: 90%; | ||
| + | } | ||
| + | |||
| + | |||
| + | body { | ||
| + | font-size: 90%; | ||
| + | |||
| + | } | ||
| + | .dokuwiki div.breadcrumbs { | ||
| + | font-size: 90%; | ||
| + | } | ||
| + | |||
| + | </ | ||
| + | |||
| + | See also [[#Dokuwiki Template monospace font]] | ||
| + | ==== Dokuwiki Template Tagline ==== | ||
| + | |||
| + | < | ||
| + | <p style=" | ||
| + | </ | ||
| ===== Dokuwiki Timezone ===== | ===== Dokuwiki Timezone ===== | ||
| Line 212: | Line 258: | ||
| ===== Dokuwiki Template monospace font ===== | ===== Dokuwiki Template monospace font ===== | ||
| - | * 1< | + | |
| + | * the colour of the mono font is the same as general text and doesn' | ||
| + | * edit ''/ | ||
| + | * but see below for a better place to do the configuraiton | ||
| + | | ||
| <code css> | <code css> | ||
| - | pre, | + | code { |
| - | code, | + | |
| - | samp, | + | font-size: |
| - | kbd { | + | |
| - | | + | border-radius: |
| - | /* same font stack should be used for " | + | |
| - | font-size: 1em; | + | |
| - | | + | |
| - | text-align: left; | + | |
| - | background-color: | + | |
| - | color: @ini_text; | + | |
| - | box-shadow: inset 0 0 .3em @ini_border; | + | |
| - | border-radius: | + | |
| } | } | ||
| </ | </ | ||
| - | * the colour of the mono font is the same as general text and doesn' | + | * To prevent upgrades overwriting these changes - add them to ''/ |
| - | * edit ''/ | + | * '' |
| - | * reset the border radius for mono-blocks | + | * '' |
| <code css> | <code css> | ||
| + | pre { | ||
| + | border-radius: | ||
| + | | ||
| + | |||
| + | } | ||
| + | |||
| code { | code { | ||
| color: #c72522; | color: #c72522; | ||
| font-size: 1.1em; | font-size: 1.1em; | ||
| padding: 0.1em 0.3em; | padding: 0.1em 0.3em; | ||
| - | border-radius: | + | border-radius: |
| } | } | ||
| - | </ | ||
| - | | + | </ |
| ===== Remove Dokuwiki template footer buttons ===== | ===== Remove Dokuwiki template footer buttons ===== | ||
| Line 253: | Line 301: | ||
| - | <code > | + | < |
| <?php | <?php | ||
| /** | /** | ||
| Line 271: | Line 319: | ||
| < | < | ||
| - | < | + | < |
| + | <div class=" | ||
| <?php | <?php | ||
| tpl_license(' | tpl_license(' | ||
public/computers/dokuwiki_tweaks.1741416016.txt.gz · Last modified: by john
