Template:CardBox/styles.css

/* Image CSS specifications to control the behavior of the card image in the template*/ img { width: auto; max-height: 100%; }

/* The culprit for the image problems was the element! */ pre { /* Remove all of the special formatting for this element */ padding: 0; margin: 0; white-space: normal; overflow: auto; word-wrap: normal; background-color: transparent; color: transparent; border: 0; line-height: 0; /* Include new specifications that make the image behave as intended */ display: flex; justify-content: center; align-items: center; }

/* The next section is CSS that will apply regardless of viewport dimensions */

/* Default text font and color */ body { font-family: Arial, Helvetica, sans-serif; color: black; }

/* Specify CSS for generic classes here */

/* Class: Flex-Center */ /* (Flexbox display with alignment towards the center-middle) */ .flex-center { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Class: Flex-Default */ /* Flex display with the default settings */ .flex-default { display: flex; }

/* Class: Shorter Text */ /* Takes only 30% of the shared width space */ .short-text { width: 30%; }

/* Class: Longer Text */ /* Takes 70% of the shared width space */ .long-text { width: 70%; }

/* Class: Text Labels */ /* padding-left for [REQUIREMENT] and [EFFECT] */ .text-label { padding-left: 1vh; }

/* Class: Card Text */ /* The actual text in the card's lore box */ .card-text { padding-left: 1vw; font-size: 1em; }

/* The next section is CSS for classes that are specific to certain containers */

/* Specify CSS for the main div container */ .mainBox { width: 100%; padding-bottom: 1vh; background-color: #ededed; border-style: solid; border-width: 0.3em; border-radius: 0.7em }

/* Primary name box */ .nameBox { height: 6.6vh; background-color: #404040; font-size: 3vh; color: white; text-align: center; }

/* Div containing Japanese-related name information */ .jpnBox { margin-bottom: 0.1vh; display: flex; justify-content: space-around; flex-wrap: wrap; font-size: 1rem; }

/* Div containing the card image */ .imgBox { margin-left: 0.5vw; }

/* Div containing card data */ .dataBox { width: 65%; margin-top: 1.5vh; margin-left: 0.7vw; font-size: 1.3em; }

/* Div containing non-lore data about card */ /*.metaBox { }*/

/* Div for Monster LV image */ .lvDiv { height: 3vw; }

/* Div for card lore / effect text */ .loreBox { margin-right: 0.7vw; padding-bottom: 0.5vh; border-style: solid; border-width: 0.2em; border-radius: 0.2em; border-color: #363636; }

/* [REQUIREMENT] */ .reqText { padding-top: 0.5vh; }

/* [EFFECT] */ .effText { padding-top: 1vh; }

/* Next is CSS specific to tablet devices */ @media only screen and (max-width: 1024px) { }

/* Finally, the next CSS is specific to mobile devices */ @media only screen and (max-width: 630px) { }