Merge branch 'w24_MDL-33670_m21_ofadmin' of git://github.com/skodak/moodle into MOODL...
[moodle.git] / mod / wiki / styles.css
blobdcfd4804bbdd9191eede6250d4b016ec1e5b4ab5
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 * @copyrigth 2009 Marc Alier, Jordi Piguillem marc.alier@upc.edu
21 * @copyrigth 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_editor {
39 width: 50%;
40 margin: auto;
41 margin-top: 10px;
42 margin-bottom: 10px;
45 .wiki_previewbox {
46 width: 50%;
47 margin: auto;
48 border: thin solid blue;
51 .wiki_info {
52 color: darkred;
53 text-decoration: underline;
56 .wiki_button {
57 margin: 5px;
60 .wiki_warning {
61 color: red;
64 .emptycomments {
65 color: red;
66 display: inline;
69 .wiki-toc {
70 border: 1px solid #BBB;
71 background: #EEE;
72 margin: 16px;
73 padding: 8px;
76 .wiki-toc-title {
77 color: #666;
78 font-size: 1.1em;
79 font-variant: small-caps;
80 text-align: center;
83 .wiki-toc-section {
84 padding: 0;
85 margin: 2px 8px;
88 .wiki-toc-section-2 {
89 padding-left: 12px;
92 .wiki-toc-section-3 {
93 padding-left: 24px;
96 .wiki_form-button {
97 margin-left: 0%;
100 .wiki-form-center {
101 text-align: center;
102 margin: auto;
103 width: 320px;
106 .wiki-upload-table {
107 margin: 8px auto;
108 clear: both;
111 .wiki-upload-table table {
112 margin: auto;
115 .wiki-upload-table h3 {
116 margin: 4px 0px;
117 text-align: center;
120 .wiki-upload-section {
121 border: 1px solid #EEE;
122 width: 400px;
123 margin: 8px auto;
126 .wiki-upload-section legend {
127 font-weight: bold;
128 font-size: 0.9em;
129 margin-left: 16px;
132 .wiki-tags {
133 text-align: right;
136 .wiki-tags span {
137 font-weight: bold;
140 .wiki_modifieduser p {
141 line-height: 35px;
144 .wiki_modifieduser img {
145 border: thin black solid;
148 .wiki_restore_yes, .wiki_deletecomment_yes {
149 float: left;
152 .wiki_restore_no, .wiki_deletecomment_no {
153 float: right;
156 .wiki_restoreform, .wiki_deletecommentform {
157 width: 10%;
158 margin: auto;
161 .wiki_versionuser {
162 float: left;
165 .wiki_diffuserleft,.wiki_diffuserright {
166 font-weight: normal;
167 padding-top: 1%;
170 .wiki_diffuserleft {
171 float: right;
174 .dir-rtl .wiki_diffuserleft {
175 float: left;
178 .wiki_diffuserright {
179 float: left;
182 .wiki_compareheading {
183 font-weight: normal;
186 .wiki_restore,.wiki_diffview,.wiki_difftime,.wiki_headingtime {
187 font-size: 0.8em;
188 font-weight: normal;
191 .wiki_difftime,.wiki_headingtime {
192 font-style: oblique;
193 text-align: center;
196 .wiki_diff_oldpaging {
197 float: left;
198 width: 40%;
199 min-width: 200px;
200 margin-left: 5%;
203 .wiki_diff_newpaging {
204 float: right;
205 width: 40%;
206 min-width: 200px;
207 margin-right: 5%;
210 .wiki_diff_old,.wiki_diff_new {
211 float: left;
212 min-width: 200px;
213 width: 40%;
216 .wiki_difftable td {
217 width: 50%;
218 float: left;
221 .wiki_histdate {
222 text-align: left;
225 .wiki_histnewdate {
226 border-top: 1px dotted gray;
229 .ouw_deleted {
230 background: #FFFFAA;
231 color: red;
232 text-decoration: line-through;
235 .ouw_added {
236 background: #CCFFCC;
237 color: red;
240 a.wiki_newentry:link, a.wiki_newentry:visited {
241 color: red;
242 font-style: italic;
245 .wiki_newentry a {
246 color: red;
247 font-style: italic;
250 #intro.generalbox {
251 margin-top: 10px;
252 padding: 5px;
255 .wiki_navigation_container {
256 margin: 0 auto;
259 .wiki_navigation_from {
260 float: left;
261 width: 40%;
262 min-width: 200px;
263 margin-left: 5%;
266 .wiki_navigation_to {
267 float: left;
268 width: 40%;
269 min-width: 200px;
270 margin-right: 5%;
273 .wiki_headingtitle {
274 text-align: center;
277 .wiki_clear {
278 clear: both;
281 .wiki_right {
282 text-align: right;
285 .wiki_index {
286 text-align: right;
289 .notunderlined {
290 text-decoration: none;
293 a.wiki_edit_section {
294 font-size: 0.6em;
295 vertical-align: top;
296 position: relative;
297 float: right;
300 .midpad {
301 text-align: center;
302 margin-top: 0.4em;
303 margin-bottom: 0.4em;
306 .block_wiki_search ul {
307 margin-top: 0.5em;
308 margin-bottom: 3px;
311 .wiki-attachment:before {
312 content: url("/mod/wiki/pix/attachment.png");
313 padding-right: 2px;
316 /** Print CSS */
317 #wiki_printable_content {
318 text-align: left;
321 .dir-rtl #wiki_printable_content {
322 text-align: right;
325 #wiki_printable_content a {
326 color: black;
329 #wiki_printable_title {
330 font-size: 2.2em;
331 text-decoration: underline;
334 .wiki_diff_boxes {
335 width: 100%;
336 clear: both;
339 .wiki_diff_paging {
340 width: 100%;
341 clear: both;
344 .wiki_grayline {
345 color: gray
348 .wikisearchresults{
349 padding-left: 50px;
350 padding-top: 20px;
353 .wiki-diff-container {width:95%;margin:10px auto;}
354 .wiki-diff-container .wiki-diff-leftside,
355 .wiki-diff-container .wiki-diff-rightside {width:49.5%;margin:0;padding:0;float:left;}
356 .wiki-diff-container .wiki-diff-rightside {margin-left:1%;}
357 .wiki-diff-container .wiki-diff-heading,
358 .wiki-diff-container .no-overflow {padding:10px;border:1px solid #DDD;}
359 .wiki-diff-container .wiki-diff-rightside .wiki_diffversion {text-align:right;}
361 .wikieditor-toolbar img{
362 width: 22px;
363 height: 22px;
364 vertical-align: middle;