xref: /template/kiwiki/css/mobile.css (revision ced2e461afa984ef80ee8230228ddac6325a1cad)
1/**
2 * This file provides style changes for small screens.
3 */
4
5@media only screen and (min-width: 951px) {
6  #kiwiki nav.tools > div#open-search {
7    display: none;
8  }
9
10  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper a.wikilogo {
11    gap:15px;
12  }
13}
14
15@media only screen and (max-width: 950px) {
16
17  #kiwiki h1 {
18    font-size: 1.9rem;
19  }
20  #kiwiki h2 {
21    font-size: 1.6rem;
22  }
23  #kiwiki h3 {
24    font-size: 1.3em;
25  }
26
27  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper .wikilogo {
28   gap:5px;
29  }
30  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper .wikilogo img {
31    height: 40px;
32    min-width: 40px;
33  }
34  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper .wikilogo .logo-img{
35    height: 40px;
36  }
37  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper a.wikilogo > div {
38    font-size:14px;
39    letter-spacing: 0;
40  }
41  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper #dw__search {
42    order: 3;
43    min-width: initial;
44    padding-bottom: 10px;
45    display: none;
46    width: 100%;
47  }
48  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper #dw__search.open {
49    display: block;
50    width: 100%;
51  }
52  #kiwiki #dokuwiki__header {
53    padding: 0 5px;
54    margin: 0;
55  }
56  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper {
57    flex-wrap: wrap;
58    gap: 0;
59  }
60  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper .group {
61    order: 1;
62  }
63  #kiwiki #dokuwiki__header > .dokuwiki__header__wrapper nav {
64    order: 2;
65    flex-wrap: nowrap;
66    gap: 8px;
67  }
68  #kiwiki nav.tools > div > strong svg {
69    width: 24px;
70    height: 24px;
71  }
72  #dokuwiki__pagetools {
73    position: absolute;
74    cursor: pointer;
75    right: 10px;
76    top: 10px;
77  }
78  #kiwiki nav.tools > div#dokuwiki__pagetools > ul {
79    right: -35px;
80  }
81
82  #kiwiki .before-content > .breadcrumbs {
83    margin: 10px auto;
84    padding: 0 50px;
85    width: fit-content;
86  }
87  #kiwiki .kiwiki_aside{
88    width: 100%;
89    float: none;
90    margin-bottom:0;
91    order: 1;
92    z-index: 8;
93    position: sticky;
94    top: 0;
95  }
96  #kiwiki .kiwiki_aside .dokuwiki__aside_wrapper {
97    gap: 0;
98    flex-direction: column-reverse;
99  }
100  #kiwiki #dokuwiki__site #dokuwiki__top #dokuwiki__content__wrapper {
101    position: relative;
102  }
103
104
105  #kiwiki .kiwiki_aside .dokuwiki__aside_wrapper #dw__toc {
106    position: sticky;
107    width: 100%;
108    top:0;
109  }
110
111  #kiwiki .kiwiki_aside  .dokuwiki__aside_wrapper > div {
112    padding: 0;
113    overflow: hidden;
114    display: flex;
115    flex-direction: column;
116  }
117
118  #kiwiki .kiwiki_aside h3 {
119    font-size: 18px;
120    padding: 10px 5px;
121    text-transform: uppercase;
122  }
123  #kiwiki .kiwiki_aside .dokuwiki__aside_wrapper > div.kiwiki-sidebar
124   {
125    display: none;
126  }
127
128  #kiwiki .kiwiki-sidebar-mobile{
129    display: flex;
130    margin-top: 20px;
131  }
132
133  #kiwiki .kiwiki_aside > div {
134    margin: 0;
135  }
136
137  #kiwiki #dokuwiki__content {
138    width: 100%;
139    float: none;
140    margin-left: 0;
141    margin-right: 0;
142    order: 2;
143    min-width: 100%;
144  }
145
146  #kiwiki #dokuwiki__site #dokuwiki__content__wrapper {
147    width: 100%;
148    max-width: initial;
149    flex-direction: column;
150    flex-wrap: wrap;
151  }
152  #kiwiki #dokuwiki__content > .group {
153    margin: 0;
154    padding: 0;
155  }
156  #kiwiki #dokuwiki__content > .group > .page.group {
157    padding: 15px;
158    position: relative;
159  }
160  #kiwiki #dokuwiki__content ul {
161    padding: 0 0 0 20px;
162  }
163  #kiwiki #dokuwiki__content ul.admin_tasks {
164    padding: 0;
165  }
166  #kiwiki [dir="rtl"] .hasSidebar #dokuwiki__content > div {
167    margin-right: 0;
168  }
169
170  #kiwiki #dokuwiki__header .a11y.skip,
171  #kiwiki #dokuwiki__aside hr.a11y {
172    left: auto !important;
173    top: auto !important;
174    width: auto !important;
175    height: auto !important;
176    position: static !important;
177  }
178
179  #kiwiki [dir="rtl"] #dokuwiki__header .a11y.skip,
180  #kiwiki [dir="rtl"] #dokuwiki__aside hr.a11y {
181    right: auto !important;
182    left: 1em !important;
183  }
184
185  #kiwiki .tools {
186    text-align: left;
187  }
188
189  #kiwiki [dir="rtl"] .tools {
190    text-align: right;
191  }
192  #kiwiki #dokuwiki__content > .other,
193  #kiwiki #dokuwiki__content > .other ul {
194    flex-wrap: wrap;
195  }
196
197  #kiwiki pre {
198    word-wrap: break-word;
199  }
200  #kiwiki .kiwiki-edit {
201    left: initial;
202    right: 4px;
203    width: fit-content;
204  }
205  /*EXTENSIONS*/
206  #kiwiki #extension__list .legend > div {
207    grid-template-columns: 20% 80%;
208    border-right: 0;
209    border-bottom: 1px solid var(--kiwiki-ui-300);
210    padding-bottom: 15px;
211  }
212  #kiwiki #dokuwiki__content #extension__list ul.extensionList {
213    padding: 0;
214  }
215  #kiwiki #extension__list ul.extensionList li {
216    display: flex;
217    flex-direction: column;
218    gap: 15px;
219    justify-content: center;
220    background-color: var(--kiwiki-ui-300);
221    border-radius: 10px;
222    border: 0;
223  }
224
225  #kiwiki #extension__list .legend,
226  #kiwiki #extension__manager .actions {
227    width: 100%;
228    float: none;
229    display: flex;
230    justify-content: center;
231  }
232
233  #kiwiki #extension__list .legend dl.details {
234    border-radius: 0;
235  }
236  #kiwiki #extension__list.hasDisplayOptions .enabled,
237  #kiwiki #extension__list.hasDisplayOptions .disabled,
238  #kiwiki #extension__list.hasDisplayOptions .updatable {
239    display: none;
240  }
241  #kiwiki #extension__list.hasDisplayOptions.enabled .enabled,
242  #kiwiki #extension__list.hasDisplayOptions.disabled .disabled,
243  #kiwiki #extension__list.hasDisplayOptions.updatable .updatable {
244    display: flex;
245  }
246
247  #kiwiki .before-content {
248    display: flex;
249    flex-direction: column-reverse;
250    align-items: center;
251  }
252  #dokuwiki__right_before{
253    width: 100%;
254    justify-content: center;
255    padding-right: 0;
256  }
257
258  /*Main Menu*/
259  .kiwiki-main-menu__wrapper #kiwiki-main-menu__close {
260    top: 5px;
261    left:-18px;
262  }
263
264  /*Footer*/
265  #dokuwiki__footer {
266    padding: 5px;
267  }
268
269  /*GO TOP/BOTTOM*/
270  #kiwiki #go {
271    flex-direction: column;
272  }
273} /* /@media */
274