MediaWiki:Common.css

From Psychiatrienet
Revision as of 10:00, 23 December 2021 by Joost (talk | contribs)
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: 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.
.red { 
 color: red; 
}
.orange { 
 color: #ff8000;
}
.green { 
 color: #00ff00;
}
.myrefs {
 font-size:85% !important;
 color:black !important;
}
.mylegend {
  position: relative;
  left: 30px;
  top: -40px;
  font-size:85%;
  line-height:85%;
}

.disclaimer {
 padding: 10px;
 margin: 10px;
 font-size:85%;
 line-height:100%;
 color:black !important;
}

table.switchtable {
  margin: 4px; 
  font-size: 85%; 
  background-color:#f8f8f8;
  font-family: verdana,arial,sans-serif;
  border-width: 0px;
  border-color: #666666;
  border-collapse: collapse;
}

table.switchtable th {
  border-width: 0px;
  font-size: 100%; 
  padding: 1px;
  border-style: solid;
  border-color: #666666;
  background-color: #dedede;
}

table.switchtable td {
  padding: 1px;
  border-width: 0px;
  border-style: solid;
  border-color: #666666;
  background-color: #ffffff;
}

table.switchtable td.colhdr {
  border-width: 0px;
  font-size: 100%; 
  padding: 1px;
  border-style: solid;
  border-color: #666666;
  background-color: #dedede;
}
div#mw-panel div.portal div.body ul li,
div#mw-panel div.portal h3 {
    font-size: 0.74em; /* original was 0.75em */
}

div#mw-panel {
    width: 14em; /* increase width of the container; was 10em */
}
.mw-body {
    margin-left: 11em; /* move content to a fitting place; was 13em */
}

/* Don't display some stuff on the main page */
body.page-SwitchAntidepressants #deleteconfirm, 
body.page-SwitchAntidepressants #t-cite,
body.page-SwitchAntidepressants #lastmod, 
body.page-SwitchAntidepressants #siteSub, 
body.page-SwitchAntidepressants #contentSub, 
body.page-SwitchAntidepressants h1.firstHeading,
body.page-SwitchAntipsychotics #deleteconfirm, 
body.page-SwitchAntipsychotics #t-cite,
body.page-SwitchAntipsychotics #lastmod, 
body.page-SwitchAntipsychotics #siteSub, 
body.page-SwitchAntipsychotics #contentSub, 
body.page-SwitchAntipsychotics h1.firstHeading,
body.page-CombiningMoodstabilizers #deleteconfirm, 
body.page-CombiningMoodstabilizers #t-cite,
body.page-CombiningMoodstabilizers #lastmod, 
body.page-CombiningMoodstabilizers #siteSub, 
body.page-CombiningMoodstabilizers #contentSub, 
body.page-CombiningMoodstabilizers h1.firstHeading,
body.page-Main_Page #deleteconfirm, 
body.page-Main_Page #t-cite,
body.page-Main_Page #lastmod, 
body.page-Main_Page #siteSub, 
body.page-Main_Page #contentSub, 
body.page-Main_Page h1.firstHeading {
  display: none !important;
}