1/**
2 * DokuWiki Twenty Fifteen Template
3 *
4 * @link     https://github.com/lainme/dokuwiki-theme-twentyfifteen
5 * @author   lainme <lainme993@gmail.com>
6 * @license  GPLv2 (http://www.gnu.org/licenses/gpl.html)
7 */
8
9/*Elements*/
10a.wikilink2 {
11    color: @ini_missing;
12}
13
14div.image a,
15h1 a,
16a.media,
17a.image,
18a.diff_link,
19a.revisions_link {
20    text-decoration: none !important;
21    border: none !important;
22}
23
24li div {
25    display: inline;
26}
27
28div.table {
29    overflow: auto;
30}
31
32/*Sidebar*/
33.widget:nth-last-of-type(2) {
34    margin-bottom: 1em;
35}
36
37.widget div.li {
38    display: block;
39}
40
41.widget div.li {
42    border-top: 1px solid @ini_border;
43    padding: 0.7667em 0;
44}
45
46.widget div.li:first-child {
47    border-top: 0;
48    padding-top: 0;
49}
50
51.widget div.li:last-child {
52    padding-bottom: 0;
53}
54
55/*Content*/
56.entry-navigation {
57    padding-top: 1em;
58    padding-bottom: 1em;
59}
60
61.entry-navigation .entry-content,
62.entry-navigation p {
63    margin-top: 0;
64    margin-bottom: 0;
65    padding-top: 0;
66    padding-bottom: 0;
67}
68
69.entry-content h1:first-of-type {
70    margin-top: 0;
71}
72
73.entry-content div > :last-child {
74    margin-bottom: 0;
75}
76
77/*Sitemap*/
78.dokuwiki ul.idx {
79    padding-left: 1em;
80}
81
82.dokuwiki ul.idx ul {
83    padding-left: 0em;
84}
85
86/*Diff*/
87.dokuwiki .diffoptions p {
88    clear: both;
89    float: left;
90}
91
92table.diff .diffnav select {
93    width: 98%;
94}
95
96/*Edit*/
97form.btn_secedit button {
98    float: right;
99}
100
101button.toolbutton,
102button.pickerbutton {
103    background-color: @ini_background_alt;
104    color: @ini_text_alt;
105    padding: 0.5em;
106}
107
108div.picker {
109    background-color: @ini_background_alt;
110}
111
112/*Search*/
113dl.search_results dt {
114    font-weight: normal;
115}
116
117dl.search_results dd {
118    color: @ini_text_alt;
119}
120
121.search_hit {
122    color: @ini_text;
123    background-color: __highlight__;
124}
125
126/*Table of Contents*/
127#dw__toc {
128    margin-bottom: 1em;
129    padding-bottom: 1em;
130    width: 100%;
131    font-size: 100%;
132}
133
134#dw__toc h3 {
135    font-size: 110%;
136    margin: 1em 1em 0 1em;
137}
138
139#dw__toc ul {
140    margin: 0 1em 0 2em;
141}
142
143#dw__toc ul ul {
144    margin: 0em;
145}
146
147#dw__toc ul li {
148    list-style: square;
149    line-height: 1.5em;
150}
151
152#dw__toc a {
153    border: 0;
154}
155
156/*Media Manager*/
157#mediamanager__page {
158    font-size: 85%;
159    min-width: 0;
160    overflow: auto;
161}
162
163#mediamanager__page .namespaces {
164    width: 30%;
165    height: auto !important;
166}
167
168#mediamanager__page .filelist {
169    width: 70%;
170    height: auto !important;
171}
172
173#mediamanager__page .file {
174    width: 100%;
175}
176
177#mediamanager__page .panelContent {
178    display: inline;
179}
180
181#mediamanager__page .filelist .rows li dt {
182    width: 14%;
183}
184
185#mediamanager__uploader .qq-uploader input[type="file"] {
186    position: relative !important;
187    font-size: 100% !important;
188    opacity: 1 !important;
189}
190
191#media__popup_content button {
192    background-color: @ini_background_alt;
193    padding: 0 0.25em 0 0.25em;
194}
195
196/*Admin*/
197div.ui-admin a {
198    border: none;
199}
200
201div.ui-admin ul {
202    margin: 0;
203}
204div.ui-admin li {
205    list-style: none;
206    margin: 0.5em 0 0.5em 0;
207}
208
209#user__manager button {
210    float: left;
211}
212
213#user__manager ul.notes {
214    padding-left: 1em;
215}
216
217#extension__manager {
218    font-size: 85%;
219}
220
221#config__manager fieldset {
222    margin: 0em;
223}
224
225#config__manager td.label {
226    width: 40%;
227}
228
229#config__manager td input.edit,
230#config__manager td select.edit,
231#config__manager td textarea.edit,
232#config__manager td .input {
233    width: 100% !important;
234}
235
236/*Other layouts*/
237div#plugin__styling.ispopup,
238div#dokuwiki__detail {
239    width: 69.7%;
240    float: right;
241}
242
243/*RTL*/
244[dir=rtl] {
245    .entry-content h1 {
246        clear: right;
247    }
248
249    .dokuwiki ul.idx {
250        padding-right: 1em;
251        padding-left: 0;
252    }
253
254    .dokuwiki ul.idx ul {
255        padding-right: 0;
256    }
257
258    form.btn_secedit button {
259        float: left;
260    }
261
262    .dokuwiki .diffoptions form,
263    .dokuwiki .diffoptions p {
264        float: right;
265    }
266
267    #dw__toc ul {
268        margin: 0 2em 0 1em;
269    }
270
271    #user__manager .medialeft {
272        float:  right;
273    }
274    #user__manager button {
275        float: right !important;
276    }
277}
278
279/*Responsive*/
280@media screen and (min-width: @ini_phone_width) and (max-width: @ini_tablet_width) {
281    .widget div.li {
282        padding: 0.7188em 0;
283    }
284}
285
286@media screen and (min-width: @ini_tablet_width) {
287    .widget div.li {
288        padding: 0.4688em 0;
289    }
290
291    #dw__toc {
292        width: 16em;
293        font-size: 80%;
294    }
295}
296
297/*Print*/
298@media print {
299    .secondary,
300    button,
301    input,
302    select,
303    textarea,
304    .site-logo,
305    .entry-navigation,
306    .entry-footer {
307        display: none;
308    }
309
310    .site-branding {
311        border-bottom: 2pt solid #ccc;
312        margin: 0 0 1em 0;
313    }
314
315    .site-branding a {
316        text-decoration: none !important;
317        border: 0 !important;
318    }
319
320    .site-branding h1 {
321        font-size: 1.5em;
322    }
323
324    .site-footer .site-info {
325        font-size: 90%;
326        text-align: right;
327        clear: both;
328        padding-top: 2pt;
329        border-top: 1pt solid #999;
330        margin-top: 10pt;
331    }
332
333    .entry-content h1 {
334        font-size: 22px;
335    }
336
337    .entry-content h1:first-of-type {
338        margin-top: 0.9231em;
339    }
340}
341