Difference between revisions of "MediaWiki:Common.css"

From Hayazg.info
Jump to: navigation, search
(Created page with "* Размещённый здесь CSS будет применяться ко всем темам оформления: body {background: #F0F0F0 } .mw-customtoggle-myD...")
 
(No difference)

Latest revision as of 19:06, 9 March 2017

/** Размещённый здесь CSS будет применяться ко всем темам оформления */

body {background: #F0F0F0 }

.mw-customtoggle-myDivision {
    float: right;
    width: 19em;
}

.table-top tr {
vertical-align: top;
}

.table-top tr td {
padding-top: 3px;
padding-right: 3px;
border-top:solid 1px #E0E0E0;
}

/* Fix Linebreak */
div#sendemail p {display: inline; }

.messagebox {border:thin solid #aaaaaa;background-color:#fff7e4;width:88%;margin:0 auto 1em auto;padding:.4em;vertical-align:middle;font-size: 90%}
.messagebox.merge {border: 1px solid #cf9fff;background-color: #fff7e4;text-align: center}
.messagebox.cleanup {border: 1px solid #9f9fff;background-color: #efefff;text-align: center}
.messagebox.standard-talk {border: 1px solid #c0c090;background-color: #f8eaba}
.messagebox .floatleft{vertical-align:middle;clear:both;margin:2px;padding:0;}
.messagebox .image{margin:0;padding:0;}

.infobox { border: 1px solid #aaaaaa; background-color: #FaFaFa; margin-bottom: 0.5em; margin-left: 1em; padding: .4em; float: right; clear: right; font-size: 100%; width: 20em; vertical-align:top}

/* Это для рамок-ссылок на Вики-сайты */
.infobox.sisterproject {background-color:#fff7e4}

/* Стиль заголовка на главной странице*/
.main-block {
margin:0 0 0 -12px;
padding:0 10px 0 12px;
background-color: #EDEFF9;
}

.main-block h2, .main-block h3, .main-block h1, .main-block h3 {
  border: none;
}
/* Стиль текста блока на главной странице*/
.main-block-content {padding: 12px 30px 10px 17px;  margin-bottom: 3ex; margin-top: -12px; }

/* Стиль заголовка на главной странице */
.main-title {background:#F2F5FD; padding:4px; margin-top:0.5em; }

/* Draft Category list*/
.member-counts {
    color: #CFCFCF;
}

a.draft:link{
    color: #9999cc;
}

a.draft:visited {
    color: #a28cc7;
}

a.draft:active {
    color: #ffcc66;
}

pre {
  padding: 0.8em; 
  font-size: 1.2em; 
}

/*Donations*/
#red-button
{
 background-image: url("/images/e/e4/Button-red.png");
 width: 158px;
 height: 27px;
 color: #fff;
 LINE-HEIGHT: 27px;
 font-weight: bold;
 text-align: center;
 display: table-cell;
 vertical-align: middle;
 font-family: Verdana, Arial, Helvetica,Tahoma,sans-serif;
}

#red-button a.external
{
 color: white;
 background: none;
 font-size: 1.2em;
 wdth:100%;
 height:100%;
}

.captcha {
 background-color: #FFDDCE;
}

ul#footer-counters li {
 font-size: 1em;
}

.CategoryTreeBullet {
 color: #CFCFCF;
}

/*
 * This file contains all the skinning rules for the RSSReader extension
 * if you want to change the look of the RSS feed to better suit your skin
 * then this is where you should make the changes. By default the reader
 * is coded to look good with monobook.
 * Alternatively to modifying the code in here, you could copy and paste it
 * into your wiki's [[MediaWiki:Common.css]] page and that way you can have 
 * different looks for different skins 
 */
 
.RSSReader-head {
  text-align: center;
  padding: 0.2em;
  border-bottom: 0.1em solid #aaa;
}
 
/*
 * Example CSS rules for use with the "text" parameter
 */
div.rss {
    margin: 0 0 20px 0;
    padding: 5px;
    border: 1px solid #D0D6F0;
}
div.rss h3 {
    background: #D0D6F0;
    padding: 2px 5px;
    margin: 0;
}
#content .rss h3 a { color: #4E507F } 

#last-news-head {
font-size:1.0em;
left:161px;
top:0.7em;
line-height:1.3em;
margin-right:170px;
padding:6px 0 0 6px;
position:absolute;
}

/*For Balloon contents*/
.bal-div 
{ 
	float: left;
	width: 200px;
 	min-height: 150px;
 	text-align: center;
}
.bal-div:hover 
{
	background: #f5f5f5;
}
.bal-div-home 
{
	max-width: 600px;
	min-height: 150px;
};