Difference between revisions of "MediaWiki:Common.css"

From SEGGER Wiki
Jump to: navigation, search
Line 20: Line 20:
 
padding-right:30px;
 
padding-right:30px;
 
padding-bottom:20px;
 
padding-bottom:20px;
  +
}
  +
  +
  +
/* SEGGER TABLES */
  +
  +
table.seggertable {
  +
border:1px solid #bfc3c6;
  +
border-collapse:collapse;
  +
}
  +
  +
table.seggertable tr td {
  +
border:1px solid #bfc3c6;
  +
padding:5px;
  +
}
  +
  +
table.seggertable tr th {
  +
background-color:#2c5b9c;
  +
border-right:1px solid #fff;
  +
color:#fff;
  +
padding:5px;
  +
}
  +
  +
table.seggertable tr th:last-child {
  +
border-right:1px solid #bfc3c6;
  +
}
  +
  +
table.seggertable tr:nth-child(odd) td {
  +
background-color:#f1f1f1;
 
}
 
}

Revision as of 14:26, 4 May 2021

/* CSS placed here will be applied to all skins */

.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
  display: none;
}


#toc .toggleicon {
  cursor:pointer;
  margin-left:-20px;
}

#toc.toc {
  padding-left:30px;
  padding-right:30px;
  padding-bottom:20px;
}


/* SEGGER TABLES */

table.seggertable {
  border:1px solid #bfc3c6;
  border-collapse:collapse;
}

table.seggertable tr td {
  border:1px solid #bfc3c6;
  padding:5px;
}

table.seggertable tr th {
  background-color:#2c5b9c;
  border-right:1px solid #fff;
  color:#fff;
  padding:5px;
}

table.seggertable tr th:last-child {
  border-right:1px solid #bfc3c6;
}

table.seggertable tr:nth-child(odd) td {
  background-color:#f1f1f1;
}