/** * This file provides the main design styles for the * bits that surround the content. * * @author Anika Henke * @author Andreas Gohr * @author Clarence Lee */ /* header ********************************************************************/ #dokuwiki__header { .headings, .tools { margin-top: .2em; } h1 { margin: 0; font-size: 1.5em; font-weight: normal; text-align: center; img { margin-right: .5em; width:100%; } span { display: block; padding-top: 10px; } a { text-decoration: none; color: @ini_text; background-color: inherit; } } p.claim { margin-bottom: 0; font-size: 1.5em; text-align: center; font-weight: bold; } /* make all links in header (including breadcrumb and interwiki) same colour as the rest */ a { color: @ini_link; background-color: inherit; } } [dir=rtl] #dokuwiki__header h1 img { /* float: right; */ margin-left: .5em; margin-right: 0; } /* tools ********************************************************************/ /* highlight selected tool */ .mode_admin a.action.admin, .mode_login a.action.login, .mode_register a.action.register, .mode_profile a.action.profile, .mode_recent a.action.recent, .mode_index a.action.index, .mode_media a.action.media, .mode_revisions a.action.revs, .mode_backlink a.action.backlink, .mode_subscribe a.action.subscribe { font-weight: bold; } #dokuwiki__header .tools { ul { padding-left: 0; margin-bottom: 0; } li { font-size: 0.875em; margin-left: 0.5em; list-style: none; display: inline; } form.search div.ajax_qsearch li { font-size: 1em; margin-left: 0; display: block; overflow: hidden; text-overflow: ellipsis; } } [dir=rtl] #dokuwiki__header .tools li { margin-right: 1em; margin-left: 0; } #dokuwiki__usertools a.action, [dir=rtl] #dokuwiki__usertools a.action { padding: 0; } #dokuwiki__header .mobileTools { display: none; /* hide mobile tools dropdown to only show in mobile view */ } /*____________ user tools ____________*/ #dokuwiki__usertools { top: .5em; right: .5em; text-align: right; width: 49%; float: right; ul { margin: 0 auto; padding: 0; max-width: @ini_site_width; } a.action.admin { background-position: left 0; } a.iw_user, a.action.profile { background-position: left -32px; } a.action.register { background-position: left -64px; } a.action.login { background-position: left -96px; } a.action.logout { background-position: left -128px; } } [dir=rtl] #dokuwiki__usertools { text-align: left; left: 40px; right: auto; a.action.admin { background-position: right 0; } a.action.profile { background-position: right -32px; } a.action.register { background-position: right -64px; } a.action.login { background-position: right -96px; } a.action.logout { background-position: right -128px; } } /*____________ site tools ____________*/ #dokuwiki__sitetools { width:49%; form.search { font-size: 0.875em; } } [dir=rtl] #dokuwiki__sitetools { text-align: left; } form.search { display: block; position: relative; float:right; margin-bottom: 0.5em; input { width: 18em; padding: .35em 22px .35em .1em; } button { background: transparent url(images/search.png) no-repeat 0 0; border-width: 0; width: 19px; height: 14px; text-indent: -99999px; margin-left: -20px; box-shadow: none; padding: 0; } } [dir=rtl] form.search { input { padding: .35em .1em .35em 22px; } button { background-position: 5px 0; margin-left: 0; margin-right: -20px; position: relative; } } /*____________search_________________*/ .dokuwiki div.searchlang { float: right; width: 29%; } .dokuwiki div.plugin_translation { color: green; display: inline; } .dokuwiki div.bread_here { float: left; display: inline-block; width:68%; } /* sidebar ********************************************************************/ .dokuwiki .aside { background-color: @ini_background; border-radius: 5px; } .dokuwiki .aside { a:link, a:visited, strong.li { color: @ini_link; padding:0.5em; display: block; } strong.li a { display: inline; padding: 0; } a:hover, a:focus { color: @ini_link_alt; background-color: @ini_background_alt; border-radius: 5px; } } .dokuwiki .aside ul { z-index: 0; list-style-type: none; margin: 0; padding: 0; font-weight: bold !important; } .dokuwiki .aside ul li { margin: 0; padding: 0; float: left; line-height: 1.25em; } .dokuwiki .aside ul li div.li { font-weight: bold !important; } .dokuwiki .aside ul ul { position: absolute; visibility: hidden; opacity: 0; transition: visibility 0s linear 0.5s, opacity 0.5s linear; width: auto; background-color: __background_alt__; margin: 0; padding: 0 0 0.25em 0; } .dokuwiki .aside ul ul li { float: none; padding: 1px 0.5em 0 0.5em; margin-right: 0 !important; } .dokuwiki .aside ul ul li div.li { font-weight: normal !important; } .dokuwiki .aside ul ul ul { top: -1px; left: 99.5%; } .dokuwiki .aside ul li:hover > ul { visibility: visible; opacity: 1; transition-delay: 0s; } /* content ********************************************************************/ .dokuwiki div.page { clear: both; background: @ini_background; color: inherit; border: 1px solid @ini_background_alt; box-shadow: 0 0 .5em @ini_text_alt; border-radius: 2px; padding: 1.556em 2em 2em; margin-bottom: .5em; overflow: hidden; word-wrap: break-word; } .dokuwiki .docInfo { font-size: 0.875em; text-align: right; } /* license note under edit window */ .dokuwiki div.license { font-size: 93.75%; } [dir=rtl] .dokuwiki .docInfo { text-align: left; } [dir=rtl] .dokuwiki .pageId { float: left; margin-left: -1em; margin-right: 0; } /* Breadcrumbs ********************************************************************/ .breadsearch { padding-bottom: 2em; position: relative; } /* toolszenith ********************************************************************/ .toolszenith { position: relative; padding-top: 2em; } /* pagetools ********************************************************************/ #dokuwiki__pagetoolszenith { padding:1%; .headings, .tools { margin-top: .2em; position: relative; } h1 { margin: 0; font-size: 1.5em; font-weight: normal; text-align: center; img { margin-right: .5em; width:100%; } span { display: block; padding-top: 10px; } a { text-decoration: none; color: @ini_text; background-color: inherit; } } /* make all links in header (including breadcrumb and interwiki) same colour as the rest */ a { color: @ini_link; background-color: inherit; } } [dir=rtl] #dokuwiki__pagetoolszenith h1 img { /* float: right; */ margin-left: .5em; margin-right: 0; } #dokuwiki__pagetoolszenith .tools { ul { padding-left: 0; margin-bottom: 0; } li { font-size: 0.875em; margin-left: 0.5em; list-style: none; display: inline; } form.search div.ajax_qsearch li { font-size: 1em; margin-left: 0; display: block; overflow: hidden; text-overflow: ellipsis; } } [dir=rtl] #dokuwiki__pagetoolszenith .tools li { margin-right: 1em; margin-left: 0; } #dokuwiki__pagetoolszenith .mobileTools { display: none; /* hide mobile tools dropdown to only show in mobile view */ } /* footer ********************************************************************/ .dokuwiki .wrapper { margin-bottom: 1.4em; } #dokuwiki__footer { margin-bottom: 1em; text-align: center; > .pad { font-size: 0.875em; } div.license { margin-bottom: 0.5em; font-size: 100%; } div.buttons a { img { opacity: 0.5; } &:hover img, &:active img, &:focus img { opacity: 1; } } } [dir=rtl] #dokuwiki__footer .license img { margin: 0 0 0 .5em; }