Merge branch 'MDL-79108-master' of https://github.com/sarjona/moodle
[moodle.git] / mod / wiki / styles.css
blob46591c6d84a8b59bdb76b7ed9f054c81283eb25e
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_restoreform,
127 .wiki_deletecommentform {
128 width: 10%;
129 margin: auto;
132 .wiki_versionuser {
133 float: left;
136 .wiki_diffuserleft,
137 .wiki_diffuserright {
138 font-weight: normal;
139 padding-top: 1%;
142 .wiki_diffuserleft {
143 float: right;
146 .wiki_diffuserright {
147 float: left;
150 .wiki_compareheading {
151 font-weight: normal;
154 .wiki_restore,
155 .wiki_diffview,
156 .wiki_difftime,
157 .wiki_headingtime {
158 font-size: 0.8em;
159 font-weight: normal;
162 .wiki_difftime,
163 .wiki_headingtime {
164 font-style: oblique;
165 text-align: center;
168 .wiki_diff_oldpaging {
169 float: left;
170 width: 40%;
171 min-width: 200px;
172 margin-left: 5%;
175 .wiki_diff_newpaging {
176 float: right;
177 width: 40%;
178 min-width: 200px;
179 margin-right: 5%;
182 .wiki_diff_old,
183 .wiki_diff_new {
184 float: left;
185 min-width: 200px;
186 width: 40%;
189 .wiki_difftable td {
190 width: 50%;
191 float: left;
194 .wiki_histdate {
195 text-align: left;
198 .wiki_histnewdate {
199 border-top: 1px dotted gray;
202 .ouw_deleted {
203 background: #ffa;
204 color: red;
205 text-decoration: line-through;
208 .ouw_added {
209 background: #cfc;
210 color: red;
213 a.wiki_newentry:link,
214 a.wiki_newentry:visited {
215 color: red;
216 font-style: italic;
219 .wiki_newentry a {
220 color: red;
221 font-style: italic;
224 .wiki_navigation_container {
225 margin: 0 auto;
228 .wiki_navigation_from {
229 float: left;
230 width: 40%;
231 min-width: 200px;
232 margin-left: 5%;
235 .wiki_navigation_to {
236 float: left;
237 width: 40%;
238 min-width: 200px;
239 margin-right: 5%;
242 .wiki_headingtitle {
243 text-align: center;
246 .wiki_clear {
247 clear: both;
250 .wiki_right {
251 text-align: right;
254 .wiki_index {
255 text-align: right;
258 .notunderlined {
259 text-decoration: none;
262 a.wiki_edit_section {
263 font-size: 0.6em;
264 position: relative;
265 float: right;
268 .midpad {
269 text-align: center;
270 margin-top: 0.4em;
271 margin-bottom: 0.4em;
274 .block_wiki_search ul {
275 margin-top: 0.5em;
276 margin-bottom: 3px;
279 .wiki-attachment:before {
280 content: url("/mod/wiki/pix/attachment.png");
281 padding-right: 2px;
284 /** Print CSS */
285 #wiki_printable_content {
286 text-align: left;
289 #wiki_printable_content a {
290 color: black;
293 #wiki_printable_title {
294 font-size: 2.2em;
295 text-decoration: underline;
298 .wiki_diff_boxes {
299 width: 100%;
300 clear: both;
303 .wiki_diff_paging {
304 width: 100%;
305 clear: both;
308 .wiki_grayline {
309 color: gray;
312 .wikisearchresults {
313 padding-left: 50px;
314 padding-top: 20px;
317 .wiki-diff-container {
318 width: 95%;
319 margin: 10px auto;
322 .wiki-diff-container .wiki-diff-leftside,
323 .wiki-diff-container .wiki-diff-rightside {
324 width: 49.5%;
325 margin: 0;
326 padding: 0;
327 float: left;
330 .wiki-diff-container .wiki-diff-rightside {
331 margin-left: 1%;
334 .wiki-diff-container .wiki-diff-heading,
335 .wiki-diff-container .no-overflow {
336 padding: 10px;
337 border: 1px solid #ddd;
340 .wiki-diff-container .wiki-diff-rightside .wiki_diffversion {
341 text-align: right;
344 .path-mod-wiki .printicon {
345 background: url([[pix:t/print]]) no-repeat scroll 2px center transparent;
346 padding-left: 20px;
349 #page-mod-wiki-prettyview .displayprinticon {
350 text-align: right;
353 #page-mod-wiki-prettyview {
354 background-image: none;