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 */

/* Make the color of the links more accessibility friendly */ a { color: #0000B4; }

a.external { color: #0000B4; }

/* Red links */ .new { color: #AF0000; }

/* 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: 1rem; }

/* 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; border-style: solid; border-width: 0.3em; border-radius: 0.7em; border-color: #42465e; font-family: Arial, Helvetica, sans-serif; color: black; font-size: 1rem; }

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

/* The title of the card located in nameBox */ .cardTitle { margin: 0; }

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

/* 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.15rem; }

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

/* Div for Monster Attribute image */ .attrDiv { height: 5vw; }

/* 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) { }