MediaWiki:Common.css

De Semantic MediaWiki - Sandbox

Note : après avoir enregistré vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou pressez Ctrl-F5 ou Ctrl-R (⌘-R sur un Mac).
  • Google Chrome : appuyez sur Ctrl-Maj-R (⌘-Shift-R sur un Mac).
  • Internet Explorer : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl-F5.
  • Opera : allez dans Menu → Settings (Opera → Préférences sur un Mac) et ensuite à Confidentialité et sécurité → Effacer les données d’exploration → Images et fichiers en cache.
/* CSS placed here will be applied to all skins */

/** MediaWiki
 * General tweaks
 */
.page-Main_Page .firstHeading,
.page-Main_Page .mw-redirectedfrom {
    display: none;
}

/** MediaWiki
 * Float Table of Contents on the right
 */
#toc, .toc {
    float: right;
}

/** MediaWiki
 * Make display of json-tables better in namespace MediaWiki
 */
.ns-8 .mw-json th,
.ns-8 .mw-json td {
    text-align: left;
}
.ns-8 .mw-json {
    margin-top: 15px;
}

/** BootstrapComponents
 * hide modal-backdrop (https://github.com/oetterer/BootstrapComponents/issues/8)
 */
.modal-backdrop {
	display: none;
}

/** BoodstrapComponents
 * get clear of the header elements (https://github.com/oetterer/BootstrapComponents/issues/8)
 */
.modal {
	top: 60px;
}

/** JSBreadCrumbs
 * Hide crumbs on Main Page
 */
.page-Main_Page .jsbc-breadcrumbs {
    display: none;
}

/** JSBreadCrumbs
 * Make crumbs less dominant
 */
.jsbc-breadcrumbs {
    background: none;
    border: none;
    left: -15px;
}

/** JSBreadCrumbs
 * Prevent killed outline template display
 */
 .page-SRF_Outline_Template_PhabListView .jsbc-breadcrumbs {
	display: none;
}

/** Mermaid
 * Add scrollbars to wide graphs
 */
.ext-mermaid > div {
	overflow: scroll;
}

/** Page Forms
 * Make the special inputs sane
 */
#pfForm .createboxInput,
#pfForm .mandatoryField,
#pfForm textarea {
    background: #f7f7f7 none repeat scroll 0 0;
}
#pfForm select.monthInput,
#pfForm select.ampmInput {
    background: #f7f7f7 none repeat scroll 0 0;
}

/** Semantic MediaWiki
 * Further emphasise links to special properties.
 */
.smwbuiltin a,
.smwbuiltin a.new {
    color: #ff8000;
}

/** Semantic MediaWiki
 * Beautify box containing semantic help.
 */
.smw-editpage-help {
    padding: 1em;
}

/** Semantic MediaWiki
 * Set quantities to the right
 */
.table-quantity-right-align .smwtype_qty {
    text-align: right;
}

/** Semantic MediaWiki
 * Make table header row more distinct
 */
.smwtable-clean.sortable.jquery-tablesorter thead {
	background: #e8e8e8;
}

/** Semantic Cite
 * Unconfuse link to subobject
 */
.scite-citation-resourcelink a:before {
	content: "↘";
}

/** Title Icon
 * make icons less dominant
 */
#firstHeading.firstHeading a img {
	max-width: 25px;
	max-height: 25px;
	padding-bottom: 5px;
}

/** Whats Nearby
 * To position something on the right side
 * See #nearby
 */
.right-side {
	margin: 0 0 0.5em 1em;
	border-collapse: collapse;
	border: 1px solid #fff;
	background: #fff;
	float: right;
	clear: right;
	width: 250px;
}

/** Example specific adapations
 * Flora of North America
 */
.taxon-hierarchy .higher-taxa {
    margin: -5px 0 0 0;
    display: flex;
    justify-content: space-between;
}
.higher-taxon {
    display: inline-block;
    margin-right: 5px;
}
.higher-taxon small {
    padding-right: 5px;
}

/** Example specific adapations
 * YouTube links in rendered tables
 */
td.YouTube.smwtype_eid span.plainlinks.smw-eid a.external.text {
	font-family: monospace;
}
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.