MediaWiki:Common.css: Difference between revisions

From Acadēmīa Latīnitātis
No edit summary
Tag: Manual revert
No edit summary
Tag: Reverted
Line 51: Line 51:
pre var, code var {
pre var, code var {
color: #777;
color: #777;
}
/* Make table of contents always visible to the right, if width is big enough*/
@media screen and (min-width: 800px) {
  #toc {
    float: right;
    position: fixed;
    top: 150px;
    margin: 0 0 1em 1em;
    right: 2em;
    width: 20em;
  }
  #mw-content-text {
    padding-right: 22em;
  }
}
}

Revision as of 22:34, 1 January 2024

/* CSS placed here will be applied to all skins */

.wikitable.mw-collapsible.mw-collapsed.mw-collapse-toggle {
	float:right!important;
}

.wikitable b {
	float:left!important;
}

.mw-redirect {     font-style: normal; }

:not(wikitable) .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible) th:before, .mw-content-rtl .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible) th:before, .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible):before, .mw-content-rtl .mw-content-ltr .mw-collapsible:not(.mw-made-collapsible):before, .mw-content-ltr .mw-collapsible-toggle, .mw-content-rtl .mw-content-ltr .mw-collapsible-toggle {
	float: none;
	left:5px;
}

body.page-Main_Page.action-view h1.firstHeading, body.page-Main_Page.action-submit h1.firstHeading { display: none; }

/* csslint adjoining-classes:false */
/* See also [[Special:Mypage/vector.css]], [[MediaWiki:Vector.css]] */

/* make headers include contained floats, so they don't wander around (yes, is
	magic, it tells the browser the tag is a container) */
h1,
h2,
h3,
h4,
h5,
h6 {
	width: auto;
}

sup,
sub { /* prevent odd line-height for raised and lowered characters */
	line-height: 1em;
}

/* and keep links at normal font size/weight, else they inherit the header
	attributes */
.editsection {
	font-size: 100%;
	font-weight: normal;
}

pre code, code code {
	border: none;
	padding: 0;
}

pre var, code var {
	color: #777;
}

/* Make table of contents always visible to the right, if width is big enough*/
@media screen and (min-width: 800px) {
  #toc { 
    float: right;
    position: fixed;
    top: 150px;

    margin: 0 0 1em 1em;
    right: 2em; 
    width: 20em;
  }

  #mw-content-text {
    padding-right: 22em;
  }
}