Template:Medal/styles.css

.ss-box { margin-bottom: 5px; text-align: center; font-size: 90%; display: inline-table; width: 100%; border: 2px solid black; }

.ss-bg { display: table; background:#dfdbdb; width: 350px; display:table-cell; border: 1px solid black; border-bottom: none !important; vertical-align: middle; background-size: 350px; background-position: 0px 0px; height: 430px; }

.ss-hr { margin-right: 15px; }

.N-bg { background-image:url(https://static.jojowiki.com/images/1/1a/latest/20220814212348/Unit_bg_N.png); }

.R-bg { background-image:url(https://static.jojowiki.com/images/6/6b/latest/20220814212348/Unit_bg_R.png); }

.SR-bg { background-image:url(https://static.jojowiki.com/images/7/7d/latest/20220814212349/Unit_bg_SR.png); }

.SSR-bg { background-image:url(https://static.jojowiki.com/images/8/8d/latest/20220814212350/Unit_bg_SSR.png); }

.ss-c2 { display:table-cell; vertical-align: top; border: 2px solid black; }

.ss-text { position: absolute; width: 352px; background: black; /* fallback color */ background: rgba(0,0,0,0.7); margin-left: 0px; margin-top: -431px; font-family: Roboto Slab; padding-top: 7px; padding-bottom: 5px; font-size: 140%; }

.ss-text2 { width: 351px; font-family: Roboto Slab; padding-top: 7px; padding-bottom: 5px; font-size: 140%; background: #202122 }

.ss-top { border: none !important; display:table-caption; width: auto !important; }

.ss-first { display:table-cell; width: 352px; }

.ss-second { display:table-cell; vertical-align: top; padding: 5px; }

.ss-coin { margin-top: -390px; margin-left: 0px; }

.ss-frame { margin-top: -132px; margin-left: 0px; }

.ss-image { margin-top: -390px; margin-left: 0px; }

.ss-heading { font-family: Roboto Slab; padding: 5px; text-shadow: 1px 1px 1px #333333; vertical-align: middle; display: table-cell; color: white; }

.ss-name { width: 60%; border-left: none; }

.ss-header { border-bottom: none; font-family: Roboto Slab; font-size: 10px; text-decoration: underline; text-align: right; padding: 2px; border-top-left-radius: 7px; border-top-right-radius: 7px; }

.ss-rarity { border-right: none; }

.ss-h2 { width: 20%; }

.ss-row { display: table; width: 100%; border: 0px solid black; }

.ss-sub { color: white; width: 10%; display: table-cell; }

.ss-sub2 { color: white; }

.ss-sub3 { text-shadow: 1px 1px 1px #333333; font-family: Roboto Slab; margin-left: 10px; }

.ss-sub4 { background:white; display: table-cell; padding-bottom: 5px; }

.ss-ability-box { position:relative; height:90px; width:350px; padding-top: 10px; }

.ss-ability-title { position: relative; margin-top: -82px; margin-left: 75px; text-shadow: 1px 1px 1px #333333; font-size: 95%; color: white; }

.ss-ability-info { position: relative; margin-top: -64px; margin-left: 80px; width: 220px; text-shadow: 1px 1px 1px #333333; font-size: 70%; color: white; }

.ss-ability-cost { position: relative; margin-top: -84px; margin-left: 303px; text-shadow: 1px 1px 1px #333333; color: white; font-size: 90%; }

.ss-ability-icon { position: relative; margin-top: -64px; margin-left: 22px; }

.wiggle img:hover { animation: shake 0.5s; animation-iteration-count: 1; }

@keyframes shake { 0% { transform: rotate(0deg); } 10% { transform: rotate(-3deg); } 20% { transform: rotate(0deg); } 30% { transform: rotate(3deg); } }

@media only screen and (max-width:970px) { .ss-second { display: table-row !important; } .ss-text { width: 100%; } }