MediaWiki:Monobook.css: различия между версиями

Материал из Абсурдопедии
Перейти к навигацииПерейти к поиску
м (а если я убью эту штуку?)
(I really hate Wikia because of THIS)
Строка 1: Строка 1:
 
/* <pre> */
 
/* <pre> */
 +
 +
@import url("/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css");
  
 
body
 
body

Версия от 11:20, 8 сентября 2010

/* <pre> */

@import url("/index.php?title=MediaWiki:Common.css&action=raw&ctype=text/css");

body
{
    background-image: url(/skins/monobook/headbg.jpg);
    background-repeat: no-repeat;
    background-color: #f9f9f9;
}
code, pre { font-size: 10pt; }
a { text-decoration: none }

body.with-adsense #content { margin-right: 0.2em ! important; }
#column-google { display : none; }

/* Donations link to be uncommented during fundraising drives  */
#siteNotice {
    margin-top:5px;
    padding-left: 4px;
    text-align: center;
}
/* #fundraising {
 text-align: center;
 border: 1px solid gray;
 padding: 5px;
}
*/

/* Для АбсурдоРекламы ([[Абсурдопедия:Реклама]]) */
#p-lolads .pBody { padding-left: 3px; }

h1.firstHeading {
  padding-top: .7em;
}

#p-cactions { width: 80%; }
    /* patch to prevent vertical stacking of tabs
    at top of page in IE6 at resolutions of 800x600;
    this stacking occured in main namespace pages only
    for sysops, as they have the additional "protect"
    and "delete" tabs at the top of the page;
    original width before patch was 76%;
    this patch prevents stacking in main namespace pages
    but not in certain special pages,
    which have tabs that are of greater width --Lowellian */

/* Display "Материал из Абсурдопедии" */
#siteSub {
    display: inline;
    font-size: 120%;
    font-weight: normal;
}
#bodyContent #siteSub a {
    color: #000;
    text-decoration: none;
    background-color: transparent;
    background-image: none;
    padding-right: 0;
}

/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a { font-weight: bold !important; }

/* Display "User $1, you are already logged in!"
   ([[MediaWiki:Alreadyloggedin]]) in red and bold */
div.alreadyloggedin { color: red; font-weight: bold; }

@media print {
    /* Do not print edit link in templates using Template:Ed
       Do not print certain classes that shouldn't appear on paper */
    .editlink, .noprint, .metadata, .dablink { display: none }
}

/* Style for "notices" */
.notice {
    text-align: justify;
    margin: 1em 0.5em;
    padding: 0.5em;
}

#disambig {
    border-top: 3px double #cccccc; 
    border-bottom: 3px double #cccccc;
}


/* Accessibility experiment: make diff changes not just colour-based */ 

.diffchange {
    font-weight: bold;
    background-color: inherit;
}

td.diff-addedline, td.diff-deletedline, td.diff-context {
    font-size: 85%;
    color: inherit;
}

/* extra buttons for edit dialog (from bg:)*/

 #my-buttons {
   padding: 0.5em;
 }
 #my-buttons a {
   color: black;
   background-color: #ccddee;
   font-weight: bold;
   font-size: 0.9em;
   text-decoration: none;
   border: thin #006699 outset;
   padding: 0 0.1em 0.1em 0.1em;
 }
 #my-buttons a:hover, #my-buttons a:active {
   background-color: #bbccdd;
   border-style: inset;
 }

/*
Это нужно чтобы в окошке поиска кнопки не разбивались на 2 строки
к сожалению в main.css для кнопки Go прописаны паддинги .5em.
Что хорошо для "Go" плохо для "Перейти" --st0rm
*/
#searchGoButton {
    padding-left: 0em;
    padding-right: 0em;
    font-weight: bold;
}

/* by SergV */

@media print {
   /* Bug 1583 */
   .tright {clear: right;}
   /* рамка вокруг навигационных шаблонов */
   .toccolours {border: 1px solid #aaa;}
   /* линия над списком категорий */
   #catlinks {
       border-top: 1px solid black;
       margin-top: 1em;
       clear: both;
   }
}

/* В меню навигация делаем подчеркивания, только при
наведении мыши, как в английском разделе */

.portlet a {
   text-decoration: none;
}

.portlet a:hover {
   text-decoration: underline;
}

/* Скруглённые углы, для Gecko браузеров, из итальянского раздела */
.pBody {
   padding: 0.1em 0.1em;
   -moz-border-radius-topright: 0.5em;
}
#p-cactions ul li, #p-cactions ul li a {  
  -moz-border-radius-topright: 0.5em;
  -moz-border-radius-topleft: 0.5em;
}
#content {
  -moz-border-radius-topleft: 0.5em;
}

/* для {{sysdep}} */
#winds_only, #linux_only { display: none; }

/* prettytable */
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
table.prettytable th {
  background: #f2f2f2;
  text-align: center;
}
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-size: larger;
  font-weight: bold;
}

/* Делаем так, чтобы ссылки «править» для разделов не плыли рядом с картинками */
h1,h2,h3,h4,h5,h6{background:none;font-weight:normal;margin:0;padding-top: .5em;padding-bottom: .17em;border-bottom:1px solid #aaa;overflow:hidden}h1{font-size:188%}h1
.editsection{font-size:53%}h2{font-size:150%}h2
.editsection{font-size:67%}h3,h4,h5,h6{border-bottom:none;font-weight:bold}h3{font-size:132%}h3
.editsection{font-size:76%;font-weight:normal}h4{font-size:116%}h4
.editsection{font-size:86%;font-weight:normal}h5{font-size:100%}h5
.editsection{font-weight:normal}h6{font-size:80%}h6
.editsection{font-size:125%;font-weight:normal}

/* Логотип Абсурдилища */
body.ns-112 #p-logo a { background-image: url(http://images4.wikia.nocookie.net/absurdopedia/images/thumb/d/d1/Recycle-006a.png/150px-Recycle-006a.png) !important; }
body.ns-113 #p-logo a { background-image: url(http://images4.wikia.nocookie.net/absurdopedia/images/thumb/d/d1/Recycle-006a.png/150px-Recycle-006a.png) !important; }

/* </pre> */