MediaWiki:Common.css: Difference between revisions

New Template:Character styles
(Redundant)
(New Template:Character styles)
Line 224:
iframe#twitter-widget-0 {
height: 100%!important;
}
 
 
 
/*** Template:Character ***/
.character {
background-color:#ecf5f9;
float:right;
clear:right;
margin-left: 24px!important;
text-align:center;
width:320px;
box-sizing: border-box;
}
 
.character th.character-header {
background-color:#2d4c72;
color:white;
}
 
.rarity,
.character-rarity {
margin: 4px auto 8px auto;
line-height: 19px;
}
 
.character-rarity > img {
margin: 0 1px;
}
 
.character-images {
width:100%;
}
 
.character-school,
.character-role {
width:50%;
}
 
.character-affinity, .character-equipment {
width: 100%;
border-spacing: 0;
margin: 0;
display: table!important;
}
 
.character-affinity td:nth-child(2) {
border: solid #a2a9b1; border-width: 0 1px;
}
 
.character-affinity-types > td {
width: calc(100% / 3);
padding: 5px 0 4px;
}
 
.character-affinity-types img {
filter: grayscale(1.0) opacity(0.9);
}
 
.character-affinity-values > td {
padding: 0 0 3px;
}
 
.character-equipment td {
width: 20%;
padding: 0;
}
.character-equipment .weapon {
width: 40%;
padding-top: 2px;
padding-bottom: 0;
position:relative;
}
 
.weapon-text {
position:absolute;
z-index:1;
top:0px;
left:0px;
margin:0;
padding:2px 0 0 4px;
font-weight: bold;
color: #2d4c72;
}
 
.weapon-text img {
margin-left: 3px;
}