« MediaWiki:Common.css » : différence entre les versions

De EduTech Wiki
Aller à la navigation Aller à la recherche
mAucun résumé des modifications
Aucun résumé des modifications
Ligne 182 : Ligne 182 :
line-height:2.5em;
line-height:2.5em;
}
}
.tableBlue{
margin:auto;
background: #f9f9f9;
border-collapse: collapse;
width:90%;
text-align:center;
}
.tableBlue td{
border: 1px #aaaaaa solid;
padding:8px !important;
}
.tableBlue th{
background: rgb(200,220,240);
text-align: center;
font-weight:bold;
color:rgb(120,140,180);
padding: 8px 15px 8px 15px;
}
.tableBlue tr.row-odd{background:white;}
.tableBlue tr.row-even{background:rgb(235,245,255);}


/*
/*
</pre>
</pre>
*/
*/

Version du 27 octobre 2013 à 16:58

  1 /** Le CSS placé ici sera appliqué à toutes les apparences. */
  2 
  3 /*
  4 <pre>
  5 */
  6 
  7 /*front page */
  8 @media screen {
  9 #front_left {padding:3px; float:left; width:57%; border:1px solid #006699; background: #EAF5FB;}
 10 #front_right {float:left; width:40%; background: #FAF9EC; border:1px solid #996600; margin-left: 4px; padding: 3px;}
 11 div.front_title {background:#E2C4E8; font-size:large; border-bottom:1px solid #996600;border-top:1px solid #996600;}
 12 }
 13  
 14 @media print handheld {
 15 #front_left {}
 16 #front_right {}
 17 }
 18 
 19 /* Space out main section titles */
 20 h2 {margin-top:2.5ex;}
 21 h3 {margin-top:1ex;}
 22 
 23 table.wikitable,
 24 table.prettytable {
 25   margin: 1em 1em 1em 0;
 26   background: #f9f9f9;
 27   border: 1px #aaaaaa solid;
 28   border-collapse: collapse;
 29 }
 30  
 31 table.wikitable th, table.wikitable td,
 32 table.prettytable th, table.prettytable td {
 33   border: 1px #aaaaaa solid;
 34   padding: 0.2em;
 35 }
 36  
 37 table.wikitable th,
 38 table.prettytable th {
 39   background: #f2f2f2;
 40   text-align: center;
 41 }
 42  
 43 table.wikitable caption,
 44 table.prettytable caption {
 45   margin-left: inherit;
 46   margin-right: inherit;
 47 }
 48 
 49 /* Removes useless links from printout */
 50 @media print {
 51     .portlet, #privacy, #about, #disclaimer {display:none;}
 52 }
 53 
 54 
 55 /* Banner Styles used in EduTech wiki 
 56  - use class names like Banner_xxxx
 57  */
 58 
 59 .Banner_incomplete {
 60   float:right;
 61   clear:right;
 62   width:200px;
 63   border:1px solid orange;
 64   background-color:#FFFACD;
 65   padding:7px; 
 66   margin-bottom: 10px;
 67   margin-left: 1em;
 68 }
 69 
 70 /* See http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/PageBy/README */
 71 ul.pageby {
 72     border:1px solid #60606F;
 73     background-color:#E0E0EF;
 74     font-size: 80%;
 75     margin:1ex;
 76     padding:1ex;
 77     list-style-type:none;
 78   }
 79 
 80 .Banner_tutorial {
 81   float:right;
 82   clear:right;
 83   width:200px;
 84   border:1px solid blue;
 85   background-color:#F8C9E4;
 86   padding:7px; 
 87   margin-bottom: 10px;
 88   margin-left: 1em;
 89 }
 90 
 91 .tut_goals{
 92   background-color:#F8C9E4;
 93   padding:7px; 
 94   margin-bottom: 10px;
 95   border:1px solid #AAAAAA;
 96 }
 97 
 98 .Banner_copyright{
 99   background-color:#d0f0c0;
100   padding:7px; 
101   margin-bottom: 10px;
102   border:1px solid #AAAAAA;
103 }
104 
105 .tagcloud {
106 	width: 95%;
107 	text-align: center;
108 	background-color: #FDFDFD;
109 	border: 1px solid #EEEEEE;
110 	padding: 15px 10px 15px 10px;
111  }
112 .tagcloud a {
113 	color: #0052CB;
114 	margin-left: 10px;
115 	margin-right: 10px;
116 	font-weight: bold;
117  }
118 
119 code {
120   border: 1px solid #ddd;
121   padding: 1px 4px;
122   border-radius: 2px;
123 }
124 
125 /* category tree - first is just for portlet - second for all trees */
126 #p-categorytree-portlet {font-size: 80% }
127 .CategoryTreeTag {font-size: 95%; }
128 
129 /* Syntaxhighlight geshi */
130 div.mw-geshi {
131   border: 1px dotted grey;
132   padding: 2px; 
133   margin-left:1em;
134   font-size: 120%;
135   margin-top:2px;
136   margin-right:2px;
137   margin-bottom:2px
138  }
139 
140 
141 .sidebar_banner {
142  margin-top: 5px;
143  margin-bottom: 5px;
144 }
145 
146 h3 .editsection { font-size: 76%; font-weight: normal; }
147 h4 .editsection { font-size: 86%; font-weight: normal; }
148 h5 .editsection { font-weight: normal; }
149 h6 .editsection { font-size: 125%; font-weight: normal; }
150 
151 /* Contribution Scores */
152 .contributionscores-wrapper {  font-size: 80%; }
153 .contributionscores-title   { margin-left: 0; padding-left: 0em; margin-bottom: 0;}
154 .contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
155 .contributionscores .odd     { background-color: #eeeeee; }
156 .contributionscores .header td   { padding-left: .2em; padding-right: .2em; }
157 .contributionscores .content   { padding-left: .2em; padding-right: .2em; }
158 
159 .GoBlock{
160 -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
161 -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
162 box-shadow:inset 0px 1px 0px 0px #ffffff;
163 background:rgb(200, 230, 140);
164 background-image: linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
165 background-image: -webkit-linear-gradient(rgb(200, 230, 140), rgb(160, 190, 100));
166 -webkit-border-radius: 6px;
167 -moz-border-radius: 6px;
168 border-radius: 6px;
169 text-indent:0;
170 border:1px solid rgb(155,185,95);
171 display:inline-block;
172 color:#333333;
173 font-family:arial;
174 font-size:13px;
175 font-style:normal;
176 text-decoration:none;
177 -webkit-box-sizing: border-box;
178 -moz-box-sizing: border-box;
179 box-sizing: border-box;
180 padding:0px 8px;
181 text-align:center;
182 line-height:2.5em;
183 }
184 
185 .tableBlue{
186 margin:auto;
187 background: #f9f9f9;
188 border-collapse: collapse;
189 width:90%;
190 text-align:center;
191 }
192 
193 .tableBlue td{
194 border: 1px #aaaaaa solid;
195 padding:8px !important;
196 }
197 
198 .tableBlue th{
199 background: rgb(200,220,240);
200 text-align: center;
201 font-weight:bold;
202 color:rgb(120,140,180);
203 padding: 8px 15px 8px 15px;
204 }
205 
206 .tableBlue tr.row-odd{background:white;}
207 .tableBlue tr.row-even{background:rgb(235,245,255);}
208 
209 
210 
211 
212 /*
213 </pre>
214 */