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 11:39 GMT] – [Dokuwiki Template monospace font] 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< | + | |
- | + | ||
- | <code css> | + | |
- | pre, | + | |
- | code, | + | |
- | samp, | + | |
- | kbd { | + | |
- | font-family: | + | |
- | /* same font stack should be used for " | + | |
- | font-size: 1em; | + | |
- | direction: ltr; | + | |
- | 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' | * the colour of the mono font is the same as general text and doesn' | ||
- | * edit ''/ | + | * edit ''/ |
- | * reset the border radius | + | * but see below for a better place to do the configuraiton |
+ | |||
<code css> | <code css> | ||
code { | code { | ||
Line 245: | Line 273: | ||
</ | </ | ||
- | | ||
* To prevent upgrades overwriting these changes - add them to ''/ | * To prevent upgrades overwriting these changes - add them to ''/ | ||
+ | * '' | ||
+ | * '' | ||
Line 254: | Line 282: | ||
pre { | pre { | ||
border-radius: | border-radius: | ||
+ | | ||
+ | |||
} | } | ||
public/computers/dokuwiki_tweaks.1741433993.txt.gz · Last modified: 08/03/25 11:39 GMT by john