Difference between revisions of "MediaWiki:Vector.css"

From lex-wiki
Jump to navigation Jump to search
Line 1: Line 1:
/* CSS placed here will affect users of the Vector skin */
/* CSS placed here will affect users of the Vector skin */
/*
  * -----------------------------------------------------
  * 'simbio' style sheet for CSS2-capable browsers.
  * Redesigned by Moritz Otten and Olaf Lenz (2007)


div.boxhead {
  * This file contains the css rules for the layout of the
background:transparent url('http://www.netcup.de/design/bg_thead.png') repeat-x top left !important;line-height:30px !important;color:#fff !important;font-family:GeoSlb712MdBT, Georgia, serif !important;font-size:18px !important;padding:0 0.5em !important;-webkit-border-top-left-radius: 6px !important;-webkit-border-top-right-radius: 6px !important;-moz-border-radius-topleft: 6px !important;-moz-border-radius-topright: 6px !important;border-top-left-radius: 6px !important;border-top-right-radius: 6px !important;box-shadow:#78ABBC 0px -2px 4px !important;}
  * contents
*/


div.boxcont {
body,td,th,input { /* redundant rules for bad browsers  */
background:#f1f1f1;padding:1em;box-shadow:#78ABBC 0px 2px 4px;margin-bottom:20px;}
  font-family: Lucida, 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  color: black;
}


body, html { background-color:#002a34 !important;background-image:none !important; }
#mainContent {
  line-height: 1.3; /* value other than 'normal' needed for WinIE */
  color: #000000;
}


#mw-page-base { height:227px !important;background:transparent url('/skins/common/images/ncimg/mwhead.png') repeat-x top left !important; }
#mw-head-base { border:0 !important;background:none !important; }
#mw-panel { width:12em !important;padding-right:1em !important;padding-top:4em !important;background:transparent url('http://www.netcup.de/design/bg_textpage_sidebar.png') repeat-x 0px 67px !important; }


#mw-panel div.portal { padding-bottom:0 !important; }
/* -----------------------------------------------------
  Title style
 
  content page title format
  */
#mainContent h1 {
  margin-top: 0;
  font-size: 2em;
  font-weight: bold;
  font-variant: small-caps;
  color: #2c1c5c;
}
h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.2em 0;
  border-bottom: 1px solid #d9d9d9;
  font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
}
h1 { font-size: 160%; font-weight: normal; }
h2 { font-size: 150%; font-weight: normal; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }
h5 { font-size: 90%; }
h6 { font-size: 90%; border: 0; }


#content { margin-left:13em !important;min-height:400px !important; }
/* -----------------------------------------------------
** user notification stuff
#p-logo a { width:13em !important;height:227px !important;background-position:center top !important;margin-top:28px !important; }
*/
.usermessage {
#left-navigation { display:none !important; }
  background-color: #ffce7b;
  border: 1px solid #ffa500;
  color: black;
  font-weight: bold;
  margin: 2em 0em 1em 0em;
  padding: 0.5em 1em;
  vertical-align: middle;
}
#siteNotice {
  text-align: center;
  font-size: 95%;
  padding: 0 0.9em 0 0.9em;
}
#siteNotice p {
  margin: 0;
  padding: 0;
}
.error {
  color: red;
  font-size: larger;
}
#catlinks {
  border:1px solid #aaaaaa;
  background-color:#d6d6d6;
  padding: 3px 5px 3px 5px;
  margin-top: 1em;
  clear: both;
}
p.catlinks {
  padding: 0;
  display: inline;
}


div#p-personal, div#p-personal a { color:#ccc !important; }
/* -----------------------------------------------------
** table of contents styles
*/
#toc {
  border:1px solid #aaaaaa;
  background-color:#f9f9f9;
  padding:5px;
  font-size: 95%;
}
#toc .tocindent { margin-left: 2em; }
#toc .tocline { margin-bottom: 0px; }
#toc p { margin: 0 }
#toc .toctoggle { font-size: 94%; }
#toc .editsection {
  margin-top: 0.7em;
  font-size: 94%;
}
/* fix toc top margin */
#toctitle h2 {
  border: 0;
  margin: 0;
}


