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

De EduTech Wiki
Aller à la navigation Aller à la recherche
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 151 : Ligne 151 :
/* Contribution Scores */
/* Contribution Scores */
.contributionscores-wrapper {  font-size: 80%; }
.contributionscores-wrapper {  font-size: 80%; }
.contributionscores-title  { .0em; }
.contributionscores-title  { padding-left: 0em; }
.contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
.contributionscores .header { border-bottom: 1px solid #999999; font-weight: bold; }
.contributionscores .odd    { background-color: #eeeeee; }
.contributionscores .odd    { background-color: #eeeeee; }

Version du 11 octobre 2013 à 16:01

  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   { padding-left: 0em; }
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 /*
160 </pre>
161 */