1/**
2 * This file provides styles for the recent changes (?do=recent) and
3 * old revisions (?do=revisions).
4 */
5
6/*____________ list of revisions / recent changes ____________*/
7
8/* added dark mode overrides -- SL
9
10/* select type of revisions (media/pages) */
11.dokuwiki .changeType {
12    margin-bottom: .5em;
13}
14
15.dokuwiki form.changes ul li {
16    list-style: none;
17    margin-left: 0;
18}
19[dir=rtl] .dokuwiki form.changes ul li {
20    margin-right: 0;
21}
22.dokuwiki form.changes ul li span,
23.dokuwiki form.changes ul li a {
24    vertical-align: middle;
25}
26.dokuwiki form.changes ul li span.user a {
27    vertical-align: bottom;
28}
29.dokuwiki form.changes ul li.minor {
30    opacity: .7;
31}
32
33.dokuwiki form.changes li span.date {
34}
35.dokuwiki form.changes li a.diff_link {
36    vertical-align: baseline;
37}
38.dokuwiki form.changes li a.revisions_link {
39    vertical-align: baseline;
40}
41.dokuwiki form.changes li a.wikilink1,
42.dokuwiki form.changes li a.wikilink2 {
43}
44.dokuwiki form.changes li span.sum {
45    font-weight: bold;
46}
47.dokuwiki form.changes li span.user {
48}
49
50/*____________ size differences ____________*/
51
52.dokuwiki form.changes li .sizechange {
53    font-size: 80%;
54    border-radius: .2em;
55    padding: .1em .2em;
56    /* cannot use non-guaranteed style.ini colour placeholders, dark templates need to overwrite */
57    background-color: #ddd;
58}
59
60.dokuwiki form.changes li .sizechange.positive {
61    background-color: #cfc;;
62}
63.dokuwiki form.changes li .sizechange.negative {
64    background-color: #fdd;
65}
66
67/*____________ page navigator ____________*/
68
69.dokuwiki div.pagenav {
70    text-align: center;
71    margin: 1.4em 0;
72}
73.dokuwiki div.pagenav-prev,
74.dokuwiki div.pagenav-next {
75    display: inline;
76    margin: 0 .5em;
77}
78
79/* dark mode overrides */
80@media (prefers-color-scheme: dark) {
81	.dokuwiki form.changes li .sizechange {
82		background-color:	#0C0C0D;
83		color:				#D0D5DA;
84	}
85	.dokuwiki form.changes li .sizechange.positive {
86		background-color:	#0A3A1E;
87	}
88	.dokuwiki form.changes li .sizechange.negative {
89		background-color:	#49090F;
90	}
91}