Difference between revisions of "Template:Custom/pjwiki.css"
Jump to navigation
Jump to search
(12 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* The purpose of this CSS is to consistently style the libretto area on the individual song pages.*/ | /* The purpose of this CSS is to consistently style the libretto area on the individual song pages.*/ | ||
/*This sets the left margin and makes the element float. After the div element, it has to be closed by {{Clear|left}} */ | /* This sets the left margin and makes the element float. After the div element, it has to be closed by {{Clear|left}} */ | ||
/* It has to be included via <templatestyles src="Custom/pjwiki.css" /> somewhere on the page it is supposed to work in. Exception: It is already included by the use of Template:Libretti */ | |||
.libretto { | .libretto { | ||
Line 28: | Line 29: | ||
color: grey; | color: grey; | ||
text-indent: 0em; | text-indent: 0em; | ||
text-align:left; | text-align:left; | ||
} | } | ||
Line 49: | Line 49: | ||
} | } | ||
.casttable { | /* Custom table for the styling of Opera and concert casts of singers and orchestra. */ | ||
.casttable table { | |||
margin-top: 0.5em; | |||
margin-bottom: 0.5em; | |||
} | |||
.casttable td { | |||
border-bottom: 1px solid #ddd; | |||
padding: 0.2em; | |||
font-size: small; | |||
} | |||
.casttable th { | |||
text-align:left; | |||
padding: 0.8em; | |||
} | } |
Latest revision as of 13:34, 8 October 2021
/* The purpose of this CSS is to consistently style the libretto area on the individual song pages.*/ /* This sets the left margin and makes the element float. After the div element, it has to be closed by {{Clear|left}} */ /* It has to be included via <templatestyles src="Custom/pjwiki.css" /> somewhere on the page it is supposed to work in. Exception: It is already included by the use of Template:Libretti */ .libretto { vertical-align: top; margin-top: 0em; margin-left: 0.5em; padding-top: 0em; padding-left: 0.5em; padding-right: 0.5em; max-width: 32em; min-width: 20em; } .wrapperlibretti { vertical-align: top; margin-top: -3em; margin-left: 0em; padding-top: 0em; padding-left: 0em; padding-right: 0em; min-width: 15em; } .languagedesignation { font-size: small; font-style: oblique; color: grey; text-indent: 0em; text-align:left; } .flagbox { position: static; vertical-align:top; text-align:left; } .footnotes { font-size: small; } .poem { vertical-align: top; margin-top: 1em; margin-left: 1em; } /* Custom table for the styling of Opera and concert casts of singers and orchestra. */ .casttable table { margin-top: 0.5em; margin-bottom: 0.5em; } .casttable td { border-bottom: 1px solid #ddd; padding: 0.2em; font-size: small; } .casttable th { text-align:left; padding: 0.8em; }