Difference between revisions of "MediaWiki:Monobook.css"

m
 
(414 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* css Zen Garden submission 074 - 'Egyptian Dawn' by James Abbott - http://www.ja-consultancy.co.uk/ */
/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* css released under Creative Commons License - http://creativecommons.org/licenses/by-nc-sa/1.0/  */
/* ORIGINAL CHARACTER DON'T STEAL              */
 
h2 {
     overflow: hidden;
/* basic elements */
body {
font-size: 8pt;
font-family: verdana, sans-serif;
color: #6B441A;
background: #BB8855 url(http://jeluf.mormo.org/images/border.jpg) no-repeat top left;
margin: 0px;
}
p {
margin-top: 0px;
}
a:link {
text-decoration: none;
color: #995522;
font-weight: bold;
}
a:visited { 
text-decoration: none;
color: #995522;
font-weight: bold;
}
a:hover, a:active {
text-decoration: underline;
color: #995522;
font-weight: bold;
}
a.new {
        color: #FF8000;
}
#globalWrapper{
position: absolute;
top: 40px;
left: 225px;
border: 0px solid #000000;
padding: 10px 10px 10px 10px;
margin: 0px;
background: #FFFFD0;
        color: #000000;
}
.ns-0 #globalWrapper {
        background: #FFFFF0;
}
#footer {
position: relative;
top: 20px;
left: 100px;
width: 370px;
border: 0px solid #000000;
margin: 0px;
padding: 5px;
text-align: center;
}
#column-one {
position: absolute;
top: 20px;
left: -180px;
border: 0px solid #000000;
width: 180px;
margin: 0px;
padding: 0px;
background: url(http://jeluf.mormo.org/images/listheader.gif) no-repeat top center;
}
#p-cactions {
position: relative;
font-family: verdana, sans-serif;
padding: 100px 0px 0px 0px;
margin: 0px 0px 0px 0px;
border: 0px solid #AA7744;
}
#column-one a:link {
        color: #F0E060;
}
#column-one a:visited {
        color: #F0E060;
}
#column-one a:hover {
        color: #FFFF00;
        text-decoration: underline;
}
/*--------------------------------------------------------------------*/
.visualClear { clear: both; }
table {
    font-size: 100%;
    background: White;
}
img {
    border: none;
    vertical-align: middle;
}
p {
    margin: 0.4em 0em 0.7em 0em;
    line-height: 1.5em;
}
p img { margin: 0; }
hr {
    height: 1px;
    color: #aaaa55;
    background-color: #aaaa55;
    border: 0;
    margin: 0.2em 0 0.2em 0;
}
/*----------------------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    color: Black;
    background: none;
    font-weight: normal;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0.17em;
    border-bottom: 1px solid #aaaa55;
}
h1 { font-size: 188%; }
h2 { font-size: 150%; }
h3, h4, h5, h6 {
    border-bottom: none;
    font-weight: bold;
}
h3 { font-size: 132%; }
h4 { font-size: 116%; }
h5 { font-size: 100%; }
h6 { font-size: 80%;  }
/*----------------------------------------------------------*/
fieldset {
    border: 1px solid #aaaa55;
    margin: 1em 0em 1em 0em;
    padding: 0em 1em 1em 1em;
    line-height: 1.5em;
}
legend {
    background: White;
    padding: 0.5em;
    font-size: 95%;
}
form {
    border: none;
    margin: 0;
}
textarea {
    border: 1px solid #aaaa55; 
    color: Black;
    background-color: #ffffe0;
    width: 100%;
    padding: 0.1em;
     overflow: auto;
}
/* hide this from ie/mac and konq2.2 */
@media All {
    head:first-child+body input {
        visibility: visible;
        border: 1px solid #aaaa55; 
        color: Black;
        background-color: white;
        vertical-align: middle;
        padding: 0.2em;
    }
}
input.historysubmit {
    padding: 0 0.3em 0.3em 0.3em !important;
    font-size: 94%;
    cursor: pointer;
    height: 1.7em !important;
    margin-left: 1.6em;
}
input[type="radio"],
input[type="checkbox"] { border:none; }
select {
    border: 1px solid #aaaa55; 
    color: Black;
    vertical-align: top;
}
/*-----------------------------------------------------------------------*/
pre {
    padding: 1em;
    border: 1px dashed #aaaa55;
    color: Black;
    background-color: #ffffe0;
    line-height: 1em;
}
/*------------------------------------------------------------------------*/
.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;
}
.error {
    color: red;
    font-size: larger;
}
/*------------------------------------------------------------------------*/
#catlinks {
    border:1px solid #aaaa55;
    background-color:#ffffe0;
    padding:5px;
    margin-top: 1em;
}
}
 
/* emulate center */
.portlet h5 {                        /* Changes the navigation labels to title case. */
.center {
     text-transform: capitalize;
    width: 100%;
     text-align: center;
}
}
*.center * {
 
     margin-left: auto;
.wikitable {
     margin-right: auto;
     border-left: none;               /* Clearing existing style elements. */
     border-right: none;
 
    border-top: 1px solid #798ca3;
    border-bottom: 1px solid #798ca3;
}
}
 
