MediaWiki:Common.css: Difference between revisions

From Coral Island Wiki
Jump to navigation Jump to search
(testing docuemntation)
Tag: Reverted
No edit summary
Tag: Manual revert
Line 23: Line 23:
.icon-list .custom-icon {
.icon-list .custom-icon {
   display:block;
   display:block;
}
/* Documentation */
/**
* CSS for [[Module:Documentation]] and [[Template:Documentation]]
*/
/**
* ======================
* Template documentation
* ======================
*/
.template-documentation {
border: 1px solid #CCC;
margin: 1em 0;
}
.template-documentation .template-documentation-header {
background-color: #EEE;
border-bottom: 1px solid #CCC;
border-color: var(--theme-border-color, #CCC);
padding: 1em;
}
.template-documentation .template-documentation-langs {
background-color: #F6F6F6;
border-bottom: 1px solid #CCC;
border-color: #CCC;
display: flex;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
padding-bottom: 0.5em
}
.template-documentation .template-documentation-langs li {
margin: 0 0 0 1em;
padding: 0.5em 0 0;
}
.template-documentation .template-documentation-langs li.selected {
order: -1;
}
.template-documentation .template-documentation-langs li.selected a {
color: black;
font-weight: bold;
}
.template-documentation .template-documentation-content {
overflow-y: auto;
padding: 1em;
}
.template-documentation .template-documentation-footer {
background-color: #EEE;
border-top: 1px solid #CCC;
border-color: #CCC;
font-size: 100%;
padding: .5em 1em;
text-align: right;
}
}

Revision as of 13:19, 21 December 2023

/* Imports caching */
@import url("/load.php?mode=articles&articles=MediaWiki:MessageBox.css|MediaWiki:Module:Documentation.css|MediaWiki:Documentation.css&only=styles");

/* For convenience on list of imported stuff:
   MediaWiki:Module:Documentation.css
   MediaWiki:Documentation.css
*/

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

/* Fix to source editor font */
.CodeMirror-lines span {
  font: 14px Consolas,Eupheima UCAS,Monaco,Menlo,monospace
}

.wikiEditor-ui .ace_editor * {
    font-size: 13px;
    font-family: monospace, monospace;
}

/* Fix to gift module */
.icon-list .custom-icon {
  display:block;
}