div#p-views.vectorTabs ul, div#p-views.vectorTabs ul li, div#p-views.vectorTabs ul li a,
/* -----------------------------------------------------
div#p-views.vectorTabs li, div#p-views.vectorTabs li a, div#p-views.vectorTabs, div#p-views.vectorTabs span { background:none !important;background-image:none !important; }
  Navigation tweaks
div#p-views { position:absolute;top:235px !important;right:60px !important; }
  */
div#p-views ul li a span, div#p-views ul li a:visited, div.vectorTabs li a, div.vectorTabs li a:visited { color:#002a34 !important;text-decoration:underline !important; }
/*
div#p-views ul li.selected a span { text-decoration:none !important;color:#000 !important; }
  ** internal navigation style
div#p-views ul li a:hover span  { text-decoration:none !important; }
  */


div#p-cactions { position:absolute;top:235px;right:40px;border:none; }
a {
div#p-cactions h5 a { background:none;border:none; }
  text-decoration: underline;
div#p-cactions h5, div#p-cactions h5 { border:0px !important; }
  border: none;
}
a:link {
  color: #1C0C4C;  
  margin: 1px;
}
a:visited {
  color: #537499;
  margin: 1px;
}
a:hover {
  border: 1px dotted #2c1c5c;
  margin: 0;
}
a:active {  
  color: #FF9900;  
  margin: 1px;
}
a img {
  border: none;
}


div#p-cactions div.menu { right:50px !important; }
/*
 
  ** keep the whitespace in front of the ^=, hides rule from konqueror
div#nc-head { position:absolute;background:red! important;left:13em;top:0px;height:227px; }
  ** this is css3, the validator doesn't like it when validating as css2
 
  */
div#nc-head div.nchot { display:none; }
#mBody a[href ^="http://"],
div#nc-head ul.nctop { position:absolute;top:20px;left:0px;z-index:900;width:400px; }
#mBody a[href ^="gopher://"] {
div#nc-head ul.nctop li { float:left; }
  background: url(external.png) center right no-repeat;
div#nc-head ul.nctop li a { border-right:1px solid white;padding:0 1em;color:#fff;font-size:14px; }
  padding-right: 13px;
div#nc-head ul.nctop li.last a { border:none; }
}
div#nc-head .nctop li { background-image:none;list-style-type:none;list-style-image:none;}
#mBody a[href ^="https://"],
div#nc-head .nctop a:hover, div#nc-head .nctop a:active { color:#79bad3;text-decoration:none; }
.link-https {
 
  background: url("lock_icon.gif") center right no-repeat;
div#nc-head div.nchot { position:absolute;display:block;z-index:900;width:500px;top:70px;left:36px;color: #a4e6ff;text-shadow: #005163;font-family: Arial,sans-serif;font-size:12px;line-height:1em; }
  padding-right: 16px;
 
}
div#nc-head div.nchot p { font-size: 22px;
#mBody a[href ^="mailto:"],
text-shadow: #005163;
.link-mailto {
background-color: transparent;
  background: url("mail_icon.gif") center right no-repeat;
background-image: url("http://www.netcup.de/design/icon_phone.png");
  padding-right: 18px;
background-repeat: no-repeat;
}
background-attachment: scroll;
#mBody a[href ^="news://"] {
background-position: 0px 6px;
  background: url("news_icon.png") center right no-repeat;
background-clip: border-box;
  padding-right: 18px;
background-origin: padding-box;
}
background-size: auto auto;
#mBody a[href ^="ftp://"],
color: #ffffff;
.link-ftp {
padding:0;margin:0;
  background: url("file_icon.gif") center right no-repeat;
padding-left: 24px;
  padding-right: 18px;
}
}
 
#mBody a[href ^="irc://"],
div#nc-head div.nchot span {display: block;}
.link-irc {
 
  background: url("discussionitem_icon.gif")  center right no-repeat;
div#p-search { margin-top:120px;margin-right:20px; }
  padding-right: 18px;
 
div#p-search input[type="text"] { width:160px; }
 
input[type="text"], input[type="search"] { border:1px solid #49bde7;
    border-radius:4px;
        -moz-border-radius:4px;
        -webkit-border-radius:4px;
    background: #007690 url('http://www.netcup.de/design/bg_input-text.png') repeat-x top left;
    -webkit-appearance:none !important;
    padding:4px;
    color:#FAFAFA;
}
}