/*------------------------------------------------------------------------*/
.wikitable tr {
 
/*
** content styles
*/
#toc {  
    /*border:1px solid #2f6fab;*/
    border:1px solid #aaaaaa;
    background-color:#f9f9f0;
    padding:5px;
    font-size: 95%;
}
}
#toc .tocindent { margin-left: 2em; }
 
#toc .tocline { margin-bottom: 0px; }
.wikitable th {                     /* Style for bold wikitable rows. */
#toc p { margin: 0 }
    border-left: none;               /* Clearing existing style elements. */
#toc .toctoggle { font-size: 94%; }
    border-right: none;
#toc .editsection {
 
     margin-top: 0.7em;  
    border-top: 1px solid #c0c3c7;
     font-size: 94%;
     border-bottom: 1px solid #c0c3c7;
 
     background-color: #f0f0f0;
}
}
 
/* images */
.wikitable td {
div.floatright {  
     border: none;                   /* Clearing existing style elements. */
    float: right;
    margin: 0;
    position:relative;
     border: 0.5em solid White;
    border-width: 0.5em 0 0.8em 1.4em;
}
}
div.floatright p { font-style: italic;}
 
div.floatleft {
.syntax_text {
     float: left;  
    font-family: Courier New;
    margin: 0.3em 0.5em 0.5em 0;
     font-size: 12px;
     position:relative;
 
    border: 0.5em solid White;
     background-color: #c8c8c8;
     border-width: 0.5em 1.4em 0.8em 0;
 
     padding: 2px 4px 2px 4px
}
}
div.floatleft p { font-style: italic; }
 
/* thumbnails */
.syntax_text:hover {
div.thumb {
    font-family: Courier New;
     margin-bottom: 0.5em;
     font-size: 12px;
     border-style: solid; border-color: White;
 
     width: auto;
     background-color: #e2e2b8;
     overflow: hidden;
 
     text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);
 
     padding: 2px 4px 2px 4px
}
}
div.thumb div {
 
     border:1px solid #aaaa55;
.rounded {
    padding: 3px !important;
     -moz-border-radius: 5px;
    background-color:#f9f9f0;
     border-radius: 5px;
     font-size: 94%;
    text-align: center;
}
}
div.thumb div a img {
 
     border:1px solid #cccccc;
.topRounded {
    -moz-border-top-left-radius: 5px;
    -moz-border-top-right-radius: 5px;
    border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}
}
div.thumb div div.thumbcaption {
 
     border: none;
.bottomRounded {
     text-align: left;
     -moz-border-bottom-left-radius: 5px;
     padding: 0.3em 0 0.1em 0;
     -moz-border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
     border-bottom-right-radius: 5px;
}
}
div.magnify {
 
     float: right;
#p-logo {
     border: none !important;
     z-index: 3;
     background: none !important;
    position: absolute; /*needed to use z-index */
    top: 0;
    left: 0;
    height: 155px;
    width: 12em;
    overflow: visible;
    background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
     background-position: center;
     background-repeat: no-repeat;
}
}
div.magnify a, div.magnify img {
 
    display: block;
#p-logo a, #plogo-a:hover {
    border: none !important;
    background: none !important;
}
div.tright {
    float: right;
    border-width: 0.5em 0 0.8em 1.4em;
}
div.tleft {
    float: left;
    margin-right:0.5em;
    border: 0.5em 1.4em 0.8em 0;
}
.urlexpansion,
.hiddenStructure {
     display: none;
     display: none;
}
}
img.tex { vertical-align: middle; }
 
span.texhtml { font-family: serif; }
 
 
/*------------------------------------------------------------------------------------*/
/* Style declarations for portal tabs. */
/*
 
** User styles
#ptabs {
*/
  font-size:93%;
  font-weight:bold;
/* table standards */
  clear: left;
