Jump to content

Template:Infobox book/styles.css: Difference between revisions

From Insurer Brain
Content deleted Content added
No edit summary
No edit summary
Line 1: Line 1:
/* {{pp-template|small=yes}} */
/* Title inside the box */

/* Book title row INSIDE the box (above the image) */
.ib-book .infobox-above {
.ib-book .infobox-above {
font-style: italic; /* keep book titles italic */
font-style: italic; /* book titles are typically italic */
font-weight: bold;
font-weight: bold;
text-align: center;
text-align: center;
padding: 0.2em 0.5em;
line-height: 1.25;
padding: 0.35em 0.6em;
border-bottom: 1px solid #aaa; /* matches .infobox-below’s top border */
border-bottom: 1px solid #aaa;
}
}


/* Slight spacing before the image row */
/* Option A (simple): just hide the old caption visually and from AT */
.ib-book caption.infobox-title { display: none; }
.ib-book .infobox-image {
padding-top: 0.25em;
}

/* COinS metadata – keep hidden visually */
.ib-book .Z3988 {
display: none;
}

/* Divider above any 'below' notes block */
.ib-book .infobox-below {
border-top: #aaa 1px solid;
}

Revision as of 00:15, 16 October 2025

/* {{pp-template|small=yes}} */

/* Book title row INSIDE the box (above the image) */
.ib-book .infobox-above {
  font-style: italic;      /* book titles are typically italic */
  font-weight: bold;
  text-align: center;
  line-height: 1.25;
  padding: 0.35em 0.6em;
  border-bottom: 1px solid #aaa;
}

/* Slight spacing before the image row */
.ib-book .infobox-image {
  padding-top: 0.25em;
}

/* COinS metadata – keep hidden visually */
.ib-book .Z3988 {
  display: none;
}

/* Divider above any 'below' notes block */
.ib-book .infobox-below {
  border-top: #aaa 1px solid;
}