input[type="button"], input[type="submit"] {font-size:14px;
/* special links */
    text-align:center;
/* wikipedia */
    padding:3px 9px;
#mBody a[href ^="http://en.wikipedia.org"] {
    background:transparent url('http://www.netcup.de/design/bg_button_feature.png') repeat-x top left;
  background: url(wikipedia.png) center right no-repeat;
    margin:0px 10px;
  padding-right: 18px;
    border:none;
    border-radius: 5px;
        -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    text-decoration:none !important;
    cursor:pointer;
    -moz-box-shadow:#84bd02 0px 1px 4px;
    box-shadow:#84bd02 0px 1px 4px;}
 
input[type="button"]:hover, input[type="submit"]:hover {
    background:transparent url('http://www.netcup.de/design/bg_button_feature.png') repeat-x 0px -38px;
    color:#002a34;
}
}
 
#mBody a[href $=".png"].download {  
ul#menu_main {
    position:absolute;
    bottom:16px;
left:-24px;
    width:550px;
    z-index:910;
}
}


ul#menu_main li { float:left;margin-top:10px;margin-right:4px;list-style-image:none;list-style-type:none; }
/* this can be used in the content area to switch off
 
special external link styling */
ul#menu_main li a {
#mBody .plainlinks a {
    display:block;
background: none !important;
    line-height:52px;
padding: 0 !important;
    width:176px;
    text-align:center;
    font-size:22px;
color:#fff;
}
}


ul#menu_main li a:hover, ul#menu_main li a.active { text-shadow:0px 2px 4px #638f08;text-decoration:none !important; }
/*
 
  ** edit selection position
ul#menu_main li {
  */
    border-top-left-radius: 8px;border-top-right-radius: 8px;
.editsection {
        -webkit-border-top-left-radius: 8px;-webkit-border-top-right-radius: 8px;
  font-size: smaller;  
        -moz-border-radius-topleft: 8px;-moz-border-radius-topright: 8px;
    -moz-box-shadow:#006177 -3px -3px 6px, transparent 0px 3px 6px;
    box-shadow:#006177 -3px -3px 6px, transparent 0px 3px 6px;
}
}
ul#menu_main li a {
/* emulate center */
    background:transparent url('http://www.netcup.de/design/bg_menu_main.png') repeat-x top left;
.center {
    text-shadow:0px 1px 4px #005163;
  width: 100%;
    border-top-left-radius: 8px;border-top-right-radius: 8px;
  text-align: center;
        -webkit-border-top-left-radius: 8px;-webkit-border-top-right-radius: 8px;
        -moz-border-radius-topleft: 8px;-moz-border-radius-topright: 8px;
    -moz-box-shadow:#006177 3px 0px 6px, transparent 0px 3px 6px;
    box-shadow:#006177 3px 0px 6px, transparent 0px 3px 6px;
}
}
ul#menu_main li a:hover, ul#menu_main li a.active {
*.center * {
    background:transparent url('http://www.netcup.de/design/bg_menu_main_active.png') repeat-x top left;
  margin-left: auto;
  margin-right: auto;
}
}


div.menclr { clear:both;background:transparent url('/skins/common/images/ncimg/gb.png') repeat-x top left;position:absolute;bottom:-16px;left:-5px;width:100%;z-index:920;line-height:1px;font-size:1px;height:18px; }
/*
 
  ** images style
#footer { margin-right:0.950em !important;margin-left:13em !important;border-top:0 !important;background:transparent url('/skins/common/images/ncimg/bgf.png') repeat-x top left !important;
  */
margin-left:13em;padding:0px !important;margin-right:20px !important;height:84px; }
div.floatright, table.floatright {
}
  clear: right;
 
  float: right;
 
  position: relative;
