Cogito, ergo sum

Difference between revisions of "MediaWiki:Monobook.css"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
m
Line 33: Line 33:
 
}
 
}
 
#content,
 
#content,
 +
#p-cactions li.selected,
 
#p-cactions li.selected a,
 
#p-cactions li.selected a,
 
#p-cactions li a:hover {
 
#p-cactions li a:hover {
Line 45: Line 46:
 
   border-color: #aaa;
 
   border-color: #aaa;
 
}
 
}
/* active tab border color hack for IE */
+
 
* html #p-cactions li.selected a { /* IE 6 and earlier */
+
/* tab border hack for IE 6 and earlier */
 +
* html #p-cactions li {
 +
  border: none;
 +
  background-color: transparent;
 +
}
 +
* html #p-cactions li a {
 +
  border-color: #c0c0c0;
 +
}
 +
* html #p-cactions li.selected a {
 
   border-color: #aaa;
 
   border-color: #aaa;
 
}
 
}
*:first-child+html #p-cactions li.selected a { /* IE 7 */
+
 
 +
/* tab border hack for IE 7 */
 +
*:first-child+html #p-cactions li {
 +
  border: none;
 +
  background-color: transparent;
 +
}
 +
*:first-child+html #p-cactions li a {
 +
  border-color: #c0c0c0;
 +
}
 +
*:first-child+html #p-cactions li.selected a {
 
   border-color: #aaa;
 
   border-color: #aaa;
 
}
 
}

Revision as of 17:31, 2 March 2008

/* <!-- Fix for weird-looking preview and diff, doesn't affect CSS content --><source lang="css"> */
 
/** Unreal Wiki Style **********************************************************
 *
 * Description: Adjustments to the style to give the site a bit more of a unique
 * identity
 */
 
/* global background color */
body {
  background: #cfe7ff;
}
 
/* indent sidebar boxes a tiny bit */
#p-navigation,
#p-search,
#p-tb {
  margin-left: 0.4em;
  width: 11.2em;
}
 
/* sidebar box background color */
#p-navigation .pBody,
#p-search     .pBody,
#p-tb         .pBody {
  background: #eff7ff;
}
 
/* content and page tab background color */
#p-cactions li,
#p-cactions li a {
  background: #e0f0f7;
}
#content,
#p-cactions li.selected,
#p-cactions li.selected a,
#p-cactions li a:hover {
  background: #eff7ff;
}
 
/* page tab border color */
#p-cactions li {
  border-color: #c0c0c0;
}
#p-cactions li.selected {
  border-color: #aaa;
}
 
/* tab border hack for IE 6 and earlier */
* html #p-cactions li {
  border: none;
  background-color: transparent;
}
* html #p-cactions li a {
  border-color: #c0c0c0;
}
* html #p-cactions li.selected a {
  border-color: #aaa;
}
 
/* tab border hack for IE 7 */
*:first-child+html #p-cactions li {
  border: none;
  background-color: transparent;
}
*:first-child+html #p-cactions li a {
  border-color: #c0c0c0;
}
*:first-child+html #p-cactions li.selected a {
  border-color: #aaa;
}
 
/* personal links */
#p-personal li a:hover {
  background-color: transparent;
  text-decoration: underline;
}
 
/* heading line color */
h1, h2 {
  border-bottom: #cde solid 1px;
}
hr {
  color: #909;
  background-color: #909;
  margin-top: 1em;
  margin-bottom: 1em;
}
 
/** Advertisement placement ****************************************************
 *
 * Description: Positions the advertisement corrently, and adjusts the footer
 * bar to fit in well with it.
 */
 
#f-copyrightico {
  top: 10px;
}
#f-poweredbyico {
  top: -4px;
  margin-right: 0px;
}
#f-poweredbyico, #f-copyrightico {
  height: auto;
}
#footer {
  background: #eee;
  border-top-color: #aaa;
  border-bottom-color: #aaa;
  min-height: 52px;
  padding: 4px 0pt 4px;
}
/* hacks for IE6 (and earlier) */
* html #footer {
  height: 52px;  /* replacement for lack of min-height (actually has same effect) */
  border-left-color: #aaa; /* IE6 can't have full-width footer, so left border needs proper color */
}
#f-list {
  margin-left: 100px;  /* don't let footer text extend below the license image */
  /*margin-right: 470px;  let footer text extend below the ad, if necessary */
}
#footer li#lastmod {
  margin-left: 0;
}
#footer li#disclaimer {
  margin-right: 0;
}
 
/** Source code highlighter modifications **************************************
 *
 * Description: Adjustments to the source code highlighter to fit better with
 * the rest of the site style.
 */
 
.highlighted-source {
  background-color:  #f9f9f9;
  border:            1px dashed #2f6fab;
  color:             black;
  padding:           1em;
}
.highlighted-source pre {
  background-color: transparent;
  border: none;
  color: inherit;
  padding: 0;
  margin: 0;
}
.highlighted-source, .highlighted-source * {
  line-height:       1.1em;
}
 
/* </source><!-- end of preview fix --> */