diff --git a/css/plugins/translation.less b/css/plugins/translation.less new file mode 100644 index 0000000..f777b93 --- /dev/null +++ b/css/plugins/translation.less @@ -0,0 +1,32 @@ +/** + * This file provides styles for the translation plugin + */ + + +.dokuwiki div.plugin_translation { + clear: none; + display: block; + position: relative; + float: none; + + + * { + clear: both; + padding-top: 1em; // as h1 + } + + ul li { + a.wikilink1:link, + a.wikilink1:hover, + a.wikilink1:active, + a.wikilink1:visited { + background-color: @ini_link; + } + } +} + +@media @screen_max-md { + .dokuwiki div.plugin_translation { + clear: both; + margin-top: 1rem; + } +} diff --git a/main.php b/main.php index 10980a5..b540656 100755 --- a/main.php +++ b/main.php @@ -347,6 +347,13 @@ $classWideContent = (Template::getInstance())->fullWidthClass(); echo $highlightParent->tpl(); } ?> + showTranslations(); + } + ?>
diff --git a/style.ini b/style.ini index d487ac6..66ea444 100755 --- a/style.ini +++ b/style.ini @@ -118,6 +118,7 @@ css/plugins/sitemapnavi.less = all css/plugins/data.less = all css/plugins/fastwiki.less = all css/plugins/tplinc.less = all +css/plugins/translation.less = all ; _____________ print styles _____________