MediaWiki:Common.css

/* CSS placed here will be applied to all skins */

/* Keyboard-Keys (Template:Key) */ kbd { font-family: monospace,Courier; color: black; background: linear-gradient(to right, #eaeaea 0%,#cecece 100%); border: 1px solid; border-color: #DDD #AAA #888 #CCC; border-radius: 2px; border-width: 1px 2px 3px 2px; padding: 0 .2em 0 .3em; text-shadow: 0 1px rgba(255,255,255,.5); white-space: nowrap; }

kbd:after{ content:""; border-right: 0.1em solid #eee; position: relative; right: -0.2em; }

/* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the mobile skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */ /* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */ .desktopleft {   text-align: left; }

.desktopcenter { text-align: center; }

.desktopright { text-align: right; }