« MediaWiki:Common.css » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(Annulation des modifications 49931 de Kghbln (discussion) does not work for medik) Balise : Annulation |
||
(5 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 69 : | Ligne 69 : | ||
.ext-mermaid > div { | .ext-mermaid > div { | ||
overflow: scroll; | 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; | |||
} | } | ||
Ligne 98 : | Ligne 111 : | ||
.smwtable-clean.sortable.jquery-tablesorter thead { | .smwtable-clean.sortable.jquery-tablesorter thead { | ||
background: #e8e8e8; | background: #e8e8e8; | ||
} | } | ||
Dernière version du 22 novembre 2020 à 00:01
/* 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;
}