Module:Hatnote/styles.css: Difference between revisions
Appearance
+ |
fix |
||
Line 12: | Line 12: | ||
/* | /* | ||
* The templatestyles element inserts a link element before every hatnote. | * The templatestyles element inserts a link element before every hatnote. | ||
* Technically div.hatnote + div.hatnote is not needed. Remove? | * Technically div.hatnote + div.hatnote is not needed, only div.hatnote + link + div.hatnote. Remove? | ||
*/ | */ | ||
div.hatnote + div.hatnote, div.hatnote + link + div.hatnote { | div.hatnote + div.hatnote, div.hatnote + link + div.hatnote { | ||
margin-top: -0.5em; | margin-top: -0.5em; | ||
} | } |
Revision as of 22:55, 20 July 2019
.hatnote {
font-style: italic;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
/* @noflip */
padding-left: 1.6em;
margin-bottom: 0.5em;
}
/*
* The templatestyles element inserts a link element before every hatnote.
* Technically div.hatnote + div.hatnote is not needed, only div.hatnote + link + div.hatnote. Remove?
*/
div.hatnote + div.hatnote, div.hatnote + link + div.hatnote {
margin-top: -0.5em;
}