This is a read-only mirror of pymolwiki.org

Difference between revisions of "MediaWiki:Common.css"

From PyMOL Wiki
Jump to navigation Jump to search
m (infobox bordercolor)
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
| Copyright (c) 2002-2003 Geir Landr�              |
 
| Copyright (c) 2002-2003 Geir Landr�              |
 
|--------------------------------------------------*/
 
|--------------------------------------------------*/
 +
 +
@import url("/index.php?title=MediaWiki:Geshi.css");
 
   
 
   
 
.dtree {
 
.dtree {
Line 152: Line 154:
  
 
/* for syntax highlighting, see http://pymolwiki.org/index.php/MediaWiki:Geshi.css */
 
/* for syntax highlighting, see http://pymolwiki.org/index.php/MediaWiki:Geshi.css */
 +
 +
/* pre tags on pages without GeSHi stylesheet */
 +
 +
pre {
 +
  padding: 10px;
 +
  background-color: #eee;
 +
 +
  border: 0 none;
 +
  border-left: 10px solid #ddd;
 +
 +
  font-size: 1.1em;
 +
  line-height: 1.3em;
 +
}
  
 
/* Template:Infobox_script-repo */
 
/* Template:Infobox_script-repo */
Line 161: Line 176:
 
   background-color: #ffe;
 
   background-color: #ffe;
 
   margin: 0 0 10px 10px;
 
   margin: 0 0 10px 10px;
 +
  clear: right;
 
}
 
}
 
table.infobox td,
 
table.infobox td,
Line 167: Line 183:
 
   vertical-align: top;
 
   vertical-align: top;
 
   border-bottom: 1px solid #eee;
 
   border-bottom: 1px solid #eee;
 +
}
 +
div.didyouknow table.infobox {
 +
  display: none;
 
}
 
}

Latest revision as of 19:53, 27 April 2015

/*--------------------------------------------------|
| dTree 2.05 | www.destroydrop.com/javascript/tree/ |
|---------------------------------------------------|
| Copyright (c) 2002-2003 Geir Landr�               |
|--------------------------------------------------*/

@import url("/index.php?title=MediaWiki:Geshi.css");
 
.dtree {
        font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
        font-size: 11px;
        color: #666;
        white-space: nowrap;
}
.dtree img {
        border: 0px;
        vertical-align: middle;
}
.dtree a {
        color: #333;
        text-decoration: none;
}
.dtree a.node, .dtree a.nodeSel {
        white-space: nowrap;
        padding: 1px 2px 1px 2px;
}
.dtree a.node:hover, .dtree a.nodeSel:hover {
        color: #333;
        text-decoration: underline;
}
.dtree a.nodeSel {
        background-color: #c0d2ec;
}
.dtree .clip {
        overflow: hidden;
}
/*
* Dynamic menus
*/
.dmenu { width: 180px }
 
.dmenu, .dmenu ul { /* all lists */
padding: 0;
margin: 0;
list-style: none;
}
.dmenu .selflink { font-weight: normal; }
 
.dmenu li { /* all list items */
position: relative;
float: left;
width: 172px;
padding: 4px;
z-index: 100;
}
 
.dmenu li,
.dmenu li.even a,
.dmenu li.odd a,
.dmenu li li,
.dmenu li li a,
.dmenu li li li,
.dmenu li li li a {
color : black;
}
 
.dmenu li li { margin: 0; }
 
.dmenu li ul { /* second-level lists */
position: absolute;
left: -999em;
z-index: 101;
border: 1px solid #ccc;
}
 
.dmenu li ul ul { /* third-and-above-level lists */
position: absolute;
left: -999em;
margin: 0 0 0 0;
z-index: 102;
}
 
.dmenu li.odd .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-lt.png) 0 3px no-repeat;
}
.dmenu li.even .submenu {
width: 12px;
height: 15px;
float: right;
background: url(/common/images/rarr-dk.png) 0 3px no-repeat;
}
.dmenu li.odd {
	background: #E9EDF4;
	border: 2px solid #E9EDF4;
}
.dmenu li.even {
	background: #D0D8E8;
	border: 2px solid #D0D8E8;
}
 
.dmenu li:hover, .dmenu li.sfhover {
	border: 2px solid #385D8A;
}
 
.dmenu li:hover ul ul,
.dmenu li:hover ul ul ul,
.dmenu li.sfhover ul ul,
.dmenu li.sfhover ul ul ul {
left: -999em;
}
 
.dmenu li:hover ul,
.dmenu li li:hover ul,
.dmenu li li li:hover ul,
.dmenu li.sfhover ul,
.dmenu li li.sfhover ul,
.dmenu li li li.sfhover ul { /* lists nested under hovered list items */
left: 182px;
top: -3px;
}

/* added by Jason */
table.jtable {
        font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
        font-size: 12px;
        background: #fff;
        margin: 25px;
        border-collapse: collapse;
        text-align: left;
}
table.jtable th
{
        font-size: 14px;
        font-weight: normal;
        color: #039;
        padding: 10px 8px;
        border-bottom: 1px solid #ccc;
        text-align: center;
}
table.jtable td
{
        border-bottom: 1px solid #ccc;
        color: #669;
        padding: 6px 8px;
        text-align: left;
}
table.jtable tbody tr:hover td
{
        color: #009;
}

/* for syntax highlighting, see http://pymolwiki.org/index.php/MediaWiki:Geshi.css */

/* pre tags on pages without GeSHi stylesheet */

pre {
  padding: 10px;
  background-color: #eee;
 
  border: 0 none;
  border-left: 10px solid #ddd;
 
  font-size: 1.1em;
  line-height: 1.3em;
}

/* Template:Infobox_script-repo */

table.infobox {
  width:300px;
  float:right;
  border:1px solid black;
  background-color: #ffe;
  margin: 0 0 10px 10px;
  clear: right;
}
table.infobox td,
table.infobox th {
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #eee;
}
div.didyouknow table.infobox {
  display: none;
}