MediaWiki:Common.css: Difference between revisions
From Marvel Cinematic Universe Wiki
Content deleted Content added
mNo edit summary |
No edit summary |
||
| Line 57: | Line 57: | ||
max-width: 325px; |
max-width: 325px; |
||
word-wrap: break-word; |
word-wrap: break-word; |
||
} |
|||
.infobox .header { |
|||
display: table; |
|||
height: 45px; |
|||
width: 100%; |
|||
font-weight: bold; |
|||
text-align: center; |
|||
font-size: 1.4em; |
|||
line-height: 1.1; |
|||
margin-bottom: 10px; |
|||
background-color: #CD5C5C; |
|||
border: 1px solid #8B0000; |
|||
} |
|||
.infobox .header > div { |
|||
display: table-cell; |
|||
vertical-align: middle; |
|||
padding: 3px; |
|||
} |
} |
||
Revision as of 16:48, 5 October 2017
/* CSS placed here will be applied to all skins */
@font-face {
font-family: BankGothic;
font-style: normal;
src: url('BankGothic.ttf') format('truetype'),
url('BankGothic.otf') format('opentype');
}
/* Hiding Main Page title */
.page-Main_Page .firstHeading { display:none; }
/* ### CSS regarding portal pages ### */
.portals {
background-color: #4f4f4f;
border: 2px solid #b32425;
vertical-align: top;
padding: 12px 15px 12px 15px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
}
.portals h1 {
background-color: #CD5C5C;
border: 1px solid #8B0000;
font-family: BankGothic;
font-weight: bold;
text-align: left;
padding: 0.2em 0.4em;
margin: .3em 0 .5em 0;
}
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content #firstHeading {
font-family: BankGothic;
}
/* Infobox, See the French Wikipedia Infobox V3 project */
.infobox {
padding: 5px;
width: 25em;
background: #4f4f4f;
border: 1px solid #b32425;
clear: right;
float: right;
font-size: 0.9em;
line-height: 1.4;
margin: 0 0 0.5em 1em;
max-width: 325px;
word-wrap: break-word;
}
.infobox .header {
display: table;
height: 45px;
width: 100%;
font-weight: bold;
text-align: center;
font-size: 1.4em;
line-height: 1.1;
margin-bottom: 10px;
background-color: #CD5C5C;
border: 1px solid #8B0000;
}
.infobox .header > div {
display: table-cell;
vertical-align: middle;
padding: 3px;
}
