Template:Infobox book/styles.css: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| 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; |
font-style: italic; /* book titles are typically italic */ |
||
font-weight: bold; |
font-weight: bold; |
||
text-align: center; |
text-align: center; |
||
line-height: 1.25; |
|||
padding: 0.35em 0.6em; |
|||
border-bottom: 1px solid #aaa; /* matches .infobox-below’s top border */ |
|||
} |
} |
||
/* Slight spacing before the image row */ |
|||
/* Option A (simple): just hide the old caption visually and from AT */ |
|||
.ib-book |
.ib-book .infobox-image { |
||
padding: 0 0 0em 0; |
|||
} |
|||
/* 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; |
|||
} |
|||
Latest revision as of 15:54, 22 November 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;
}
/* Slight spacing before the image row */
.ib-book .infobox-image {
padding: 0 0 0em 0;
}
/* 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;
}