MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(Change infobox title colors) |
(Add div.panel, div.panel-heading and div.panel-body) |
||
Line 90: | Line 90: | ||
vertical-align: top; | vertical-align: top; | ||
padding-right: 10px; | padding-right: 10px; | ||
} | |||
div.panel | |||
{ | |||
margin: 1em 1.5em; | |||
text-align: center; | |||
float: left; | |||
width: 50%; | |||
} | |||
div.panel-heading | |||
{ | |||
background-color: #666; | |||
color: #f8f8f8; | |||
padding: 0.25em 0.5em; | |||
border-top-left-radius: 3px; | |||
border-top-right-radius: 3px; | |||
} | |||
div.panel-body | |||
{ | |||
background-color: #eee; | |||
padding: 0.25em 0.5em; | |||
border-bottom-left-radius: 3px; | |||
border-bottom-right-radius: 3px; | |||
} | } |
Revision as of 13:16, May 18, 2016
/* CSS placed here will be applied to all skins */ @import url("http://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"); @import url(https://fonts.googleapis.com/css?family=Playfair+Display|Droid+Sans+Mono|Roboto:400,400italic,700italic,700); body { font-family: 'Roboto', sans-serif; } #p-logo { top: -180px; } #p-logo a { width: 160px; height: 180px; color: #333; font-size: 22px; font-family: "Playfair Display", serif; text-align: center; padding-top: 1em; line-height: 1em; } .mw-wiki-logo { background-image: none; } div#mw-panel { top: 180px; } pre, span.hex-snippet { font-family: 'Droid Sans Mono', monospace; white-space: pre; background-color: inherit; border: 0; padding: 0; } span.hover-link { background-color: #f8f8f8; } span.hover-link.hover { background-color: #eee; } table.infobox { float: right; background-color: #eee; } table.infobox.download a, table.infobox.download i { vertical-align: middle; } tr.infobox-title { background-color:#666; color: #f8f8f8; } tr.infobox-title > th { padding: 5px 10px; } table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td { padding-left: 0.5em; padding-right: 0.5em; } table.wikitable td .fa { padding-right: 0.2em; } table.infobox table td { line-height: 1.3em; vertical-align: top; padding-right: 10px; } div.panel { margin: 1em 1.5em; text-align: center; float: left; width: 50%; } div.panel-heading { background-color: #666; color: #f8f8f8; padding: 0.25em 0.5em; border-top-left-radius: 3px; border-top-right-radius: 3px; } div.panel-body { background-color: #eee; padding: 0.25em 0.5em; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; }