Template:Medal/styles.css

From JoJo's Bizarre Encyclopedia - JoJo Wiki
< Template:Medal
Revision as of 00:35, 16 January 2023 by Vish (talk | contribs)
Jump to navigation Jump to search
.ss-box {
	margin-bottom: 5px;
	text-align: center;
	font-size: 90%;
	border-top-left-radius: 10px;
    border-top-right-radius: 10px;
	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 {
	display: table-caption;
    width: 100%;
    background: rgb(0 0 0 / 70%);
    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:93px;
    width:425px;
    padding-top: 10px;
}

.skin-minerva .ss-ability-box {
    height:90px !important;
    width:350px !important;
}

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

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

.skin-minerva .ss-ability-info {
	font-size: 70% !important;
}

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

.ss-ability-icon {
    position: relative;
    margin-top: -59px;
    margin-left: 31px;
}

.skin-minerva .ss-ability-img img {
	width: 300px !important;
}

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