MediaWiki:Common.less/templates.less: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 7:
--keypress-border: @silver;
--keypress-color: @mineshaft;
}
 
 
// Hatnotes: [[Module:Hatnote]]
.hatnote,
.seealso {
font-style: italic;
 
i {
font-style: normal;
}
}
 
// two classes - hatnote gets much customisation in minerva but seealso doesnt
div.hatnote,
div.seealso {
// 0.5em is <p>'s top and bottom margin
// 1.6em to match <dd>/<ul> indent
margin: .5em 1.6em;
 
& + & {
margin-top: -0.5em;
}
}