MediaWiki:Common.css

The educational technology and digital learning wiki
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  margin: 5px 0 0;
 66  padding: 0.3em 0.2em 0.2em 0.2em;
 67  border: 1px black solid;
 68 }
 69 
 70 table.formtable caption {
 71  text-align:left;
 72  font-size:12pt;
 73 }
 74 
 75 /* Infobox template style */
 76 
 77  .infobox {
 78    border: 1px solid #aaaaaa;
 79    width:270px;
 80    background-color: #f9f9f9;
 81    color: black;
 82    margin-bottom: 0.5em;
 83    margin-left: 1em;
 84    padding: 0.2em;
 85    float: right;
 86 }
 87 .infobox td,
 88 .infobox th {
 89    border: 2px none #aaaaaa;
 90    padding: 0.2em 0.5em;
 91    border-bottom: 1px solid #f0f0f0 !important;
 92 }
 93 .infobox caption {
 94    font-size: larger;
 95    margin-left: inherit;
 96 }
 97 .infobox.bordered {
 98    border-collapse: collapse;
 99 }
100 .infobox.bordered td,
101 .infobox.bordered th {
102    border: 1px solid #aaaaaa;
103 }
104 .infobox.bordered .borderless td,
105 .infobox.bordered .borderless th {
106    border: 0;
107 }
108 
109 .infobox.sisterproject {
110    width: 20em;
111    font-size: 90%;
112 }
113 
114 /* styles for bordered infobox with merged rows */
115 .infobox.bordered .mergedtoprow td,
116 .infobox.bordered .mergedtoprow th {
117    border: 0;
118    border-top: 1px solid #aaaaaa;
119    border-right: 1px solid #aaaaaa;
120 }
121 
122 .infobox.bordered .mergedrow td,
123 .infobox.bordered .mergedrow th {
124    border: 0;
125    border-right: 1px solid #aaaaaa;
126 }
127 
128 
129 /* Removes useless links from printout */
130 @media print {
131     .portlet, #privacy, #about, #disclaimer {display:none;}
132 }
133 
134 /* Banner Styles used in EduTech wiki 
135  - use class names like Banner_xxxx
136  */
137 
138 .Banner_incomplete {
139   float:right;
140   clear:right;
141   width:200px;
142   border:1px solid orange;
143   background-color:#FFFACD;
144   padding:7px; 
145   margin-bottom: 10px;
146   margin-left: 1em;
147 }
148 
149 .Banner_tutorial {
150   float:right;
151   clear:right;
152   width:200px;
153   border:1px solid blue;
154   background-color:#F8C9E4;
155   padding:7px; 
156   margin-bottom: 10px;
157   margin-left: 1em;
158 }
159 
160 .tut_goals{
161   background-color:#F8C9E4;
162   padding:7px; 
163   margin-bottom: 10px;
164   border:1px solid #AAAAAA;
165 }
166 
167 .Banner_copyright{
168   background-color:#d0f0c0;
169   padding:7px; 
170   margin-bottom: 10px;
171   border:1px solid #AAAAAA;
172 }
173 
174 /* Style for the source code tag */
175 
176 .actionscript{
177   background-color:#FFFFEE;
178   padding:7px; 
179   margin-bottom: 10px;
180   border:1px #AAAAAA solid;
181 }
182 
183 /* Tag cloud extension CSS */
184 
185 .tagcloud {
186 	width: 95%;
187 	text-align: center;
188 	background-color: #FDFDFD;
189 	border: 1px solid #EEEEEE;
190 	padding: 15px 10px 15px 10px;
191  }
192  .tagcloud a {
193 	color: #0052CB;
194 	margin-left: 10px;
195 	margin-right: 10px;
196 	font-weight: bold;
197  }
198 
199 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
200 ul.pageby {
201     border:1px solid #60606F;
202     background-color:#E0E0EF;
203     font-size: 80%;
204     margin:1ex;
205     padding:1ex;
206     list-style-type:none;
207   }
208 
209 /* category tree - first is just for portlet - second for all trees */
210 #p-categorytree-portlet {font-size: 85% } 
211 .CategoryTreeTag {font-size: 85%; }
212 
213 /* Syntaxhighlight geshi */
214 div.mw-geshi {
215   border: 1px dotted grey;
216   padding: 2px; 
217   margin-left:1em;
218   margin-top:2px;
219   margin-right:2px;
220   margin-bottom:2px;
221   font-size: 120%
222 }
223 
224 code {
225   border: 1px solid #ddd;
226   padding: 1px 4px;
227   border-radius: 2px;
228 }
229 
230 /*
231 </pre>
232  */