MediaWiki:Common.css

The educational technology and digital learning wiki
Revision as of 18:46, 20 August 2013 by Dacostj7 (talk | contribs)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
  1 /** CSS placed here will be applied to all skins */
  2 
  3 /*
  4 <pre>
  5  */
  6 
  7 .hiddenStructure {display: none}
  8 .hidden {display:none}
  9 .if {display: none}
 10 
 11 /*front page */
 12 /* CCFFFF = bright light blue */
 13 @media screen {
 14 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EBFFFF;}
 15 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
 16 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
 17 }
 18 
 19 @media print handheld {
 20 #front_left {}
 21 #front_right {}
 22 }
 23 
 24 /* Space out main section titles */
 25 h2 {margin-top:3.5ex;}
 26 h3 {margin-top:2ex;}
 27 
 28 #GooglesearchBody input{ font-size: 80%; }
 29 
 30 /* wikitable/prettytable class for skinning normal tables */
 31 
 32 table.wikitable,
 33 table.prettytable {
 34   margin: 1em 1em 1em 0;
 35   background: #f9f9f9;
 36   border: 1px #aaaaaa solid;
 37   border-collapse: collapse;
 38 }
 39 
 40 table.wikitable th, table.wikitable td,
 41 table.prettytable th, table.prettytable td {
 42   border: 1px #aaaaaa solid;
 43   padding: 0.2em;
 44 }
 45 
 46 table.wikitable th,
 47 table.prettytable th {
 48   background: #f2f2f2;
 49   text-align: center;
 50 }
 51 
 52 table.wikitable caption,
 53 table.prettytable caption {
 54   margin-left: inherit;
 55   margin-right: inherit;
 56 }
 57 
 58 .allpagesredirect {
 59   font-style: italic;
 60 }
 61 
 62 /* Overrides for semantic forms tables - SemanticForms/skins/SemanticForms.css */
 63 
 64 table.formtable {
 65  width: 100%;
 66  margin: 5px 0 0;
 67  padding: 0.3em 0.2em 0.2em 0.2em;
 68  background: transparent;
 69  border: 1px dotted grey;
 70  border-radius: 2px;
 71  background: #f9f9f9;
 72 }
 73 
 74 table.formtable caption {
 75  color:blue;
 76  text-align:left;
 77  font-size:12pt;
 78 }
 79 
 80 /* Infobox template style */
 81 
 82  .infobox {
 83    border: 1px solid #aaaaaa;
 84    width:270px;
 85    background-color: #f9f9f9;
 86    color: black;
 87    margin-bottom: 0.5em;
 88    margin-left: 1em;
 89    padding: 0.2em;
 90    float: right;
 91 }
 92 .infobox td,
 93 .infobox th {
 94    border: 2px none #aaaaaa;
 95    padding: 0.2em 0.5em;
 96    border-bottom: 1px solid #f0f0f0 !important;
 97 }
 98 .infobox caption {
 99    font-size: larger;
100    margin-left: inherit;
101 }
102 .infobox.bordered {
103    border-collapse: collapse;
104 }
105 .infobox.bordered td,
106 .infobox.bordered th {
107    border: 1px solid #aaaaaa;
108 }
109 .infobox.bordered .borderless td,
110 .infobox.bordered .borderless th {
111    border: 0;
112 }
113 
114 .infobox.sisterproject {
115    width: 20em;
116    font-size: 90%;
117 }
118 
119 /* styles for bordered infobox with merged rows */
120 .infobox.bordered .mergedtoprow td,
121 .infobox.bordered .mergedtoprow th {
122    border: 0;
123    border-top: 1px solid #aaaaaa;
124    border-right: 1px solid #aaaaaa;
125 }
126 
127 .infobox.bordered .mergedrow td,
128 .infobox.bordered .mergedrow th {
129    border: 0;
130    border-right: 1px solid #aaaaaa;
131 }
132 
133 
134 /* Removes useless links from printout */
135 @media print {
136     .portlet, #privacy, #about, #disclaimer {display:none;}
137 }
138 
139 /* Banner Styles used in EduTech wiki 
140  - use class names like Banner_xxxx
141  */
142 
143 .Banner_incomplete {
144   float:right;
145   clear:right;
146   width:200px;
147   border:1px solid orange;
148   background-color:#FFFACD;
149   padding:7px; 
150   margin-bottom: 10px;
151   margin-left: 1em;
152 }
153 
154 .Banner_tutorial {
155   float:right;
156   clear:right;
157   width:200px;
158   border:1px solid blue;
159   background-color:#F8C9E4;
160   padding:7px; 
161   margin-bottom: 10px;
162   margin-left: 1em;
163 }
164 
165 .tut_goals{
166   background-color:#F8C9E4;
167   padding:7px; 
168   margin-bottom: 10px;
169   border:1px solid #AAAAAA;
170 }
171 
172 .Banner_copyright{
173   background-color:#d0f0c0;
174   padding:7px; 
175   margin-bottom: 10px;
176   border:1px solid #AAAAAA;
177 }
178 
179 /* Style for the source code tag */
180 
181 .actionscript{
182   background-color:#FFFFEE;
183   padding:7px; 
184   margin-bottom: 10px;
185   border:1px #AAAAAA solid;
186 }
187 
188 /* Tag cloud extension CSS */
189 
190 .tagcloud {
191 	width: 95%;
192 	text-align: center;
193 	background-color: #FDFDFD;
194 	border: 1px solid #EEEEEE;
195 	padding: 15px 10px 15px 10px;
196  }
197  .tagcloud a {
198 	color: #0052CB;
199 	margin-left: 10px;
200 	margin-right: 10px;
201 	font-weight: bold;
202  }
203 
204 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
205 ul.pageby {
206     border:1px solid #60606F;
207     background-color:#E0E0EF;
208     font-size: 80%;
209     margin:1ex;
210     padding:1ex;
211     list-style-type:none;
212   }
213 
214 /* category tree - first is just for portlet - second for all trees */
215 #p-categorytree-portlet {font-size: 85% } 
216 .CategoryTreeTag {font-size: 85%; }
217 
218 /* Syntaxhighlight geshi */
219 div.mw-geshi {
220   border: 1px dotted grey;
221   padding: 2px; 
222   margin-left:1em;
223   margin-top:2px;
224   margin-right:2px;
225   margin-bottom:2px;
226   font-size: 120%
227 }
228 
229 code {
230   border: 1px solid #ddd;
231   padding: 1px 4px;
232   border-radius: 2px;
233 }
234 
235 /*
236 </pre>
237  */
238 
239 /* class for fluid two columns layout*/
240 
241 .leftFifty {
242   width:50%;
243   position: relative;
244   top: 0;
245   left: 0;
246 }
247 .rightFifty {
248   width:50%;
249   position: absolute;
250   top: 0;
251   left:50%;
252 }
253 
254 .leftSixty {
255   width:65%;
256   position: relative;
257   top: 0;
258   left: 0;
259 }
260 .rightThirty {
261   width:35%;
262   position: absolute;
263   top: 0;
264   left:65%;
265 }
266 
267 @media screen and (max-width: 1360px) {
268   .leftFifty {
269     width:100%;
270   }
271   .rightFifty {
272     left: 0;
273     width:100%;
274     position:relative;
275   }
276   .leftSixty {
277     width:100%;
278   }
279   .rightThirty {
280     left: 0;
281     width:100%;
282     position:relative;
283   }
284 }