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

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
Line 1:
/* Title inside the box */
/* {{pp-template|small=yes}} */
.ib-book .infobox-titleabove {
font-style: italic; /* keep book titles italic */
font-weight: bold;
padding-bottom: 0.2em; /* so title doesn't touch border */
text-align: center;
padding: 0.2em 0.5em;
border-bottom: 1px solid #aaa; /* matches .infobox-below’s top border */
}
 
/* Option A (simple): just hide the old caption visually and from AT */
/* Firefox apparently reads out the empty title for accessibility agents
.ib-book caption.infobox-belowtitle { display: none; }
* [[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;
}