table.rimage {
  margin: 0 0 3px 0;
    float:right;
    width:1pt;
    position:relative;
    margin-left:1em;
    margin-bottom:1em;
    text-align:center;
}
.toccolours {
    border:1px solid #aaaa55;
    background-color:#f9f9f0;
    padding:5px;
    font-size: 95%;
}
div.townBox {
    position:relative;
    float:right;
    background:White;
    margin-left:1em;
    border: 1px solid #aaaa55;
    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: #f3f3e0;
}
/*
** edit views etc
*/
.special li {
    line-height: 1.4em;
    margin: 0;
    padding: 0;
}
/* Page history styling */
/* the auto-generated edit comments */
.autocomment { color: gray; }
#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:#f9f9f0;
    border:1px dashed #aaaa55;
}
/*
** Diff rendering
*/
table.diff { background:white; }
td.diff-otitle { background:#ffffff; }
td.diff-ntitle { background:#ffffff; }
td.diff-addedline { background:#ccffcc; }
td.diff-deletedline { background:#ffffaa; }
td.diff-context { background:#eeeeee; }
/* disable interwiki styling */
#bodyContent a.extiw {
    color: #3366bb;
    background: none;
    padding: 0;
}
#bodyContent a.external { color: #3366bb; }
/* this can be used in the content area to switch off
special external link styling */
#bodyContent .plainlinks a {
    background: none;
    padding: 0;
}
/*---------------------------------------------------------------------------------------*/
/*
** general portlet styles (elements in the quickbar)
*/
.portlet {
    overflow: hidden;
}
.portlet h5 {
    padding:0;
    margin: 0 0 0 0;
    margin-bottom: 0;
}
.portlet ul {
    list-style-type: square;
    margin-left: -1.5em;
}
.portlet li {
    padding:0;
    margin: 0 0 0 0;
    margin-bottom: 0;
}
/*--------------------------------*/
#searchInput {
    border: 1px solid #aaaa55;
    width:170px;
    margin: 0 0 0 0;
    font-size: 95%;
}
/*===============================================================================*/
/*
** footer
*/
#footer {
    border-top: 1px solid #aaaa55;
    border-bottom: 1px solid #aaaa55;
    margin-top:0.4em;
    padding-top:0.4em;
    margin-left:-100px;
    text-align: center;
    font-size: 90%;
    width:98%;
}
#footer li {
    display: inline;
    margin: 0 1.3em;
}
/* hide from incapable browsers */
head:first-child+body #footer li { white-space: nowrap; }
#f-poweredbyico, #f-copyrightico {
    margin: 0 8px;
    background-color: White;
    position: relative;
    top: -2px; /* Bump it up just a tad */
}
#f-poweredbyico {
    float: right;
    height: 1%;
}
}
#f-copyrightico {
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
    float: left;
#ptabs .activetab {
    height: 1%;
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  background:#E5E5E5;
  text-decoration:none;
  color:black;
}
}
/*-------------------------------------------------------------------------------*/
#ptabs .inactivetab {
#siteNotice {
  padding:5px 10px 5px 10px;
    margin: 0.5em;
  margin:0 3px 0 0;
    background: #eeee22;
  text-decoration:none;
    padding: 0.5em;
  background:#F5F5F5;
    border: solid 1px #aaaa44;
  color:black;
}
}
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
.diffchange {
#ptabs .inactivetab:hover {
    text-decoration: bold;
  background:#CCC;
    color: #FF0000;
  color:black;
}
}
#ptabs a:hover { text-decoration:none !important; }
#ptabs a span {white-space: nowrap}

Latest revision as of 16:01, 10 May 2014

/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* ORIGINAL CHARACTER DON'T STEAL              */

h2 {
    overflow: hidden;
}

.portlet h5 {                        /* Changes the navigation labels to title case. */
    text-transform: capitalize;
}

.wikitable {
    border-left: none;               /* Clearing existing style elements. */
    border-right: none;

    border-top: 1px solid #798ca3;
    border-bottom: 1px solid #798ca3;
}

.wikitable tr {

}

.wikitable th {                      /* Style for bold wikitable rows. */
    border-left: none;               /* Clearing existing style elements. */
    border-right: none;

    border-top: 1px solid #c0c3c7;
    border-bottom: 1px solid #c0c3c7;

    background-color: #f0f0f0;
}

.wikitable td {
    border: none;                    /* Clearing existing style elements. */
}

.syntax_text {
    font-family: Courier New;
    font-size: 12px;

    background-color: #c8c8c8;

    padding: 2px 4px 2px 4px
}

.syntax_text:hover {
    font-family: Courier New;
    font-size: 12px;

    background-color: #e2e2b8;

    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);

    padding: 2px 4px 2px 4px
}

.rounded {
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.topRounded {
    -moz-border-top-left-radius: 5px;
    -moz-border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.bottomRounded {
    -moz-border-bottom-left-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#p-logo {
    z-index: 3;
    position: absolute; /*needed to use z-index */
    top: 0;
    left: 0;
    height: 155px;
    width: 12em;
    overflow: visible;
    background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
    background-position: center;
    background-repeat: no-repeat;
}

#p-logo a, #plogo-a:hover {
    display: none;
}



/* Style declarations for portal tabs. */

#ptabs {
  font-size:93%;
  font-weight:bold;
  clear: left;
  margin: 0 0 3px 0;
}
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
#ptabs .activetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  background:#E5E5E5;
  text-decoration:none;
  color:black;
}
#ptabs .inactivetab {
  padding:5px 10px 5px 10px;
  margin:0 3px 0 0;
  text-decoration:none;
  background:#F5F5F5;
  color:black;
}
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
#ptabs .inactivetab:hover {
  background:#CCC;
  color:black;
}
#ptabs a:hover { text-decoration:none !important; }
#ptabs a span {white-space: nowrap}