MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
BenFranske (talk | contribs) No edit summary |
BenFranske (talk | contribs) No edit summary |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* <source lang="css"> */ | /* <source lang="css"> */ | ||
a:visited { | |||
color: BlueViolet !important; | |||
} | |||
code { | |||
background-color: Gainsboro; | |||
} | |||
pre { | |||
background-color: Gainsboro; | |||
} | |||
table.syllabusinfobox { | table.syllabusinfobox { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
Line 8: | Line 17: | ||
} | } | ||
table.schedulesessionbox { | table.schedulesessionbox { | ||
margin: | margin: 2px; | ||
padding: 0 | padding: 0; | ||
border: 1px #000 solid; | border: 1px #000 solid; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 15: | Line 24: | ||
} | } | ||
table.schedulesessionbox td { | table.schedulesessionbox td { | ||
margin: | margin: 0; | ||
padding: 0.5em; | padding: 0.5em; | ||
border: 1px #000 solid; | border: 1px #000 solid; | ||
Line 22: | Line 31: | ||
} | } | ||
table.schedulesessionbox tr { | table.schedulesessionbox tr { | ||
margin: | margin: 0; | ||
padding: 0. | padding: 0em; | ||
border: 1px #000 solid; | |||
border-collapse: collapse; | |||
vertical-align: top; | |||
} | |||
table.schedulesessionbox table { | |||
margin: 0; | |||
padding: 0; | |||
border: none; | |||
border-collapse: collapse; | |||
vertical-align: top; | |||
} | |||
table.schedulesessionbox table tr { | |||
margin: 0; | |||
padding: 1px; | |||
border: 1px #000 solid; | border: 1px #000 solid; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
table.labpoints { | |||
margin: 2px; | |||
padding: 0px; | |||
border: 1px #000 solid; | |||
border-collapse: collapse; | |||
} | |||
table.labpoints tr { | |||
margin: 0; | |||
padding: 0px; | |||
border: 1px #000 solid; | |||
border-collapse: collapse; | |||
height: 40px; | |||
} | |||
table.labpoints td { | |||
margin: 0; | |||
padding: 0px; | |||
border: 1px #000 solid; | |||
border-collapse: collapse; | |||
} | |||
/* Wikitable (Prettytable) class for skinning normal tables */ | |||
table.wikitable, | |||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
background: #f9f9f9; | |||
border: 1px #aaaaaa solid; | |||
border-collapse: collapse; | |||
empty-cells: show; | |||
} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td { | |||
border: 1px #aaaaaa solid; | |||
padding: 0.2em 0.4em; | |||
} | |||
table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3, | |||
table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 { | |||
background: #8da7d6; | |||
text-align: center; | |||
} | |||
table.wikitable td.hl1, table.wikitable th.hl1, | |||
table.prettytable td.hl1, table.wikitable th.hl1 { | |||
background: #c5d8fc; | |||
text-align: center; | |||
} | |||
table.wikitable td.hl2, table.wikitable th.hl2, | |||
table.prettytable td.hl2, table.wikitable th.hl2 { | |||
background: #a7c1f2; | |||
text-align: center; | |||
} | |||
table.wikitable caption, | |||
table.prettytable caption { | |||
margin-left: inherit; | |||
margin-right: inherit; | |||
font-weight: bold; | |||
} | } |
Latest revision as of 02:12, 18 February 2021
/* <source lang="css"> */ a:visited { color: BlueViolet !important; } code { background-color: Gainsboro; } pre { background-color: Gainsboro; } table.syllabusinfobox { margin: 1em 1em 1em 0; padding: 0.5em; border: 1px #000 solid; border-collapse: collapse; vertical-align: top; } table.schedulesessionbox { margin: 2px; padding: 0; border: 1px #000 solid; border-collapse: collapse; vertical-align: top; } table.schedulesessionbox td { margin: 0; padding: 0.5em; border: 1px #000 solid; border-collapse: collapse; vertical-align: top; } table.schedulesessionbox tr { margin: 0; padding: 0em; border: 1px #000 solid; border-collapse: collapse; vertical-align: top; } table.schedulesessionbox table { margin: 0; padding: 0; border: none; border-collapse: collapse; vertical-align: top; } table.schedulesessionbox table tr { margin: 0; padding: 1px; border: 1px #000 solid; border-collapse: collapse; vertical-align: top; } table.labpoints { margin: 2px; padding: 0px; border: 1px #000 solid; border-collapse: collapse; } table.labpoints tr { margin: 0; padding: 0px; border: 1px #000 solid; border-collapse: collapse; height: 40px; } table.labpoints td { margin: 0; padding: 0px; border: 1px #000 solid; border-collapse: collapse; } /* Wikitable (Prettytable) class for skinning normal tables */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; empty-cells: show; } table.wikitable th, table.wikitable td, table.prettytable th, table.prettytable td { border: 1px #aaaaaa solid; padding: 0.2em 0.4em; } table.wikitable th, table.wikitable td.hl3, table.wikitable th.hl3, table.prettytable th, table.prettytable td.hl3, table.wikitable th.hl3 { background: #8da7d6; text-align: center; } table.wikitable td.hl1, table.wikitable th.hl1, table.prettytable td.hl1, table.wikitable th.hl1 { background: #c5d8fc; text-align: center; } table.wikitable td.hl2, table.wikitable th.hl2, table.prettytable td.hl2, table.wikitable th.hl2 { background: #a7c1f2; text-align: center; } table.wikitable caption, table.prettytable caption { margin-left: inherit; margin-right: inherit; font-weight: bold; }