MediaWiki:Common.css

From SEGGER Wiki
Revision as of 11:24, 2 June 2021 by Kai (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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 #bfc3c6;
  color:#fff;
  padding:5px;
}

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