123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420 |
- /**
- * This file provides the main design styles for the page content.
- *
- * @author Anika Henke <anika@selfthinker.org>
- * @author Andreas Gohr <andi@splitbrain.org>
- * @author Clarence Lee <clarencedglee@gmail.com>
- */
- /*____________ section indenting ____________
- .dokuwiki .page h1 {margin-left: 0;}
- .dokuwiki .page h2 {margin-left: .666em;}
- .dokuwiki .page h3 {margin-left: 1.776em;}
- .dokuwiki .page h4 {margin-left: 3em;}
- .dokuwiki .page h5 {margin-left: 4.5712em;}
- .dokuwiki .page div.level1 {margin-left: 0;}
- .dokuwiki .page div.level2 {margin-left: 1em;}
- .dokuwiki .page div.level3 {margin-left: 2em;}
- .dokuwiki .page div.level4 {margin-left: 3em;}
- .dokuwiki .page div.level5 {margin-left: 4em;}
- [dir=rtl] .dokuwiki .page h1 {margin-left: 0; margin-right: 0;}
- [dir=rtl] .dokuwiki .page h2 {margin-left: 0; margin-right: .666em;}
- [dir=rtl] .dokuwiki .page h3 {margin-left: 0; margin-right: 1.776em;}
- [dir=rtl] .dokuwiki .page h4 {margin-left: 0; margin-right: 3em;}
- [dir=rtl] .dokuwiki .page h5 {margin-left: 0; margin-right: 4.5712em;}
- [dir=rtl] .dokuwiki .page div.level1 {margin-left: 0; margin-right: 0;}
- [dir=rtl] .dokuwiki .page div.level2 {margin-left: 0; margin-right: 1em;}
- [dir=rtl] .dokuwiki .page div.level3 {margin-left: 0; margin-right: 2em;}
- [dir=rtl] .dokuwiki .page div.level4 {margin-left: 0; margin-right: 3em;}
- [dir=rtl] .dokuwiki .page div.level5 {margin-left: 0; margin-right: 4em;}
- */
- /* hx margin-left = (1 / font-size) * .levelx-margin */
- /*____________ links to wiki pages (addition to _links) ____________*/
- /* existing wikipage */
- .dokuwiki a.wikilink1 {
- color: @ini_existing;
- background-color: inherit;
- }
- /* not existing wikipage */
- .dokuwiki a.wikilink2 {
- color: @ini_missing;
- background-color: inherit;
- }
- /*____________ images ____________*/
- /* embedded images (styles are already partly set in lib/styles/all.css) */
- .dokuwiki img.media {
- margin: .2em 0;
- }
- .dokuwiki img.medialeft {
- margin: .2em 1em .2em 0;
- }
- .dokuwiki img.mediaright {
- margin: .2em 0 .2em 1em;
- }
- .dokuwiki img.mediacenter {
- margin: .2em auto;
- }
- /*____________ lists ____________*/
- .dokuwiki .page,
- .dokuwiki .aside {
- ul li {
- color: @ini_text_alt;
- }
- ol li {
- color: @ini_text_neu;
- }
- li .li {
- color: @ini_text;
- }
- }
- /*____________ tables ____________*/
- /* div around each table */
- .dokuwiki div.table {
- overflow-x: auto;
- margin-bottom: 1.4em;
- min-width: 50%;
- }
- .dokuwiki div.table table {
- margin-bottom: 0;
- }
- .dokuwiki table.inline {
- min-width: 50%;
- }
- .dokuwiki table.inline tr:hover td {
- background-color: @ini_background_alt;
- }
- .dokuwiki table.inline tr:hover th {
- background-color: @ini_border;
- }
- /*____________ code ____________*/
- /* fix if background-color hides underlining */
- .dokuwiki em.u code {
- text-decoration: underline;
- }
- /* filenames for downloadable file and code blocks */
- .dokuwiki dl.code,
- .dokuwiki dl.file {
- dt {
- background-color: @ini_background_site;
- background: linear-gradient(to bottom, @ini_background_alt 0%, @ini_background_site 100%);
- color: inherit;
- border: 1px solid @ini_border;
- border-bottom-color: @ini_background_site;
- border-top-left-radius: .3em;
- border-top-right-radius: .3em;
- padding: .3em .6em .1em;
- margin-bottom: -1px;
- float: left;
- a {
- background-color: transparent;
- font-size: 0.875em;
- font-weight: normal;
- display: block;
- min-height: 16px;
- }
- }
- dd {
- margin: 0;
- clear: left;
- }
- pre {
- box-shadow: inset -4px -4px .5em -.3em @ini_border;
- }
- }
- [dir=rtl] .dokuwiki dl.code,
- [dir=rtl] .dokuwiki dl.file {
- dt {
- float: right;
- }
- dd {
- clear: right;
- }
- }
- /* for code in <file> */
- .dokuwiki dl.file {
- pre,
- dt {
- border-style: dashed;
- }
- dt {
- border-bottom-style: solid;
- }
- }
- /*____________ JS popup ____________*/
- .JSpopup {
- background-color: @ini_background;
- color: @ini_text;
- border: 1px solid @ini_border;
- //box-shadow: .1em .1em .1em @ini_border;
- border-radius: 2px;
- padding: .3em .5em;
- font-size: .9em;
- }
- .dokuwiki form.search div.ajax_qsearch {
- top: -.35em;
- font-size: 1em;
- text-overflow: ellipsis;
- }
- .JSpopup ul,
- .JSpopup ol {
- padding-left: 0;
- }
- [dir=rtl] .JSpopup ul,
- [dir=rtl] .JSpopup ol {
- padding-right: 0;
- }
- /* changes to underscored CSS files
- ********************************************************************/
- #acl__tree li {
- margin: 0;
- }
- #dokuwiki__content span.curid a {
- font-weight: normal;
- }
- #dokuwiki__content strong span.curid a {
- font-weight: bold;
- }
- /*____________ changes to _edit ____________*/
- .dokuwiki div.toolbar {
- button.toolbutton {
- background-color: transparent !important;
- border: 1px solid #11344C;
- border-radius: 5px;
- padding: .1em .35em;
- }
- button.toolbutton:first-child {
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
- border-left-width: 1px;
- background-color: transparent !important;
- border: 1px solid #11344C;
- border-radius: 5px;
- }
- button.toolbutton:last-child {
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
- background-color: transparent !important;
- border: 1px solid #11344C;
- border-radius: 5px;
- }
- }
- [dir=rtl] .dokuwiki div.toolbar {
- button.toolbutton:last-child {
- border-top-left-radius: 4px;
- border-bottom-left-radius: 4px;
- border-top-right-radius: 0;
- border-bottom-right-radius: 0;
- border-left-width: 1px;
- background-color: transparent !important;
- border: 1px solid #11344C;
- border-radius: 5px;
- }
- button.toolbutton:first-child {
- border-top-left-radius: 0;
- border-bottom-left-radius: 0;
- border-top-right-radius: 4px;
- border-bottom-right-radius: 4px;
- border-left-width: 0;
- border-right-width: 1px;
- background-color: transparent !important;
- border: 1px solid #11344C;
- border-radius: 5px;
- }
- }
- .dokuwiki div.section_highlight {
- margin: 0 -2em;
- padding: 0 1em;
- border-width: 0 1em;
- }
- .dokuwiki textarea.edit {
- font-family: Consolas, "Andale Mono WT", "Andale Mono", "Bitstream Vera Sans Mono", "Nimbus Mono L", Monaco, "Courier New", monospace;
- }
- .dokuwiki div.preview {
- margin: 0 -2em;
- padding: 0 2em;
- }
- .dokuwiki.hasSidebar div.preview {
- border-right: @ini_sidebar_width solid @ini_background_alt;
- }
- [dir=rtl] .dokuwiki.hasSidebar div.preview {
- border-right-width: 0;
- border-left: @ini_sidebar_width solid @ini_background_alt;
- }
- .dokuwiki div.preview div.pad {
- padding: 1.556em 0 2em;
- }
- /*____________ changes to _toc ____________*/
- #dw__toc {
- margin: -1.556em -2em .5em 1.4em;
- width: @ini_sidebar_width;
- border-left: 1px solid @ini_border;
- background: @ini_background;
- color: inherit;
- }
- [dir=rtl] #dw__toc {
- margin: -1.556em 1.4em .5em -2em;
- border-left-width: 0;
- border-right: 1px solid @ini_border;
- }
- .dokuwiki.export #dw__toc {
- margin-top: 0;
- margin-right: 0;
- }
- [dir=rtl] .dokuwiki.export #dw__toc {
- margin-top: 0;
- margin-left: 0;
- }
- .dokuwiki h3.toggle {
- padding: .5em 1em;
- margin-bottom: 0;
- font-size: .875em;
- letter-spacing: .1em;
- }
- #dokuwiki__aside h3.toggle {
- display: none;
- }
- .dokuwiki .toggle strong {
- background: transparent url(images/toc-arrows.png) 0 0;
- width: 8px;
- height: 5px;
- margin: .4em 0 0;
- }
- .dokuwiki .toggle.closed strong {
- background-position: 0 -5px;
- }
- .dokuwiki .toggle strong span {
- display: none;
- }
- #dw__toc {
- > div {
- font-size: 0.875em;
- padding: .5em 1em 1em;
- }
- ul {
- padding: 0 0 0 1.2em;
- li {
- list-style-image: url(images/toc-bullet.png);
- }
- }
- ul li.clear {
- list-style: none;
- }
- ul li div.li {
- padding: .2em 0;
- }
- }
- [dir=rtl] #dw__toc ul {
- padding: 0 1.5em 0 0;
- }
- /*____________ changes to _imgdetail ____________*/
- #dokuwiki__detail {
- padding: 0;
- img {
- float: none;
- margin-bottom: 1.4em;
- }
- div.img_detail {
- float: none;
- }
- div.img_detail dl {
- overflow: hidden;
- }
- div.img_detail dl dt {
- float: left;
- width: 9em;
- text-align: right;
- clear: left;
- }
- div.img_detail dl dd {
- margin-left: 9.5em;
- }
- }
- [dir=rtl] #dokuwiki__detail div.img_detail {
- dl dt {
- float: right;
- text-align: left;
- clear: right;
- }
- dl dd {
- margin-left: 0;
- margin-right: 9.5em;
- }
- }
|