MediaWiki talk:Common.css

Wikipedia कडून

Somebody needs to add this CSS to this file. This is used to display the Infoboxes on the right side of the page.

I have created a template Template:चौकट महाविद्यालय which needs this class. The example of this template is at शासकीय अभियांत्रिकी महाविद्यालय, पुणे. (Currenly I'm using class 'toc' with float:right to achive a similar effect.) But I think it is good idea to have this CSS class.

/* Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}

I have taken this code from en:MediaWiki:Common.css.