Template:Game Ref Box/styles.css
Jump to navigation
Jump to search
.gref-box {
margin-bottom: 5px;
text-align: center;
font-size: 90%;
border-radius: 7px;
display: table;
width: 100%;
}
.gref-image {
background:#dfdbdb;
display:table-cell;
border: 2px solid black;
border-right: 0;
vertical-align: middle;
width: 15%;
}
.gref-trans {
width:auto;
height:380px;
}
@media only screen and (max-width: 600px) {
.gref-image {
display: table-header-group !important;
}
.gref-trans {
height:250px;
}
}
@media only screen and (max-width: 1300px) {
.gref-image .gallerybox.gBoxVideo video {
max-width: 300px !important;
}
}
.gref-c2 {
display:table-cell;
vertical-align: top;
border: 2px solid black;
}
.gref-heading {
font-family: Roboto Slab;
padding: 5px;
text-shadow: 1px 1px 1px #333333;
vertical-align: middle;
display: table-cell;
border: 1.5px solid black;
color: white;
}
.gref-heading2 {
font-family: Roboto Slab;
padding: 5px;
text-shadow: 1px 1px 1px #333333;
vertical-align: middle;
display: table-row;
border: 1.5px solid black;
color: white;
width:100%;
}
.gref-name {
width: 60%;
border-left: none;
}
.gref-rarity {
border-right: none;
}
.gref-h2 {
width: 20%;
}
.gref-row {
display: table;
width: 100%;
border: 1px solid black;
}
.gref-sub {
color: white;
width: 10%;
display: table-cell;
}
.gref-sub2 {
color: white;
}
.icon img:hover {
animation: shake 0.5s;
animation-iteration-count: 1;
}
.gBoxVideo {
margin-bottom: 0 !important;
}
.vector-body .gBoxVideo {
line-height: 0 !important;
}
.gref-image {
font-size: 0;
}
.gref-images .gallerybox {
vertical-align: middle;
}