MediaWiki:Common.css
Матеріал з Енциклопедія Носівщини
Версія від 17:32, 9 серпня 2026, створена Perohanych (обговорення | внесок)
Увага: Після збереження слід очистити кеш оглядача, щоб побачити зміни.
- Firefox / Safari: тримайте Shift, коли натискаєте Оновити, або натисніть Ctrl-F5 чи Ctrl-Shift-R (⌘-R на Apple Mac)
- Google Chrome: натисніть Ctrl-Shift-R (⌘-Shift-R на Apple Mac)
- Internet Explorer: тримайте Ctrl, коли натискаєте Оновити, або натисніть Ctrl-F5
- Opera: очистіть кеш за допомогою Інструменти → Налаштування (Opera → Побажання на Apple Mac) та перейдіть на Приватність & безпека → очистити дані браузера → кеш
/** Розміщений тут 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 h3 {
margin-bottom: 0.5em;
}
#p-privat .pBody {
text-align: center;
}
#p-privat img {
max-width: 100%;
height: auto;
}
*/