MediaWiki:Common.css: відмінності між версіями

Матеріал з Вікі «Тетяна Череп-Пероганич»
Немає опису редагування
Мітка: Скасовано
Немає опису редагування
 
(Не показані 2 проміжні версії цього користувача)
Рядок 2: Рядок 2:
/** Прибирання заголовку першої сторінки */
/** Прибирання заголовку першої сторінки */
body.page-Ласкаво_просимо.action-view h1.firstHeading, body.page-Ласкаво_просимо.action-submit h1.firstHeading { display: none; }
body.page-Ласкаво_просимо.action-view h1.firstHeading, body.page-Ласкаво_просимо.action-submit h1.firstHeading { display: none; }
.infobox {
/** Шрифт */
   float: right;
body { font-family: Verdana, Geneva, sans-serif; }
   margin: 0 0 1em 1em;
/** Вирівнювання форм, створених через <inputbox>, ліворуч */
   border: 1px solid #a2a9b1;
form.mw-inputbox-form-inline {
   background: #f8f9fa;
    justify-content: left;
   color: #202122;
}
/** Адаптивна перша сторінка */
* {
  box-sizing: border-box;
}
 
/* Container for flexboxes */
.row {
   display: flex;
  flex-wrap: wrap;
}
 
/* Create four equal columns */
.column {
   flex: 25%;
   padding: 0px;
}
 
/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
   .column {
    flex: 50%;
   }
}
 
/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}
 
/* Для додаткового блока */
#p-privat {
    margin-bottom: 1em;
}
}


.infobox th {
#p-privat .pBody {
  background: #eaecf0;
    text-align: center;
  text-align: left;
  padding: 1px;
}
}


.infobox td {
#p-privat img {
  padding: 1px;
    max-width: 100%;
    height: auto;
}
}

Поточна версія на 23:58, 13 серпня 2026

/** Розміщений тут CSS буде застосовуватися до всіх тем оформлення */
/** Прибирання заголовку першої сторінки */
body.page-Ласкаво_просимо.action-view h1.firstHeading, body.page-Ласкаво_просимо.action-submit h1.firstHeading { display: none; }
/** Шрифт */
body { font-family: Verdana, Geneva, sans-serif; }
/** Вирівнювання форм, створених через <inputbox>, ліворуч */
form.mw-inputbox-form-inline {
    justify-content: left;
}
/** Адаптивна перша сторінка */
* {
  box-sizing: border-box;
}

/* Container for flexboxes */
.row {
  display: flex;
  flex-wrap: wrap;
}

/* Create four equal columns */
.column {
  flex: 25%;
  padding: 0px;
}

/* On screens that are 992px wide or less, go from four columns to two columns */
@media screen and (max-width: 992px) {
  .column {
    flex: 50%;
  }
}

/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .row {
    flex-direction: column;
  }
}

/* Для додаткового блока */
#p-privat {
    margin-bottom: 1em;
}

#p-privat .pBody {
    text-align: center;
}

#p-privat img {
    max-width: 100%;
    height: auto;
}