1/**
2 * Specific style in article zone.
3**/
4
5/*____________ Article ____________*/
6
7.dokuwiki div.page {
8    clear: both;
9    background: @ini_background;
10    color: inherit;
11    padding: 0em 2em;
12    overflow: hidden;
13    word-wrap: break-word;
14}
15
16/*____________ TOC ____________*/
17#dw__toc {
18    border-color: @ini_neutral3;
19    border-style: solid;
20    border-width: thin;
21	padding-bottom: .5em;
22	margin-bottom: 1em;
23	font-weight: bold;
24
25	ul {
26		padding: 0;
27		margin: 0;
28		list-style: none;
29	}
30	ul .toc li {
31		list-style-type: decimal;
32	}
33	a {
34		text-decoration:none;
35	}
36}
37/* in case of toc list jumping one level
38  (e.g. if heading level 3 follows directly after heading level 1) */
39#dw__toc ul li.clear {
40}
41
42.toc .level1 .li {
43	text-align:center;
44	font-size:3em;
45}
46
47.toc .level2 .li, .toc .level3 .li, .toc .level4 .li, .toc .level5 .li {
48	text-align: inherit !important;
49	font-size: 1em;
50}
51
52.dokuwiki h3.toggle {
53	padding: 0;
54	margin: 0;
55	padding: .2em .5em;
56}
57
58.dokuwiki .dw__toc h3.toggle {
59	padding: .2em .5em;
60	display: flex;
61	align-items: center;
62	flex-direction: row-reverse;
63	justify-content: space-between;
64}
65
66.dokuwiki .dw__toc h3.toggle::before {
67	content:none;
68}
69
70.dokuwiki .toggle strong {
71    /*float: right;*/
72    margin: 0 .2em;
73	font-size: 1.5em;
74	/*position: absolute;
75	right: 1em;*/
76		display:flex;
77	flex-direction:row-reverse;
78}
79[dir=rtl] .dokuwiki .toggle strong {
80    float: left;
81}
82/*____________ Article Title ____________*/
83
84
85.kharticle h1 {
86    font-size: 2.2em;
87    margin: 0 0 0.444em;
88    border-bottom: 1px solid @ini_neutral2;
89    counter-reset: sectionh2 sectionh3 sectionh4;
90	color: @ini_title_color;
91}
92.kharticle h2:before {
93	content: counter(sectionh2) ". ";
94}
95.kharticle h2 {
96    font-size: 1.9em;
97    margin: 0 0 0.666em;
98    border-bottom: 1px solid @ini_neutral2;
99    counter-increment: sectionh2;
100    counter-reset: sectionh3;
101	color: @ini_title_color;
102}
103.kharticle h3:before {
104	content: counter(sectionh2) "." counter(sectionh3) ". " ;
105}
106.kharticle h3 {
107    font-size: 1.65em;
108    margin: 0 0 0.888em;
109    counter-increment: sectionh3;
110    counter-reset: sectionh4;
111	color: @ini_title_color;
112}
113
114.kharticle h4:before {
115	content: counter(sectionh2) "." counter(sectionh3) "." counter(sectionh4) "." ;
116}
117.kharticle h4 {
118    font-size: 1.3em;
119    margin: 0 0 1.0em;
120    counter-increment: sectionh4;
121	counter-reset: sectionh5;
122	color: @ini_title_color;
123}
124
125.kharticle h5:before {
126	content: counter(sectionh2) "." counter(sectionh3) "." counter(sectionh4) "." counter(sectionh5) ". " ;
127}
128
129.kharticle h5 {
130    font-size: 1em;
131    margin: 0 0 1.1428em;
132	counter-increment: sectionh5;
133    counter-reset: sectionh6;
134	color: @ini_title_color;
135}
136.kharticle h6 {
137    font-size: .75em;
138    margin: 0 0 1.333em;
139	color: @ini_title_color;
140}
141
142/*____________ Footer and DocInfo ____________*/
143.article_footer {
144	display:flex;
145	justify-content: space-between;
146	margin:0 1.5em;
147}
148
149.dokuwiki .docInfo {
150    font-size: 0.875em;
151    text-align: right;
152	padding: .1em 0em;
153	border-radius: 5px;
154	/* contrast for accessibility */
155	color: @ini_neutraldark;
156}
157