MediaWiki:Common.css: Difference between revisions

Import from wiki-src
Import from wiki-src
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
/* Main Page: no title, no tagline */
/* Main Page: no title, no tagline */
body.page-Main_Page.action-view .mw-first-heading,
body.page-Main_Page.action-view .mw-first-heading,
body.page-Main_Page.action-view #siteSub { display: none; }
body.page-Main_Page.action-view #siteSub,
body.page-మొదటి_పేజీ.action-view .mw-first-heading,
body.page-మొదటి_పేజీ.action-view #siteSub { display: none; }


/* Wordmark and tagline are dark SVG text; flip them in dark mode */
/* Dark mode for the wordmark and tagline needs no rule here: Vector puts
html.skin-theme-clientpref-night .mw-logo-wordmark,
  .skin-invert on .mw-logo-container, which already inverts them. */
html.skin-theme-clientpref-night .mw-logo-tagline { filter: invert(1) hue-rotate(180deg); }
@media screen and (prefers-color-scheme: dark) {
  html.skin-theme-clientpref-os .mw-logo-wordmark,
  html.skin-theme-clientpref-os .mw-logo-tagline { filter: invert(1) hue-rotate(180deg); }
}


/* ---------------------------------------------------------------- Infobox */
/* ---------------------------------------------------------------- Infobox */
Line 179: Line 176:
.mp-areas { display: flex; flex-wrap: wrap; gap: 0.4em 1.5em; }
.mp-areas { display: flex; flex-wrap: wrap; gap: 0.4em 1.5em; }
.mp-areas > div { flex: 1 1 14em; }
.mp-areas > div { flex: 1 1 14em; }
/* ------------------------------------------------ Block quotations {{Quote}} */
blockquote.templatequote { margin: 1em 1.6em; padding: 0 0 0 0.8em; border-left: 3px solid var(--border-color-subtle, #c8ccd1); }
blockquote.templatequote .templatequotecite { margin-top: 0.3em; font-size: 95%; }
/* ------------------------------------------- File description table (Commons style) */
table.fileinfotpl { width: 100%; }
table.fileinfotpl th { text-align: left; vertical-align: top; background-color: var(--background-color-neutral, #eaecf0); }


/* ------------------------------------------------------------- Phones */
/* ------------------------------------------------------------- Phones */