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 { 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-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; padding-top: 10px; height: 95px; }

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

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

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

.ss-ability-icon { position: relative; margin-top: -45px; margin-left: 47px; }

.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%; } }

@media only screen and (max-width: 547px) { .ss-ability-img { display: none !important; width: 100px !important; } .ss-ability-img img { max-width: 100px !important; }

.ss-ability-icon { margin-top: -77px !important; margin-left: 16px !important; }

.ss-ability-info { margin-top: -59px !important; margin-left: 65px !important; width: 200px !important; }

.ss-ability-title { margin-left: 64px !important; }

.ss-ability-cost { margin-top: -100px !important; margin-left: 6px !important; } }