/** * Specific style in article zone. **/ /*____________ Article ____________*/ .dokuwiki div.page { clear: both; background: @ini_background; color: inherit; padding: 0em 2em; overflow: hidden; word-wrap: break-word; } /*____________ TOC ____________*/ #dw__toc { border-color: @ini_neutral3; border-style: solid; border-width: thin; padding-bottom: .5em; margin-bottom: 1em; font-weight: bold; ul { padding: 0; margin: 0; list-style: none; } ul .toc li { list-style-type: decimal; } a { text-decoration:none; } } /* in case of toc list jumping one level (e.g. if heading level 3 follows directly after heading level 1) */ #dw__toc ul li.clear { } .toc .level1 .li { text-align:center; font-size:3em; } .toc .level2 .li, .toc .level3 .li, .toc .level4 .li, .toc .level5 .li { text-align: inherit !important; font-size: 1em; } .dokuwiki h3.toggle { padding: 0; margin: 0; padding: .2em .5em; } .dokuwiki .dw__toc h3.toggle { padding: .2em .5em; display: flex; align-items: center; flex-direction: row-reverse; justify-content: space-between; } .dokuwiki .dw__toc h3.toggle::before { content:none; } .dokuwiki .toggle strong { /*float: right;*/ margin: 0 .2em; font-size: 1.5em; /*position: absolute; right: 1em;*/ display:flex; flex-direction:row-reverse; } [dir=rtl] .dokuwiki .toggle strong { float: left; } /*____________ Article Title ____________*/ /*__ Style pur __*/ .kharticle h1 { font-size: 2.2em; margin: 0 0 0.444em; border-bottom: 1px solid @ini_neutral2; color: @ini_title_color; } .kharticle h2 { font-size: 1.9em; margin: 0 0 0.666em; border-bottom: 1px solid @ini_neutral2; color: @ini_title_color; } .kharticle h3 { font-size: 1.65em; margin: 0 0 0.888em; color: @ini_title_color; } .kharticle h4 { font-size: 1.3em; margin: 0 0 1.0em; color: @ini_title_color; } .kharticle h5 { font-size: 1em; margin: 0 0 1.1428em; color: @ini_title_color; } .kharticle h6 { font-size: .75em; margin: 0 0 1.333em; color: @ini_title_color; } /*__ Incrémentation des titres __*/ .page { counter-reset: sectionh2 sectionh3 sectionh4 sectionh5; h1 { counter-set: sectionh2 0 sectionh3 0 sectionh4 0 sectionh5 0; } h2 { counter-increment: sectionh2; counter-set: sectionh3 0 sectionh4 0 sectionh5 0; &:before { content: counter(sectionh2) ". "; } } h3 { counter-increment: sectionh3; counter-set: sectionh4 0 sectionh5 0; &:before { content: counter(sectionh2) "." counter(sectionh3) ". "; } } h4 { counter-increment: sectionh4; counter-set: sectionh5 0; &:before { content: counter(sectionh2) "." counter(sectionh3) "." counter(sectionh4) ". "; } } h5 { counter-increment: sectionh5; &:before { content: counter(sectionh2) "." counter(sectionh3) "." counter(sectionh4) "." counter(sectionh5) ". "; } } } /*____________ Footer and DocInfo ____________*/ .article_footer { display:flex; justify-content: space-between; margin:0 1.5em; } .dokuwiki .docInfo { font-size: 0.875em; text-align: right; padding: .1em 0em; border-radius: 5px; /* contrast for accessibility */ color: @ini_neutraldark; }