a, a:visited { color: #ccec70; }
  margin: 0 0 0.5em 0.5em;
a:hover, a:active { color: #ddff9c; }
  border: 0
 
}
div.floatright p { font-style: italic; }
div.floatleft, table.floatleft {
  float: left;
  position: relative;
  margin: 0 0.5em 0.5em 0;
  border: 0
}
div.floatleft p { font-style: italic; }


/*
  ** thumbnails stuff
  */
div.thumb {
div.thumb {
    border:3px solid #1B5C71;
  margin-bottom: 0.5em;
    box-shadow:#77ACBF 0px 5px 8px;
  border: thin solid white;
    -moz-box-shadow:#77ACBF 0px 5px 8px;
  width: auto;
}
div.thumb div {
  border:1px solid #cccccc;
  padding: 3px !important;
  background-color:#f9f9f9;
  font-size: 94%;
  text-align: center;
  overflow: hidden;
}
div.thumb div a img {
  border:1px solid #cccccc;
}
div.thumb div div.thumbcaption {
  border: none;
  text-align: left;
  line-height: 1.4em;
  padding: 0.3em 0 0.1em 0;
}
div.magnify {
  float: right;
  border: none !important;
  background: none !important;
}
div.magnify a, div.magnify img {
  display: block;
  border: none !important;
  background: none !important;
}
div.tright {
  clear: right;
  float: right;
  border-width: 0.5em 0 0.8em 1.4em;
}
div.tleft {
  float: left;
  margin-right:0.5em;
  border-width: 0.5em 1.4em 0.8em 0;
}
.urlexpansion,
.hiddenStructure {
  display: none;
}
img.tex { vertical-align: middle; }
span.texhtml { font-family: serif; }
/*
  ** table standards
  */
table.rimage {
  float:right;
  position:relative;
  margin-left:1em;
  margin-bottom:1em;
  text-align:center;
}
.toccolours {
  border:1px solid #aaaaaa;
  background-color:#f9f9f9;
  padding:5px;
  font-size: 95%;
}
div.townBox {
  position:relative;
  float:right;
  background:White;
  margin-left:1em;
  border: 1px solid gray;
  padding:0.3em;
  width: 200px;
  overflow: hidden;
  clear: right;
}
div.townBox dl {
  padding: 0;
  margin: 0 0 0.3em 0;
  font-size: 96%;
}
div.townBox dl dt {
  background: none;
  margin: 0.4em 0 0 0;
}
div.townBox dl dd {
  margin: 0.1em 0 0 1.1em;
  background-color: #f3f3f3;
}
/*
  ** Page history styling
  */
.autocomment { color: gray; } /* the auto-generated edit comments */
#pagehistory span.user {
  margin-left: 1.4em;
  margin-right: 0.4em;
}
#pagehistory span.minor { font-weight: bold; }
#pagehistory li { border: 1px solid White; }
#pagehistory li.selected {
  background-color:#f9f9f9;
  border:1px dashed #aaaaaa;
}
/*
  ** Diff rendering
  */
table.diff { background:#ffffff; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline {
  background:#ccffcc;
  font-size: smaller;
}
}
td.diff-deletedline {
div.tleft { margin-right:2em;margin-bottom:2em; }
  background:#ffffaa;
div.tright { margin-left:2em;margin-bottom:2em; }
  font-size: smaller;
}
#bodyContent a, #bodyContent a:visited { color:#002a34;text-decoration:underline; }
td.diff-context {
#bodyContent a:hover, #bodyContent a:active { color:#002a34;text-decoration:none; }
  background:#eeeeee;
  font-size: smaller;
}
span.diffchange { color: red; font-weight: bold; }


#bodyContent a.external, #bodyContent a.external:visited { color:#002a34;text-decoration:underline; }
#bodyContent a.external:hover, #bodyContent a.external:active { color:#002a34;text-decoration:none; }
#bodyContent a.new { color:#ff6666; }


