« MediaWiki:Common.css » : différence entre les versions
De Semantic MediaWiki - Sandbox
(chg) |
(add) |
||
Ligne 156 : | Ligne 156 : | ||
color: red; | color: red; | ||
width: 100%; | width: 100%; | ||
} | |||
.smwtable-clean.doctable.sortable.jquery-tablesorter thead tr th.headerSort { | |||
width: 200px; | |||
} | } |
Version du 28 mars 2020 à 21: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;
}
/** 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;
}
.doctable {
color: red;
width: 100%;
}
.smwtable-clean.doctable.sortable.jquery-tablesorter thead tr th.headerSort {
width: 200px;
}