MDL-69115 course: More course management accessibility fixes
[moodle.git] / mod / wiki / styles.css
blob8ee518f6cd8805adafb38e2694367d9faab49cfe
1 /*
2 This file is part of Moodle - http://moodle.org/
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.
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.
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
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
23 * @author Jordi Piguillem
24 * @author Marc Alier
25 * @author David Jimenez
26 * @author Josep Arus
27 * @author Kenneth Riba
29 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
31 .wiki_contentbox {
32 width: 80%;
33 margin: auto;
34 min-width: 200px;
35 min-height: 100px;
38 .wiki_previewbox {
39 width: 50%;
40 margin: auto;
41 border: thin solid blue;
44 .wiki_button {
45 margin: 5px;
48 .wiki_warning {
49 color: red;
52 .emptycomments {
53 color: red;
54 display: inline;
57 .wiki-toc {
58 border: 1px solid #bbb;
59 background: #eee;
60 margin: 16px;
61 padding: 8px;
64 .wiki-toc-title {
65 color: #666;
66 font-size: 1.1em;
67 font-variant: small-caps;
68 text-align: center;
71 .wiki-toc-section {
72 padding: 0;
73 margin: 2px 8px;
76 .wiki-toc-section-2 {
77 padding-left: 12px;
80 .wiki-toc-section-3 {
81 padding-left: 24px;
84 .wiki_form-button {
85 margin-left: 0%;
88 .wiki-upload-table {
89 margin: 8px auto;
90 clear: both;
93 .wiki-upload-table table {
94 margin: auto;
97 .wiki-upload-table h3 {
98 margin: 4px 0;
99 text-align: center;
102 .wiki-upload-section {
103 border: 1px solid #eee;
104 width: 400px;
105 margin: 8px auto;
108 .wiki-upload-section legend {
109 font-weight: bold;
110 font-size: 0.9em;
111 margin-left: 16px;
114 .wiki-tags {
115 text-align: right;
118 .wiki_modifieduser p {
119 line-height: 35px;
122 .wiki_modifieduser img {
123 border: thin solid black;
126 .wiki_restore_yes,
127 .wiki_deletecomment_yes {
128 float: left;
131 .wiki_restore_no,
132 .wiki_deletecomment_no {
133 float: right;
136 .wiki_restoreform,
137 .wiki_deletecommentform {
138 width: 10%;
139 margin: auto;
142 .wiki_versionuser {
143 float: left;
146 .wiki_diffuserleft,
147 .wiki_diffuserright {
148 font-weight: normal;
149 padding-top: 1%;
152 .wiki_diffuserleft {
153 float: right;
156 .wiki_diffuserright {
157 float: left;
160 .wiki_compareheading {
161 font-weight: normal;
164 .wiki_restore,
165 .wiki_diffview,
166 .wiki_difftime,
167 .wiki_headingtime {
168 font-size: 0.8em;
169 font-weight: normal;
172 .wiki_difftime,
173 .wiki_headingtime {
174 font-style: oblique;
175 text-align: center;
178 .wiki_diff_oldpaging {
179 float: left;
180 width: 40%;
181 min-width: 200px;
182 margin-left: 5%;
185 .wiki_diff_newpaging {
186 float: right;
187 width: 40%;
188 min-width: 200px;
189 margin-right: 5%;
192 .wiki_diff_old,
193 .wiki_diff_new {
194 float: left;
195 min-width: 200px;
196 width: 40%;
199 .wiki_difftable td {
200 width: 50%;
201 float: left;
204 .wiki_histdate {
205 text-align: left;
208 .wiki_histnewdate {
209 border-top: 1px dotted gray;
212 .ouw_deleted {
213 background: #ffa;
214 color: red;
215 text-decoration: line-through;
218 .ouw_added {
219 background: #cfc;
220 color: red;
223 a.wiki_newentry:link,
224 a.wiki_newentry:visited {
225 color: red;
226 font-style: italic;
229 .wiki_newentry a {
230 color: red;
231 font-style: italic;
234 .wiki_navigation_container {
235 margin: 0 auto;
238 .wiki_navigation_from {
239 float: left;
240 width: 40%;
241 min-width: 200px;
242 margin-left: 5%;
245 .wiki_navigation_to {
246 float: left;
247 width: 40%;
248 min-width: 200px;
249 margin-right: 5%;
252 .wiki_headingtitle {
253 text-align: center;
256 .wiki_clear {
257 clear: both;
260 .wiki_right {
261 text-align: right;
264 .wiki_index {
265 text-align: right;
268 .notunderlined {
269 text-decoration: none;
272 a.wiki_edit_section {
273 font-size: 0.6em;
274 position: relative;
275 float: right;
278 .midpad {
279 text-align: center;
280 margin-top: 0.4em;
281 margin-bottom: 0.4em;
284 .block_wiki_search ul {
285 margin-top: 0.5em;
286 margin-bottom: 3px;
289 .wiki-attachment:before {
290 content: url("/mod/wiki/pix/attachment.png");
291 padding-right: 2px;
294 /** Print CSS */
295 #wiki_printable_content {
296 text-align: left;
299 #wiki_printable_content a {
300 color: black;
303 #wiki_printable_title {
304 font-size: 2.2em;
305 text-decoration: underline;
308 .wiki_diff_boxes {
309 width: 100%;
310 clear: both;
313 .wiki_diff_paging {
314 width: 100%;
315 clear: both;
318 .wiki_grayline {
319 color: gray;
322 .wikisearchresults {
323 padding-left: 50px;
324 padding-top: 20px;
327 .wiki-diff-container {
328 width: 95%;
329 margin: 10px auto;
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;
340 .wiki-diff-container .wiki-diff-rightside {
341 margin-left: 1%;
344 .wiki-diff-container .wiki-diff-heading,
345 .wiki-diff-container .no-overflow {
346 padding: 10px;
347 border: 1px solid #ddd;
350 .wiki-diff-container .wiki-diff-rightside .wiki_diffversion {
351 text-align: right;
354 .path-mod-wiki .printicon {
355 background: url([[pix:t/print]]) no-repeat scroll 2px center transparent;
356 padding-left: 20px;
359 #page-mod-wiki-prettyview .displayprinticon {
360 text-align: right;