#content { background:#B3D5E1 url('/skins/common/images/ncimg/contbg.png') repeat-x top center !important; }
/* other things */
pre { overflow-x:scroll !important; }
.portal a, .portal a:visited { color: #ccec70 !important;background-image: url("http://www.netcup.de/design/bg_arrow_green.gif") !important;background-repeat: no-repeat;background-position: left center !important;padding-left: 12px !important; }
.portal a:hover, .portal a:active { color: #ddff9c !important; }


ul#footer-places, ul#footer-icons { margin:0px 10px !important; }
/* "Retrieved from ..." message */
.printfooter {
#footer #footer-places a, #footer #footer-places a:visited , #footer p a, #footer p a:visited { text-decoration:none;color:#fff; }
  display: none;
}
#footer #footer-places a:hover, #footer #footer-places a:active, #footer p a:hover, #footer p a:active { text-decoration:underline; }
/* sub heading (e.g. query string) */
#contentSub {
  font-size: smaller;
  line-height: 1.2em;
  margin: 0 0 1.4em 1em;
  color: #7d7d7d;
  width: auto;
}
pre {
  background: #EEEEEE;
  border: dashed #666666 1px;
  padding: 15px 20px 15px 20px;
  overflow: auto;
}
hr {
  height: 1px;
  background-color: #000000;
  color: #000000;
  margin: 2em 0;
}
input[type="submit"] {
  font-weight: bold;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 0 1em 1em;
}
li {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}
sup {
  font-size: 70%;
}
form {
  margin: 0;
  display: inline;
}
label {
  font-weight: bold;
}
textarea { width: 100%; }
/*****
** Table formatting
*****/


div#footer p.cr { float:left;color:#fff;font-size:11px;margin:0;padding:0;padding-left:10px; }
table.wikitable,
table.prettytable {
  margin:1em 1em 1em 0;
  background:#F9F9F9;
  border:1px #AAA solid;
  border-collapse:collapse;
}


ul#footer-icons { margin-top:-30px !important; }
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
#mw-panel .portal h5 { color:white !important;text-shadow:#002a33 0px 1px 0px !important; }
  border:1px #AAA solid;
#mw-panel div.portal div.body { background:none !important; }
  padding:0.2em;
}
#content { margin-right:20px !important; }
#right-navigation, #p-personal { margin-right:0px 10px; }


/* GESHI ADDITIONS */
table.wikitable th,
table.prettytable th {
  background:#F2F2F2;
  text-align:center;
}


div.geshi div pre { overflow:auto !important;font-size:1.1em !important; }
table.wikitable caption,
table.prettytable caption {
/* FONT DECLARATION */
  margin-left:inherit;
 
  margin-right:inherit;
h1, #mw-panel .portal h5, #footer #footer-places a, div#nc-head ul.nctop li a, ul#menu_main a { font-family:GeoSlb712MdBT, Georgia, serif; }
}
h1 { color:#002a34;font-weight:normal;text-shadow:#78ABBC 0px 2px 3px;border-bottom:0;background:transparent url('http://www.netcup.de/design/elseimg/contentbgh.png') repeat-x bottom left; }
h2,h3,h4,h5,h6 { font-family:GeoSlb712MdBT, Georgia, serif;font-weight:normal;color:#002a34; }
h3, h4, h5 { padding-left:5px;margin-top:1em; }
h2 { border-bottom:1px dotted #002a34;text-shadow:#78ABBC 0px 1px 3px; }
h3 { border-left:3px solid #002a34; }
h4 { border-left:2px solid #002a34; }
h5 { border-left:1px solid #002a34; }
#mw-panel .portal h5 { font-size:18px !important;padding-left:20px !important;margin-bottom:-5px !important; }
/* FONTS */

Revision as of 15:01, 26 April 2013

/* CSS placed here will affect users of the Vector skin */
/* 
   * -----------------------------------------------------
   * 'simbio' style sheet for CSS2-capable browsers.
   * Redesigned by Moritz Otten and Olaf Lenz (2007)

   * This file contains the css rules for the layout of the
   * contents
*/

body,td,th,input { /* redundant rules for bad browsers  */
  font-family: Lucida, 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif;
  color: black;
}

#mainContent {
  line-height: 1.3; /* value other than 'normal' needed for WinIE */
  color: #000000;
}


/* -----------------------------------------------------
   Title style
   
   content page title format 
   */
#mainContent h1 {
  margin-top: 0;
  font-size: 2em;
  font-weight: bold;
  font-variant: small-caps;
  color: #2c1c5c;
}
h1, h2, h3, h4, h5, h6 {
  margin: 1em 0 0.2em 0;
  border-bottom: 1px solid #d9d9d9;
  font-family: 'Lucida Grande', Verdana, Geneva, Lucida, Arial, Helvetica, sans-serif; 
}
h1 { font-size: 160%; font-weight: normal; }
h2 { font-size: 150%; font-weight: normal; }
h3 { font-size: 120%; }
h4 { font-size: 100%; }
h5 { font-size: 90%; }
h6 { font-size: 90%; border: 0; }

/* -----------------------------------------------------
** user notification stuff
*/
.usermessage {
  background-color: #ffce7b;
  border: 1px solid #ffa500;
  color: black;
  font-weight: bold;
  margin: 2em 0em 1em 0em;
  padding: 0.5em 1em;
  vertical-align: middle;
}
#siteNotice {
  text-align: center;
  font-size: 95%;
  padding: 0 0.9em 0 0.9em;
}
#siteNotice p {
  margin: 0;
  padding: 0;
}
.error {
  color: red;
  font-size: larger;
}
#catlinks {
  border:1px solid #aaaaaa;
  background-color:#d6d6d6;
  padding: 3px 5px 3px 5px;
  margin-top: 1em;
  clear: both;
}
p.catlinks {
  padding: 0;
  display: inline;
}

/* -----------------------------------------------------
** table of contents styles
*/
#toc {
  border:1px solid #aaaaaa;
  background-color:#f9f9f9;
  padding:5px;
  font-size: 95%;
}
#toc .tocindent { margin-left: 2em; }
#toc .tocline { margin-bottom: 0px; }
#toc p { margin: 0 }
#toc .toctoggle { font-size: 94%; }
#toc .editsection {
  margin-top: 0.7em;
  font-size: 94%;
}
/* fix toc top margin */
#toctitle h2 {
  border: 0;
  margin: 0;
}

