Card/styles.css
Jump to navigation
Jump to search
.card-container {
width: 99%;
display:flex;
flex-direction:column;
height: auto;
border: solid black 5px;
border-radius: 5px;
}
.card-header {
text-align: center;
padding: .5em;
background-color: #f2f2f2;
}
.card-main-name {
font-size: 2em;
font-weight: bold;
}
.card-main-name a:link, .card-main-name a:visited {
text-decoration: underline;
color:white;
}
.card-version {
font-size: 1.6em;
}
.card-link a:link, .card-link a:visited {
font-weight:bold;
color:white;
font-size: 1.3em;
}
.card-stats {
display: flex;
width: 100%;
justify-content: center;
align-items: start;
flex-direction: row;
text-align: center;
flex-shrink: 0;
flex-grow: 1;
flex-basis: 100%;
}
.card-image-container {
max-width: 310px;
}
.card-rotate {
transform: rotate(90deg);
}
.card-info-container {
width: 100%;
padding: 0.5rem;
}
.illustrator {
background-color: #000000;
color: #FFFFFF;
}
.card-info-main {
width: 100%;
display:flex;
flex-direction:column;
}
.card-info-inktype {
width: 100%;
display:flex;
flex-direction:row;
justify-content:space-between;
}
.column {
width: 100%;
display:flex;
flex-direction: column;
justify-content: center;
}
.flex-divide {
width: 100%;
display:flex;
flex-direction:row;
justify-content:space-between;
}
.card-sub {
text-align: center;
background-color: #f2f2f2;
border: solid 1px;
}
.card-ability {
box-sizing: border-box;
padding: 0.5rem;
text-align: left;
background-color: #FFF;
color: #000;
border-width: 5px;
border-style: solid;
border-radius: 5px;
margin-bottom: 1rem;
}
.amber-card .card-header {
background-color: #EEB31A;
color: #fff;
}
.amber-card .card-sub {
background-color: #EEB31A;
color: #fff;
border-color: #F5ECB1;
}
.amber-card .card-stats {
background-color: #F5ECB1;
}
.amber-card .image-border {
border: solid 5px #F5ECB1;
}
.amber-card .card-ability {
border-color: #EEB31A;
}
.amber-card .column {
border-color: #EEB31A;
}
.amber-misc a:link, .amber-misc a:visited {
font-weight:bold;
color: #EEB31A;
font-size: 1.2em;
}
.amber-card .bg-white-ink {
display:flex;
background-color: #FFF;
color: #000000;
height: 30px;
align-items: center;
justify-content: center;
border: solid 1px #F5ECB1;
}
.amber-card .bg-white {
background-color: #FFF;
color: #000000;
border: solid 1px #F5ECB1;
}
.amber-card .bg-white-stats {
display:flex;
background-color: #FFF;
color: #000000;
height: 50px;
align-items: center;
justify-content: center;
border: solid 1px #F5ECB1;
}
.amethyst-card .card-header {
background-color: #907F9A;
color: #fff;
}
.amethyst-card .card-sub {
background-color: #907F9A;
color: #fff;
border-color: #D9CEDC;
}
.amethyst-card .card-stats {
background-color: #D9CEDC;
}
.amethyst-card .image-border {
border: solid 5px #D9CEDC;
}
.amethyst-card .card-ability {
border-color: #907F9A;
}
.amethyst-card .column {
border-color: #907F9A;
}
.amethyst-misc a:link, .amethyst-misc a:visited {
font-weight:bold;
color: #907F9A;
font-size: 1.2em;
}
.amethyst-card .bg-white-ink {
display:flex;
background-color: #FFF;
color: #000000;
height: 30px;
align-items: center;
justify-content: center;
border: solid 1px #D9CEDC;
}
.amethyst-card .bg-white {
background-color: #FFF;
color: #000000;
border: solid 1px #D9CEDC;
}
.amethyst-card .bg-white-stats {
display:flex;
background-color: #FFF;
color: #000000;
height: 50px;
align-items: center;
justify-content: center;
border: solid 1px #D9CEDC;
}
.emerald-card .card-header {
background-color: #598F58;
color: #fff;
}
.emerald-card .card-sub {
background-color: #598F58;
color: #fff;
border-color: #B2D49E;
}
.emerald-card .card-stats {
background-color: #B2D49E;
}
.emerald-card .image-border {
border: solid 5px #B2D49E;
}
.emerald-card .card-ability {
border-color: #598F58;
}
.emerald-card .column {
border-color: #598F58;
}
.emerald-misc a:link, .emerald-misc a:visited {
font-weight:bold;
color: #598F58;
font-size: 1.2em;
}
.emerald-card .bg-white-ink {
display:flex;
background-color: #FFF;
color: #000000;
height: 30px;
align-items: center;
justify-content: center;
border: solid 1px #B2D49E;
}
.emerald-card .bg-white {
background-color: #FFF;
color: #000000;
border: solid 1px #B2D49E;
}
.emerald-card .bg-white-stats {
display:flex;
background-color: #FFF;
color: #000000;
height: 50px;
align-items: center;
justify-content: center;
border: solid 1px #B2D49E;
}
.ruby-card .card-header {
background-color: #DA213A;
color: #fff;
}
.ruby-card .card-sub {
background-color: #DA213A;
color: #fff;
border-color: #E5BFB4;
}
.ruby-card .card-stats {
background-color: #E5BFB4;
}
.ruby-card .image-border {
border: solid 5px #E5BFB4;
}
.ruby-card .card-ability {
border-color: #DA213A;
}
.ruby-card .column {
border-color: #DA213A;
}
.ruby-misc a:link, .ruby-misc a:visited {
font-weight:bold;
color: #DA213A;
font-size: 1.2em;
}
.ruby-card .bg-white-ink {
display:flex;
background-color: #FFF;
color: #000000;
height: 30px;
align-items: center;
justify-content: center;
border: solid 1px #E5BFB4;
}
.ruby-card .bg-white {
background-color: #FFF;
color: #000000;
border: solid 1px #E5BFB4;
}
.ruby-card .bg-white-stats {
display:flex;
background-color: #FFF;
color: #000000;
height: 50px;
align-items: center;
justify-content: center;
border: solid 1px #E5BFB4;
}
.sapphire-card .card-header {
background-color: #00ACD7;
color: #fff;
}
.sapphire-card .card-sub {
background-color: #00ACD7;
color: #fff;
border-color: #BDE1E7;
}
.sapphire-card .card-stats {
background-color: #BDE1E7;
}
.sapphire-card .image-border {
border: solid 5px #BDE1E7;
}
.sapphire-card .card-ability {
border-color: #00ACD7;
}
.sapphire-card .column {
border-color: #00ACD7;
}
.sapphire-misc a:link, .sapphire-misc a:visited {
font-weight:bold;
color: #00ACD7;
font-size: 1.2em;
}
.sapphire-card .bg-white-ink {
display:flex;
background-color: #FFF;
color: #000000;
height: 30px;
align-items: center;
justify-content: center;
border: solid 1px #BDE1E7;
}
.sapphire-card .bg-white {
background-color: #FFF;
color: #000000;
border: solid 1px #BDE1E7;
}
.sapphire-card .bg-white-stats {
display:flex;
background-color: #FFF;
color: #000000;
height: 50px;
align-items: center;
justify-content: center;
border: solid 1px #BDE1E7;
}
.steel-card .card-header {
background-color: #95A4AB;
color: #fff;
}
.steel-card .card-sub {
background-color: #95A4AB;
color: #fff;
border-color: #E7E8EC;
}
.steel-card .card-stats {
background-color: #E7E8EC;
}
.steel-card .image-border {
border: solid 5px #E7E8EC;
}
.steel-card .card-ability {
border-color: #95A4AB;
}
.steel-card .column {
border-color: #95A4AB;
}
.steel-misc a:link, .steel-misc a:visited {
font-weight:bold;
color: #95A4AB;
font-size: 1.2em;
}
.steel-card .bg-white-ink {
display:flex;
background-color: #FFF;
color: #000000;
height: 30px;
align-items: center;
justify-content: center;
border: solid 1px #E7E8EC;
}
.steel-card .bg-white {
background-color: #FFF;
color: #000000;
border: solid 1px #E7E8EC;
}
.steel-card .bg-white-stats {
display:flex;
background-color: #FFF;
color: #000000;
height: 50px;
align-items: center;
justify-content: center;
border: solid 1px #E7E8EC;
}
.source {
text-align: right;
vertical-align: bottom;
}
@media only screen
and (max-width: 768px) {
.card-stats {
flex-direction: column;
}
.card-stats {
align-items: center;
}
.card-info-container {
padding: 0;
}
}