Template:Infobox book/styles.css: Difference between revisions
Appearance
Content deleted Content added
Created page with "→{{pp-template|small=yes}}: .ib-book .infobox-title { font-style: italic; padding-bottom: 0.2em; →so title doesn't touch border: } →Firefox apparently reads out the empty title for accessibility agents * [[Template_talk:Infobox_book#Code_read_out_when_using_a_screen_reader]]: .ib-book .Z3988 { display: none; } .ib-book .infobox-below { border-top: #aaa 1px solid; }" |
No edit summary |
||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* {{pp-template|small=yes}} */ |
/* {{pp-template|small=yes}} */ |
||
| ⚫ | |||
/* Book title row INSIDE the box (above the image) */ |
|||
font-style: italic; |
|||
| ⚫ | |||
padding-bottom: 0.2em; /* so title doesn't touch border */ |
|||
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 */ |
|||
/* Firefox apparently reads out the empty title for accessibility agents |
|||
* [[Template_talk:Infobox_book#Code_read_out_when_using_a_screen_reader]] |
|||
*/ |
|||
.ib-book .Z3988 { |
.ib-book .Z3988 { |
||
display: none; |
|||
} |
} |
||
/* Divider above any 'below' notes block */ |
|||
.ib-book .infobox-below { |
.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;
}