/* -----------------------------------------------------
   Navigation tweaks 
   */
/* 
   ** internal navigation style 
   */

a { 
  text-decoration: underline; 
  border: none;
}
a:link {
  color: #1C0C4C; 
  margin: 1px;
}
a:visited {
  color: #537499;
  margin: 1px;
}
a:hover {
  border: 1px dotted #2c1c5c;
  margin: 0;
}
a:active { 
  color: #FF9900; 
  margin: 1px;
}
a img {
  border: none;
}

/*
   ** keep the whitespace in front of the ^=, hides rule from konqueror
   ** this is css3, the validator doesn't like it when validating as css2
   */
#mBody a[href ^="http://"],
#mBody a[href ^="gopher://"] {
  background: url(external.png) center right no-repeat;
  padding-right: 13px;
}
#mBody a[href ^="https://"],
.link-https {
  background: url("lock_icon.gif") center right no-repeat;
  padding-right: 16px;
}
#mBody a[href ^="mailto:"],
.link-mailto {
  background: url("mail_icon.gif") center right no-repeat;
  padding-right: 18px;
}
#mBody a[href ^="news://"] {
  background: url("news_icon.png") center right no-repeat;
  padding-right: 18px;
}
#mBody a[href ^="ftp://"],
.link-ftp {
  background: url("file_icon.gif") center right no-repeat;
  padding-right: 18px;
}
#mBody a[href ^="irc://"],
.link-irc {
  background: url("discussionitem_icon.gif")  center right no-repeat;
  padding-right: 18px;
}

/* special links */
/* wikipedia */
#mBody a[href ^="http://en.wikipedia.org"] {
  background: url(wikipedia.png) center right no-repeat;
  padding-right: 18px;
}
#mBody a[href $=".png"].download { 
}

/* this can be used in the content area to switch off
special external link styling */
#mBody .plainlinks a {
	background: none !important;
	padding: 0 !important;
}

/* 
   ** edit selection position 
   */
.editsection {
  font-size: smaller; 
}
/* emulate center */
.center {
  width: 100%;
  text-align: center;
}
*.center * {
  margin-left: auto;
  margin-right: auto;
}

/* 
   ** images style
   */
div.floatright, table.floatright {
  clear: right;
  float: right;
  position: relative;
  margin: 0 0 0.5em 0.5em;
  border: 0
}
div.floatright p { font-style: italic; }
div.floatleft, table.floatleft {
  float: left;
  position: relative;
  margin: 0 0.5em 0.5em 0;
  border: 0
}
div.floatleft p { font-style: italic; }

