diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tpl/default/design.css | 41 |
1 files changed, 36 insertions, 5 deletions
diff --git a/lib/tpl/default/design.css b/lib/tpl/default/design.css index 63c86d36b..c3591fc67 100644 --- a/lib/tpl/default/design.css +++ b/lib/tpl/default/design.css @@ -481,16 +481,47 @@ div.dokuwiki pre.code { background-color: __background_other__; } -/* inline code words */ -div.dokuwiki code { - font-size: 120%; -} - /* code blocks by file tag */ div.dokuwiki pre.file { background-color: __background_alt__; } +/* filenames for file and code blocks */ +div.dokuwiki dl.file, +div.dokuwiki dl.code { + margin-top: 2em; + margin-bottom: 2.5em; +} + +div.dokuwiki dl.file dt, +div.dokuwiki dl.code dt { + border: 1px dashed __border__; + display: inline; + padding: 0.1em 1em; + margin-left: 2em; +} + +div.dokuwiki dl.code dt a, +div.dokuwiki dl.file dt a { + color: __text__; +} + +div.dokuwiki dl.code dt { + background-color: __background_other__; + border-bottom: 1px solid __background_other__; +} + +div.dokuwiki dl.file dt { + background-color: __background_alt__; + border-bottom: 1px solid __background_alt__; +} + + +/* inline code words */ +div.dokuwiki code { + font-size: 120%; +} + /* inline tables */ div.dokuwiki table.inline { background-color: __background__; |