Difference between revisions of "Template:Custom/pjwiki.css"
Jump to navigation
Jump to search
(Created page with "→The purpose of this template is to define the box colours as variables so they can be set globally in case we change our minds over the layout or colour scheme.: /*This s...") |
|||
(66 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* The purpose of this | /* 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 { | ||
vertical-align: top; | |||
margin-top: 0em; | |||
margin-left: 0.5em; | margin-left: 0.5em; | ||
padding-top: 0em; | |||
padding-top: | |||
padding-left: 0.5em; | padding-left: 0.5em; | ||
padding-right: 0.5em; | padding-right: 0.5em; | ||
max-width: 32em; | |||
min-width: 20em; | |||
} | } | ||
. | .wrapperlibretti { | ||
margin- | vertical-align: top; | ||
margin-top: -3em; | |||
padding-top: | margin-left: 0em; | ||
padding-left: | padding-top: 0em; | ||
padding-right: | padding-left: 0em; | ||
padding-right: 0em; | |||
min-width: 15em; | |||
} | } | ||
Line 25: | Line 28: | ||
font-style: oblique; | font-style: oblique; | ||
color: grey; | color: grey; | ||
text-indent: | text-indent: 0em; | ||
text-align:left; | |||
} | } | ||
. | .flagbox { | ||
position: static; | position: static; | ||
vertical-align:top; | 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; | |||
} | } | ||
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; }