/* 
   ** thumbnails stuff
   */
div.thumb {
  margin-bottom: 0.5em;
  border: thin solid white;
  width: auto;
}
div.thumb div {
  border:1px solid #cccccc;
  padding: 3px !important;
  background-color:#f9f9f9;
  font-size: 94%;
  text-align: center;
  overflow: hidden;
}
div.thumb div a img {
  border:1px solid #cccccc;
}
div.thumb div div.thumbcaption {
  border: none;
  text-align: left;
  line-height: 1.4em;
  padding: 0.3em 0 0.1em 0;
}
div.magnify {
  float: right;
  border: none !important;
  background: none !important;
}
div.magnify a, div.magnify img {
  display: block;
  border: none !important;
  background: none !important;
}
div.tright {
  clear: right;
  float: right;
  border-width: 0.5em 0 0.8em 1.4em;
}
div.tleft {
  float: left;
  margin-right:0.5em;
  border-width: 0.5em 1.4em 0.8em 0;
}
.urlexpansion,
.hiddenStructure {
  display: none;
}
img.tex { vertical-align: middle; }
span.texhtml { font-family: serif; }
/*
   ** table standards
   */
table.rimage {
  float:right;
  position:relative;
  margin-left:1em;
  margin-bottom:1em;
  text-align:center;
}
.toccolours {
  border:1px solid #aaaaaa;
  background-color:#f9f9f9;
  padding:5px;
  font-size: 95%;
}
div.townBox {
  position:relative;
  float:right;
  background:White;
  margin-left:1em;
  border: 1px solid gray;
  padding:0.3em;
  width: 200px;
  overflow: hidden;
  clear: right;
}
div.townBox dl {
  padding: 0;
  margin: 0 0 0.3em 0;
  font-size: 96%;
}
div.townBox dl dt {
  background: none;
  margin: 0.4em 0 0 0;
}
div.townBox dl dd {
  margin: 0.1em 0 0 1.1em;
  background-color: #f3f3f3;
}
/* 
   ** Page history styling 
   */
.autocomment { color: gray; } /* the auto-generated edit comments */
#pagehistory span.user {
  margin-left: 1.4em;
  margin-right: 0.4em;
}
#pagehistory span.minor { font-weight: bold; }
#pagehistory li { border: 1px solid White; }
#pagehistory li.selected {
  background-color:#f9f9f9;
  border:1px dashed #aaaaaa;
}
/*
   ** Diff rendering
   */
table.diff { background:#ffffff; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline {
  background:#ccffcc;
  font-size: smaller;
}
td.diff-deletedline {
  background:#ffffaa;
  font-size: smaller;
}
td.diff-context {
  background:#eeeeee;
  font-size: smaller;
}
span.diffchange { color: red; font-weight: bold; }


/* other things */

/* "Retrieved from ..." message */
.printfooter {
  display: none;
}
/* sub heading (e.g. query string) */
#contentSub {
  font-size: smaller;
  line-height: 1.2em;
  margin: 0 0 1.4em 1em;
  color: #7d7d7d;
  width: auto;
}
pre {
  background: #EEEEEE;
  border: dashed #666666 1px;
  padding: 15px 20px 15px 20px;
  overflow: auto;
}
hr {
  height: 1px;
  background-color: #000000;
  color: #000000;
  margin: 2em 0;
}
input[type="submit"] {
  font-weight: bold;
}
dt {
  font-weight: bold;
}
dd {
  margin: 0 0 1em 1em;
}
li {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}
sup {
  font-size: 70%;
}
form {
  margin: 0;
  display: inline;
}
label {
  font-weight: bold;
}
textarea { width: 100%; }
/*****
** Table formatting
*****/

table.wikitable,
table.prettytable {
  margin:1em 1em 1em 0;
  background:#F9F9F9;
  border:1px #AAA solid;
  border-collapse:collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border:1px #AAA solid;
  padding:0.2em;
}

table.wikitable th,
table.prettytable th {
  background:#F2F2F2;
  text-align:center;
}

table.wikitable caption,
table.prettytable caption {
  margin-left:inherit;
  margin-right:inherit;
}