Template:Infobox strain/styles.css

From Will to Power Wiki
Revision as of 23:36, 15 February 2026 by Robyn.Blaber (talk | contribs) (Created page with "→‎Container for the infobox: .ot-infobox { float: right; width: 320px; background-color: #f8f9fa; border: 1px solid #a2a9b1; border-radius: 3px; padding: 5px; margin: 0 0 10px 10px; font-family: sans-serif; font-size: 88%; } →‎The Title at the top: .ot-infobox-title { font-size: 1.5em; text-align: center; font-weight: bold; padding: 10px 0; background-color: #eaecf0; border-radius: 3px 3px 0 0; } /* Imag...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/* Container for the infobox */ .ot-infobox {

   float: right;
   width: 320px;
   background-color: #f8f9fa;
   border: 1px solid #a2a9b1;
   border-radius: 3px;
   padding: 5px;
   margin: 0 0 10px 10px;
   font-family: sans-serif;
   font-size: 88%;

}

/* The Title at the top */ .ot-infobox-title {

   font-size: 1.5em;
   text-align: center;
   font-weight: bold;
   padding: 10px 0;
   background-color: #eaecf0;
   border-radius: 3px 3px 0 0;

}

/* Image styling */ .ot-infobox-image {

   text-align: center;
   padding: 10px 0;

} .ot-infobox-image img {

   max-width: 100%;
   height: auto;

}

/* Caption styling */ .ot-infobox-caption {

   font-size: 0.9em;
   text-align: center;
   padding-bottom: 5px;

}

/* Table layout for stats */ .ot-infobox-table {

   width: 100%;
   border-collapse: collapse;

} .ot-infobox-table th {

   text-align: left;
   vertical-align: top;
   width: 40%;
   padding: 3px 0;

} .ot-infobox-table td {

   padding: 3px 0;

}