MediaWiki:Common.css

From Open Pattern Repository for Online Learning Systems
Revision as of 16:07, 3 July 2017 by Pinventado (talk | contribs) (Increase height of topiclist items)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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: Press Ctrl-F5.
/* Infobox CSS */
table.infobox {
  float:right; 
  border: 1px solid #aaa; 
  width: 22em; 
  border-spacing: 3px;  
  background-color: #f9f9f9;
  color: black;
  margin: 0.5em 0 0.5em 1em;
  font-size:88%; 
  padding: 0.2em; 
  clear: right;
  text-align: left;
  line-height: 1.5em;
}
table.infobox .header, table.infobox .subheader{
  text-align:center; 
  background-color: #fe9364;
  font-weight:bold; 
  font-size: 125%;
}
table.infobox .subheader{
  font-size: 100%;
}
table.infobox td, table.infobox th {
  vertical-align:top;
}
/** End of infobox **/

/* Thumbnail image border */
html .thumbimage {
  border:none
}

/* Mbox classes */
.mbox {
  border: 1px solid #fe9364;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff1eb;
  margin-bottom: 20px;
}

.mbox .icon {
  padding: 5px;
}

/* End of mbox classes */
/* Front page CSS */
.topiclist > ul > li {
  float: left;
  width: 20%;
  padding: 0px;
  list-style: none;
  margin: 20px;
  min-height: 300px;
}

.topiclist >ul > li>ul {
  margin: 0px;
}

.topiclist > ul > li > ul :first-child {
  font-weight: bold;
  text-align: center;
  font-size: 120%;
}

.topiclist > ul > li > ul > li {
  list-style: none;
}

.topiclist ul:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
/* End of front page CSS*/

/* Patternlinks */
.pl-main {
  display:none;
}
/ *End of Patternlinks */