1/*
2 This file is part of Moodle - http://moodle.org/
3
4 Moodle is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
8
9 Moodle is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with Moodle. If not, see <http://www.gnu.org/licenses/>.
16*/ /**
17 * Wiki module style sheet
18 *
19 * @package mod-wiki-2.0
20 * @copyright 2009 Marc Alier, Jordi Piguillem marc.alier@upc.edu
21 * @copyright 2009 Universitat Politecnica de Catalunya http://www.upc.edu
22 *
23 * @author Jordi Piguillem
24 * @author Marc Alier
25 * @author David Jimenez
26 * @author Josep Arus
27 * @author Kenneth Riba
28 *
29 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
30 */
31.wiki_contentbox {
32    width: 80%;
33    margin: auto;
34    min-width: 200px;
35    min-height: 100px;
36}
37
38.wiki_previewbox {
39    width: 50%;
40    margin: auto;
41    border: thin solid blue;
42}
43
44.wiki_button {
45    margin: 5px;
46}
47
48.wiki_warning {
49    color: red;
50}
51
52.emptycomments {
53    color: red;
54    display: inline;
55}
56
57.wiki-toc {
58    border: 1px solid #bbb;
59    background: #eee;
60    margin: 16px;
61    padding: 8px;
62}
63
64.wiki-toc-title {
65    color: #666;
66    font-size: 1.1em;
67    font-variant: small-caps;
68    text-align: center;
69}
70
71.wiki-toc-section {
72    padding: 0;
73    margin: 2px 8px;
74}
75
76.wiki-toc-section-2 {
77    padding-left: 12px;
78}
79
80.wiki-toc-section-3 {
81    padding-left: 24px;
82}
83
84.wiki_form-button {
85    margin-left: 0%;
86}
87
88.wiki-upload-table {
89    margin: 8px auto;
90    clear: both;
91}
92
93.wiki-upload-table table {
94    margin: auto;
95}
96
97.wiki-upload-table h3 {
98    margin: 4px 0;
99    text-align: center;
100}
101
102.wiki-upload-section {
103    border: 1px solid #eee;
104    width: 400px;
105    margin: 8px auto;
106}
107
108.wiki-upload-section legend {
109    font-weight: bold;
110    font-size: 0.9em;
111    margin-left: 16px;
112}
113
114.wiki-tags {
115    text-align: right;
116}
117
118.wiki_modifieduser p {
119    line-height: 35px;
120}
121
122.wiki_modifieduser img {
123    border: thin solid black;
124}
125
126.wiki_restore_yes,
127.wiki_deletecomment_yes {
128    float: left;
129}
130
131.wiki_restore_no,
132.wiki_deletecomment_no {
133    float: right;
134}
135
136.wiki_restoreform,
137.wiki_deletecommentform {
138    width: 10%;
139    margin: auto;
140}
141
142.wiki_versionuser {
143    float: left;
144}
145
146.wiki_diffuserleft,
147.wiki_diffuserright {
148    font-weight: normal;
149    padding-top: 1%;
150}
151
152.wiki_diffuserleft {
153    float: right;
154}
155
156.wiki_diffuserright {
157    float: left;
158}
159
160.wiki_compareheading {
161    font-weight: normal;
162}
163
164.wiki_restore,
165.wiki_diffview,
166.wiki_difftime,
167.wiki_headingtime {
168    font-size: 0.8em;
169    font-weight: normal;
170}
171
172.wiki_difftime,
173.wiki_headingtime {
174    font-style: oblique;
175    text-align: center;
176}
177
178.wiki_diff_oldpaging {
179    float: left;
180    width: 40%;
181    min-width: 200px;
182    margin-left: 5%;
183}
184
185.wiki_diff_newpaging {
186    float: right;
187    width: 40%;
188    min-width: 200px;
189    margin-right: 5%;
190}
191
192.wiki_diff_old,
193.wiki_diff_new {
194    float: left;
195    min-width: 200px;
196    width: 40%;
197}
198
199.wiki_difftable td {
200    width: 50%;
201    float: left;
202}
203
204.wiki_histdate {
205    text-align: left;
206}
207
208.wiki_histnewdate {
209    border-top: 1px dotted gray;
210}
211
212.ouw_deleted {
213    background: #ffa;
214    color: red;
215    text-decoration: line-through;
216}
217
218.ouw_added {
219    background: #cfc;
220    color: red;
221}
222
223a.wiki_newentry:link,
224a.wiki_newentry:visited {
225    color: red;
226    font-style: italic;
227}
228
229.wiki_newentry a {
230    color: red;
231    font-style: italic;
232}
233
234.wiki_navigation_container {
235    margin: 0 auto;
236}
237
238.wiki_navigation_from {
239    float: left;
240    width: 40%;
241    min-width: 200px;
242    margin-left: 5%;
243}
244
245.wiki_navigation_to {
246    float: left;
247    width: 40%;
248    min-width: 200px;
249    margin-right: 5%;
250}
251
252.wiki_headingtitle {
253    text-align: center;
254}
255
256.wiki_clear {
257    clear: both;
258}
259
260.wiki_right {
261    text-align: right;
262}
263
264.wiki_index {
265    text-align: right;
266}
267
268.notunderlined {
269    text-decoration: none;
270}
271
272a.wiki_edit_section {
273    font-size: 0.6em;
274    position: relative;
275    float: right;
276}
277
278.midpad {
279    text-align: center;
280    margin-top: 0.4em;
281    margin-bottom: 0.4em;
282}
283
284.block_wiki_search ul {
285    margin-top: 0.5em;
286    margin-bottom: 3px;
287}
288
289.wiki-attachment:before {
290    content: url("/mod/wiki/pix/attachment.png");
291    padding-right: 2px;
292}
293
294/** Print CSS */
295#wiki_printable_content {
296    text-align: left;
297}
298
299#wiki_printable_content a {
300    color: black;
301}
302
303#wiki_printable_title {
304    font-size: 2.2em;
305    text-decoration: underline;
306}
307
308.wiki_diff_boxes {
309    width: 100%;
310    clear: both;
311}
312
313.wiki_diff_paging {
314    width: 100%;
315    clear: both;
316}
317
318.wiki_grayline {
319    color: gray;
320}
321
322.wikisearchresults {
323    padding-left: 50px;
324    padding-top: 20px;
325}
326
327.wiki-diff-container {
328    width: 95%;
329    margin: 10px auto;
330}
331
332.wiki-diff-container .wiki-diff-leftside,
333.wiki-diff-container .wiki-diff-rightside {
334    width: 49.5%;
335    margin: 0;
336    padding: 0;
337    float: left;
338}
339
340.wiki-diff-container .wiki-diff-rightside {
341    margin-left: 1%;
342}
343
344.wiki-diff-container .wiki-diff-heading,
345.wiki-diff-container .no-overflow {
346    padding: 10px;
347    border: 1px solid #ddd;
348}
349
350.wiki-diff-container .wiki-diff-rightside .wiki_diffversion {
351    text-align: right;
352}
353
354.path-mod-wiki .printicon {
355    background: url([[pix:t/print]]) no-repeat scroll 2px center transparent;
356    padding-left: 20px;
357}
358
359#page-mod-wiki-prettyview .displayprinticon {
360    text-align: right;
361}
362