MediaWiki:Common.css: Difference between revisions

From ITCwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(11 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: 0;
     margin: 2px;
     padding: 0;
     padding: 0;
     border: 1px #000 solid;
     border: 1px #000 solid;
Line 34: Line 43:
     border-collapse: collapse;
     border-collapse: collapse;
     vertical-align: top;
     vertical-align: top;
    width: 80em;
}
}
table.schedulesessionbox table tr {
table.schedulesessionbox table tr {
Line 42: Line 50:
     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;
}