Template:Pokémon/styles.css
/* Components */
.PKMNcontainer {
margin: 5px;
}
.PKMNcaption {
box-sizing: border-box;
width: 316px;
padding: 5px 0 2px 0;
text-align: center;
display: flex;
justify-content: center;
}
.PKMNbox {
display: flex;
flex-flow: column;
box-sizing: border-box;
border-radius: 10px;
width: 316px;
min-height: 270px;
padding: 5px;
}
.PKMNcolumns {
flex: 1 1 auto;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5px;
}
.PKMNleft {
padding-left: 2px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.PKMNartbox {
border-radius: 10px;
position: relative;
margin: 5px auto;
width: 110px;
height: 110px;
padding: 2px;
display: flex;
justify-content: center;
align-items: center;
}
.PKMNicon {
filter: drop-shadow(-1px 1px white)
drop-shadow(1px -1px white)
drop-shadow(1px 1px white)
drop-shadow(-1px -1px white);
}
.PKMNnamebox {
box-sizing: border-box;
border-radius: 10px;
min-width: 135px;
padding: 3px;
margin-bottom: 2px;
line-height: 120%;
text-align: center;
}
.PKMNright {
padding-right: 2px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
line-height: 12px;
}
.PKMNtypes {
padding-bottom: 5px;
}
.PKMNtypebox {
border-radius: 3px;
display: inline-block;
padding: 3px 5px;
text-align: center;
line-height: 12px;
}
.PKMNability {
text-align: center;
line-height: normal;
}
.PKMNheld {
text-align: center;
}
.PKMNeffortgrid {
margin: 2px auto;
display: grid;
grid-template-columns: 68px 68px;
gap: 4px;
grid-auto-rows: minmax(12px, auto);
}
.PKMNeffort {
border-radius: 5px;
padding-left: 5px;
text-align: left;
font-size:90%;
line-height:15px;
}
.PKMNmovegrid {
flex: 0 1 auto;
margin: 5px 2px 2px 2px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 6px;
}
.PKMNmovebox {
min-height: 50px;
border-radius: 10px;
text-align: center;
overflow: hidden;
display: grid;
grid-template-columns: 1fr 1fr;
}
.PKMNmovename {
grid-column: 1 / 3;
}
.PKMNmovetype {
position: relative;
grid-row: 2;
}
.PKMNmovemaster {
position: absolute;
right: -12px;
top: -2px;
}
.PKMNplusmove {
position: absolute;
right: -10px;
top: -1px;
filter: drop-shadow(0 0 0.2em #666666);
}
.PKMNmovecat {
border-left: 2px solid #fff;
grid-row: 2;
grid-column: 2;
}
.PKMNmaxmove {
padding: 2px;
font-size: 90%;
grid-row: 3;
grid-column: 1 / 3;
}
/* Variables */
.PKMNnone {
display: none;
}
.PKMNshadow {
background: #604E82;
}
.PKMNshadowl {
background: #988CAE;
}
.PKMNshadowt {
color: #FFF;
}
.PKMNshadowb {
border: 2px solid #604E82;
}
.PKMNwhite {
background: #FFF;
}
.PKMNwhiteb {
border: 2px solid #FFF;
}
.PKMNmale {
color: #34b4eb;
}
.PKMNfemale {
color: #FF6060;
}
.PKMNline14 {
line-height: 14px;
}
.PKMNsmall {
font-size: 85%;
}
.PKMNlevel {
font-size: 90%;
white-space: nowrap;
}
.PKMNalpha {
position: absolute;
bottom: 2px;
left: 2px;
}
.PKMNzpower {
position: absolute;
bottom: 6px;
left: 4px;
}
.PKMNmega {
position: absolute;
bottom: 5px;
left: 7px;
}
.PKMNmax {
position: absolute;
bottom: 5px;
left: 3px;
}
.PKMNtera {
position: absolute;
bottom: 4px;
left: 4px;
filter: drop-shadow(0 0 0.2em #40B5A5);
}
.PKMNshiny {
position: absolute;
bottom: 3px;
right: 3px;
}
.PKMNtypelabel {
padding: 2px 0 2px 0;
}
.PKMNlabel {
padding: 5px 0 2px 0;
}
.PKMNtype1 {
margin: 2px auto;
}
.PKMNtype2 {
margin: 2px auto 2px 4px;
}
.PKMNheld2 {
padding-top: 5px;
}
.PKMNhp {
background: #69DC12;
}
.PKMNatt {
background: #EFCC18;
}
.PKMNdef {
background: #E86412;
}
.PKMNspe {
background: #D51DAD;
color: #FFF;
}
.PKMNspa {
background: #14C3F1;
}
.PKMNspd {
background: #4A6ADF;
color: #FFF;
}
.PKMNpad2 {
padding: 2px;
}
.PKMNpad5 {
padding: 5px;
}
/* Pokémon/Contest template */
.PKMNmoveapp {
grid-row: 3;
line-height: 16px;
}
.PKMNmovejam {
grid-row: 3;
grid-column: 2;
line-height: 16px;
}
/* Pokémon/Grid template */
.PKMNgrid {
display: grid;
grid-template-columns: repeat(auto-fit, 316px);
gap: 5px;
margin: 5px 0;
align-items: end;
}
Categories
- No categories associated with this article