MediaWiki:Common.css

From Acadēmīa Latīnitātis
Revision as of 23:34, 1 January 2024 by Jācōbus (talk | contribs)

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.
/* 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;
  }
}