MediaWiki:Monobook.css

Матеріал з Wikiситет
Версія від 10:18, 17 вересня 2015, створена Олександр Юрійович Старовєров (обговорення | внесок) (Створена сторінка: →‎edit this file to customize the monobook skin for the entire site: →‎Don't display some stuff on the main page: body.page-Головна_сторінк...)
(різн.) ← Попередня версія | Поточна версія (різн.) | Новіша версія → (різн.)
Перейти до навігації Перейти до пошуку

Увага: Після збереження слід очистити кеш оглядача, щоб побачити зміни.

  • Firefox / Safari: тримайте Shift, коли натискаєте Оновити, або натисніть Ctrl-F5 чи Ctrl-Shift-R (⌘-R на Apple Mac)
  • Google Chrome: натисніть Ctrl-Shift-R (⌘-Shift-R на Apple Mac)
  • Internet Explorer / Edge: тримайте Ctrl, коли натискаєте Оновити, або натисніть Ctrl-F5
  • Opera: натисніть Ctrl-F5
/* edit this file to customize the monobook skin for the entire site */

/* Don't display some stuff on the main page */
body.page-Головна_сторінка #lastmod, 
body.page-Головна_сторінка #siteSub, 
body.page-Головна_сторінка #contentSub, 
body.page-Головна_сторінка h1.firstHeading {
    display: none !important;
}


/****************************/
/* BEGIN LIGHT BLUE SECTION */
/****************************/
/* Make all non-namespace pages have a light blue content area. This is done by
   setting the background color for all #content areas to light blue and then
   overriding it for any #content enclosed in a .ns-0 (main namespace). I then
   do the same for the "tab" background colors. --Lupo */

#content {
    background: #F8FCFF; /* a light blue */
}

#content div.thumb {
    border-color: #F8FCFF;
}

.ns-0 * #content {
    background: white;
}

#mytabs li {
    background: #F8FCFF;
}

.ns-0 * #mytabs li {
    background: white;
}

#mytabs li a {
    background-color: #F8FCFF;
}

.ns-0 * #mytabs li a {
    background-color: white;
}

#p-cactions li {
    background: #F8FCFF;
}

.ns-0 * #p-cactions li {
    background: white;
}

#p-cactions li a {
    background-color: #F8FCFF;
}

.ns-0 * #p-cactions li a {
    background-color: white;
}

.ns-0 * #content div.thumb {
    border-color: white;
}

/**************************/
/* END LIGHT BLUE SECTION */
/**************************/

/* Display "З Вікіпедії, вільної енциклопедії" */
#siteSub {
    display: inline;
    font-size: 95%;
    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; }

#pt-login {
  font-weight: bold;
  font-size: 110%;
}

@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 }
}

.toccolours { 
   border:1px solid #aaaaaa;
   background-color:#f9f9f9;
   padding:5px;
   font-size: 95%;
}

/* For positioning icons at top-right, used in Templates
   "Spoken Article" and "Featured Article" */
div.topicon {
    position: absolute; 
    z-index: 10; 
    top: 10px;
    display: block !important;
}

/* В меню навигація робим підкреслення лише при
наведені мишею */

.portlet a {
   text-decoration: none;
}

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

/* fenetre arrondi (pour les navigateurs moz/firefox/gecko) */
.pBody 
{
   -moz-border-radius-topright: 1em;
}

#p-cactions ul li, #p-cactions ul li a 
{  
  -moz-border-radius-topright: 1em;
/*  -moz-border-radius-topleft: 0.5em; */
}
#content
{
  -moz-border-radius-topleft: 1em;
}



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

#mw-searchButton
{
    padding-left: 0.1em;
    padding-right: 0.2em;
}

#siteNotice {
    margin-top:5px;
    padding-left: 4px;
    font-style: italic;
    text-align: center;
}

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

/* для редагування нульової секції */
.editsection { float: right; margin-left: 5px; }

#p-search
{
   position: relative; 
   top: 5px;
}

#p-navigation
{
   position: relative; 
   top: 5px;
}

#p-tb
{
   position: relative; 
   top: 5px;
}

div.topicon {
  position:absolute; 
  z-index:100; 
  top:10px;
  display: block !important;
}

/* try adding here, this had no effect in [[MediaWiki:Common.css]] */
.plainlinksneverexpand a.external.text:after {
 display: none !important
}

li.FA {
  list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/f/f5/FA_gold_ukr.png/9px-FA_gold_ukr.png");
}

li.GA {
  list-style-image: url("//upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Dobra6.png/9px-Dobra6.png");
}
#userSummaryButtonsA a {
    background: #C2F2FF;
    border: 1px solid #9BD5F5;
    padding: 0px 2px;
    margin: 2px;
    cursor: pointer;
    font-size: 80%;
    line-height: 17px;
    color: #5B5B5B;
}
 
#userSummaryButtonsA a:hover {
    background: #B1EBFF;
    border: 1px solid #64BDF0;
    text-decoration:none;
    color:#000000;
}
/* {Right-uppermost image} */
.floating_object {
 position: absolute;
 right: 10px !important;
 top: 10px !important;
 z-index: 100;
 overflow: hidden;
}