MediaWiki:Minerva.css

From Decimal Wiki
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* All CSS here will be loaded for users of the MinervaNeue skin */

/* Поле ввода */
.input {
   border: 1px solid #cccccc; 
   border-radius: 3px; 
   background: #ffffff !important; 
   outline: none; 
   height: 24px; 
   width: 100px; 
   color: #cccccc; 
   font-size: 10px; 
   font-family: Tahoma; 
}

#wpTextbox1 {
	font-family: monospace; /* instead of the default (sans-serif) */
}

/*
 * Этот файл содержит приоритетные стили *только* для мобильной версии.
 * Приоритетные стили для всего сайта находятся в [[MediaWiki:Gadget-common-site.css]]
 * Неприоритетные стили для мобильной версии находятся в [[MediaWiki:Mobile.css]]
 * См. [[MediaWiki:Gadget-common-site.css]] об инструкциях по редактированию общих стилей.
 */

/* Исправление бага с цитатами, см. [[phab:T361299]] */
blockquote {
	margin: 0;
}

/* Исправление бага с заголовками, см. [[phab:T316670]] */
.content .mw-parser-output .mw-heading,
.content .mw-parser-output h2,
.content .mw-parser-output h3,
.content .mw-parser-output h4 {
	min-width: 10em;
}

/* Исправление бага с FlaggedRevs, см. [[phab:T364587]] */
div.flaggedrevs_diffnotice,
div.flaggedrevs_preview {
	color: var(--color-subtle, #54595d);
}

/* Исправление бага с ячейками */
.infobox th[scope="row"] {
	text-align: left;
}

#mw-fr-revisiontag {
	display: none;
}

/* Перезапись поставляемого со скином .hlist в области контента */
#content .hlist dd,
#content .hlist dt,
#content .hlist li {
    margin: 0;
    display: inline;
}

#content .hlist ol ol,
#content .hlist ul ol,
#content .hlist ol ul,
#content .hlist ul ul {
    margin: 0;
}

.footer-info.hlist-separated li:after {
	content: none !important;
}

/* Навигационный шаблон */
.navbox table {
	margin: 0;
	width: 100% !important;
}
td.navbox-image img {
	max-width: none !important;
}

/* Компоненты карточки */
.infobox-above {
	font-size: 120%;
	text-align: center;
	background: var(--background-color-disabled-subtle, #eaecf0);
}
.infobox-image {
	text-align: center;
}
.infobox-header {
	text-align: center;
	background: var(--background-color-disabled-subtle, #eaecf0);
}

.infobox-below {
	text-align: center;
}

/* Таблицы в карточках */
.content table.infobox table:not(.infobox) {
	margin: 0;
}
.content table.infobox table:not(.infobox):not(.infobox-inherit) td {
    width: initial;
    padding: initial;
}

/* [[Заглавная страница]] ------------------------- */
@media (max-width: 875px) {
	.page-Main_Page.action-view #content {
		background-color: var(--background-color-interactive);
	}
	.page-Main_Page.action-view .header-container.header-chrome {
		box-shadow: none; 
	}
}