123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360 |
- /**
- * This file provides the main design styles for the
- * bits that surround the content.
- *
- * @author Anika Henke <anika@selfthinker.org>
- * @author Andreas Gohr <andi@splitbrain.org>
- * @author Clarence Lee <clarencedglee@gmail.com>
- */
- .dokuwiki.export {
- background-color: @ini_background;
- }
- /* header
- ********************************************************************/
- #dokuwiki__header {
- padding: 2em 0 1.5em;
- .headings,
- .tools {
- margin-bottom: 1.5em;
- width: 49%;
- }
- .tools {
- margin-top: .2em;
- }
- .logo {
- margin: 0;
- font-size: 1.5em;
- font-weight: normal;
- line-height: 1.2;
- img {
- float: left;
- margin-right: .5em;
- }
- span {
- display: block;
- padding-top: 10px;
- }
- a {
- text-decoration: none;
- color: @ini_text;
- background-color: inherit;
- }
- }
- p.claim {
- margin-bottom: 0;
- font-size: 0.875em;
- }
- /* 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 .logo img {
- float: right;
- margin-left: .5em;
- margin-right: 0;
- }
- /* tools
- ********************************************************************/
- /* highlight selected tool */
- .mode_admin .action.admin a,
- .mode_login .action.login a,
- .mode_register .action.register a,
- .mode_profile .action.profile a,
- .mode_recent .action.recent a,
- .mode_index .action.index a,
- .mode_media .action.media a,
- .mode_revisions .action.revs a,
- .mode_backlink .action.backlink a,
- .mode_subscribe .action.subscribe a {
- font-weight: bold;
- }
- #dokuwiki__header .tools {
- ul {
- padding-left: 0;
- margin-bottom: 0;
- }
- li {
- font-size: 0.875em;
- margin-left: 1em;
- 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__header .mobileTools {
- display: none; /* hide mobile tools dropdown to only show in mobile view */
- }
- /*____________ site tools ____________*/
- #dokuwiki__sitetools {
- text-align: right;
- form.search {
- font-size: 0.875em;
- }
- }
- [dir=rtl] #dokuwiki__sitetools {
- text-align: left;
- }
- form.search {
- display: block;
- position: relative;
- 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;
- }
- }
- /*____________ breadcrumbs ____________*/
- .dokuwiki div.breadcrumbs {
- border-top: 1px solid @ini_border;
- border-bottom: 1px solid @ini_background;
- margin-bottom: .5em;
- font-size: 0.875em;
- clear: both;
- div {
- padding: .1em .35em;
- }
- div:only-child {
- border-top: 1px solid @ini_background;
- border-bottom: 1px solid @ini_border;
- }
- div:first-child {
- border-top: 1px solid @ini_background;
- }
- div:last-child {
- border-bottom: 1px solid @ini_border;
- }
- .bcsep {
- font-size: 0.75em;
- }
- }
- /* sidebar
- ********************************************************************/
- .dokuwiki .aside {
- font-size: 0.875em;
- overflow: hidden;
- word-wrap: break-word;
- /* make sidebar more condensed */
- h1 {
- font-size: 1.714em;
- margin-bottom: .292em;
- }
- h2 {
- margin-bottom: .333em;
- }
- h3 {
- margin-bottom: .444em;
- }
- h4 {
- margin-bottom: .5em;
- }
- h5 {
- margin-bottom: .5714em;
- }
- p,
- ul,
- ol,
- dl,
- pre,
- table,
- fieldset,
- hr,
- blockquote,
- address {
- margin-bottom: .7em;
- }
- ul,
- ol {
- padding-left: .5em;
- }
- li ul,
- li ol {
- margin-bottom: 0;
- padding: 0;
- }
- a:link,
- a:visited {
- color: @ini_link;
- background-color: inherit;
- }
- }
- [dir=rtl] .dokuwiki .aside ul,
- [dir=rtl] .dokuwiki .aside ol {
- padding-right: .5em;
- }
- /* content
- ********************************************************************/
- .dokuwiki .pageId {
- float: right;
- margin-right: -1em;
- margin-bottom: -1px;
- margin-top: -1.5em;
- overflow: hidden;
- padding: 0.5em 1em 0;
- span {
- font-size: 0.875em;
- border: solid @ini_background_alt;
- border-width: 1px 1px 0;
- background-color: @ini_background;
- color: @ini_text_alt;
- padding: .1em .35em;
- border-top-left-radius: 2px;
- border-top-right-radius: 2px;
- //box-shadow: 0 0 .5em @ini_text_alt;
- display: block;
- }
- }
- .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: 5px;
- padding: 1.556em 2em 2em;
- margin-bottom: .5em;
- overflow: hidden;
- word-wrap: break-word;
- }
- .dokuwiki .docInfo {
- font-size: 0.875em;
- text-align: right;
- overflow-wrap: break-word;
- }
- /* 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;
- }
- /* 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;
- }
|