MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
body.page-Portal.action-view h1.firstHeading, body.page-Portal.action-submit h1.firstHeading { display: none; } | body.page-Portal.action-view h1.firstHeading, body.page-Portal.action-submit h1.firstHeading { display: none; } | ||
/* | /* CSS class name key | ||
tb - textbox (use h1 or h2) | |||
ib - infobox (use h2 or h3) | |||
nb - navbox (use h3) | |||
h1a, h2a, h3a - heading area | |||
h1t, h2t, h3t - heading text | |||
*/ | |||
.llwiki-tb, .llwiki-ib, .llwiki-nb { | |||
border: 1px #77c1f6 solid; | |||
} | |||
.llwiki-tb { | |||
width: 100%; | |||
background-color: #f8f9fa; | |||
margin: 1.5em 0 1em; | |||
} | |||
.llwiki-ib { | |||
width: 18em; | |||
background-color: #f8f9fa; | |||
float: right; | |||
clear: right; | |||
margin: 0 0 1em 1em; | |||
} | |||
.llwiki-nb { | .llwiki-nb { | ||
width: 100%; | |||
margin | margin: 1em 0 1em; | ||
} | } | ||
.llwiki- | |||
.llwiki-h1a, .llwiki-h2a, .llwiki-h3a, .llwiki-nb th { | |||
padding-right: 0.5em; | padding-right: 0.5em; | ||
padding-left: 0.5em; | padding-left: 0.5em; | ||
border: 1px #a2a9b1 solid; | border: 1px #a2a9b1 solid; | ||
} | } | ||
.llwiki- | .llwiki-h1a, .llwiki-h2a, .llwiki-h3a { | ||
margin: 2px 2px 0; | margin: 2px 2px 0; | ||
} | } | ||
.llwiki- | .llwiki-tb .llwiki-h1a, .llwiki-ib .llwiki-h2a { | ||
background-color: #d5fdf4; | background-color: #d5fdf4; | ||
} | } | ||
.llwiki-nb- | .llwiki-tb .llwiki-h2a, .llwiki-ib .llwiki-h3a { | ||
background-color: #eaf3ff; | |||
} | |||
.llwiki-nb .llwiki-h3a { | |||
background-color: #eaecf0; | |||
} | |||
.llwiki-h1t { | |||
font-size: 150%; | font-size: 150%; | ||
font-weight: bold; | font-weight: bold; | ||
Line 29: | Line 57: | ||
margin-bottom: 0.5em; | margin-bottom: 0.5em; | ||
} | } | ||
.llwiki- | .llwiki-h2t { | ||
font-size: 120%; | font-size: 120%; | ||
font-weight: bold; | font-weight: bold; | ||
Line 38: | Line 63: | ||
margin-bottom: 0.25em; | margin-bottom: 0.25em; | ||
} | } | ||
.llwiki- | .llwiki-h3t { | ||
font-size: 100%; | font-size: 100%; | ||
font-weight: bold; | font-weight: bold; | ||
Line 48: | Line 70: | ||
margin-bottom: 0.25em; | margin-bottom: 0.25em; | ||
} | } | ||
.llwiki-nb table { | .llwiki-ib .llwiki-h2t { | ||
font-weight: normal; | |||
} | |||
.llwiki-ib table, .llwiki-nb table { | |||
width: 100%; | width: 100%; | ||
} | } | ||
Line 55: | Line 80: | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
font-size: 90%; | font-size: 90%; | ||
} | |||
.llwiki-text { | |||
padding: 0 0.5em; | |||
margin: 0.75em 2px; | |||
} | } | ||
Line 66: | Line 96: | ||
} | } | ||
div.llwiki | div.llwiki-vte { | ||
float: right; | float: right; | ||
font-size: 70%; | font-size: 70%; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
/* "noinclude" is just a label here for a darkish-gray area for _in-house_ info (e.g. templates): */ | |||
.llwiki-noinclude { | .llwiki-noinclude { | ||
background-color: #c8ccd1; | background-color: #c8ccd1; | ||
padding: 1em; | |||
border: 1px solid black; | border: 1px solid black; | ||
margin-bottom: 1em; | |||
} | |||
.llwiki-noinclude code { | |||
background-color: #c8ccd1; | |||
} | |||
/* Use this class in a <tr> to italicize the <td>s of a whole row: */ | |||
.llwiki-td-italic td { | |||
font-style: italic; | |||
} | |||
.llwiki-ib td { | |||
font-size: 90%; | |||
border-bottom: 1px #a2a9b1 solid; | |||
} | |||
/* Custom styles */ | |||
.dul { | |||
text-decoration-line: underline; | |||
text-decoration-style: double; | |||
} | } |
Latest revision as of 15:00, 17 November 2021
/* CSS placed here will be applied to all skins */ /* The following line suppresses the title on the main page (namely "Portal") */ body.page-Portal.action-view h1.firstHeading, body.page-Portal.action-submit h1.firstHeading { display: none; } /* CSS class name key tb - textbox (use h1 or h2) ib - infobox (use h2 or h3) nb - navbox (use h3) h1a, h2a, h3a - heading area h1t, h2t, h3t - heading text */ .llwiki-tb, .llwiki-ib, .llwiki-nb { border: 1px #77c1f6 solid; } .llwiki-tb { width: 100%; background-color: #f8f9fa; margin: 1.5em 0 1em; } .llwiki-ib { width: 18em; background-color: #f8f9fa; float: right; clear: right; margin: 0 0 1em 1em; } .llwiki-nb { width: 100%; margin: 1em 0 1em; } .llwiki-h1a, .llwiki-h2a, .llwiki-h3a, .llwiki-nb th { padding-right: 0.5em; padding-left: 0.5em; border: 1px #a2a9b1 solid; } .llwiki-h1a, .llwiki-h2a, .llwiki-h3a { margin: 2px 2px 0; } .llwiki-tb .llwiki-h1a, .llwiki-ib .llwiki-h2a { background-color: #d5fdf4; } .llwiki-tb .llwiki-h2a, .llwiki-ib .llwiki-h3a { background-color: #eaf3ff; } .llwiki-nb .llwiki-h3a { background-color: #eaecf0; } .llwiki-h1t { font-size: 150%; font-weight: bold; margin-top: 0.5em; margin-bottom: 0.5em; } .llwiki-h2t { font-size: 120%; font-weight: bold; margin-top: 0.25em; margin-bottom: 0.25em; } .llwiki-h3t { font-size: 100%; font-weight: bold; text-align: center; margin-top: 0.25em; margin-bottom: 0.25em; } .llwiki-ib .llwiki-h2t { font-weight: normal; } .llwiki-ib table, .llwiki-nb table { width: 100%; } th.llwiki-nb-h4 { width: 10em; background-color: #f8f9fa; font-size: 90%; } .llwiki-text { padding: 0 0.5em; margin: 0.75em 2px; } td.llwiki-nb-cell { border-bottom: 1px #a2a9b1 solid; font-size:90%; } td.llwiki-nb-text { padding-right: 0.5em; padding-left: 0.5em; } div.llwiki-vte { float: right; font-size: 70%; font-weight: normal; } /* "noinclude" is just a label here for a darkish-gray area for _in-house_ info (e.g. templates): */ .llwiki-noinclude { background-color: #c8ccd1; padding: 1em; border: 1px solid black; margin-bottom: 1em; } .llwiki-noinclude code { background-color: #c8ccd1; } /* Use this class in a <tr> to italicize the <td>s of a whole row: */ .llwiki-td-italic td { font-style: italic; } .llwiki-ib td { font-size: 90%; border-bottom: 1px #a2a9b1 solid; } /* Custom styles */ .dul { text-decoration-line: underline; text-decoration-style: double; }