Difference between revisions of "MediaWiki:Monobook.css"

From AetoliaWiki
Jump to navigation Jump to search
m
m
 
(366 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* O--<PAGE TITLE>---------------------------------------------------O */
/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* ORIGINAL CHARACTER DON'T STEAL              */
.firstHeading
 
{
h2 {
position: relative;
    overflow: hidden;
left: -3px;
top: 20px;
margin-top: 0px;
width: 100%;
clear: both;
padding: 23px 0px 10px 3px; /*top padding so page title doesn't overlay bar*/
background-color: transparent;
background: transparent url(http://images.wikia.com/arsmagica/images/b/b8/Bar.jpg);
  background-repeat: repeat-x;
  background-position: top left;   
  color: #532900;
font-family: "Century Gothic", "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif;
font-weight: bold;
/* font-size: 1.5em; */
text-align: left;
border: none;
}
}
 
.portlet h5 {                       /* Changes the navigation labels to title case. */
/* O--<GENERAL LINKS>---------------------------------------------------O */
     text-transform: capitalize;
:link:link {color: #532900;}
:link.new {color: #913A40;}
:link.visited {color: #532900;}
:link.stub {color: #532900;}
/* I'm leaving 'active' as the colour is currently appropriate. */
/* O--<SIDEBAR BACKGROUNDS>---------------------------------------------------O */
#p-Saga, #p-Setting, #p-Information, #p-Wiki, #p-search, #p-tb, #p-wikicities-nav {
    background: transparent url("http://images.wikia.com/arsmagica/images/9/9c/Boxtop.jpg");
    background-position: top left;
    background-repeat: no-repeat;
    position: relative;
    left: 5px;
}
#p-Saga .pBody, #p-Setting .pBody, #p-Information .pBody, #p-Wiki .pBody, #p-search .pBody, #p-tb .pBody, #p-wikicities-nav .pBody {
    background: transparent url("http://images.wikia.com/arsmagica/images/0/0d/Box.jpg");
    background-position: bottom left;
    background-repeat: no-repeat;
    border: none;
}
/* Wikia messages disabled pending graphical fix relating to extremely long messages dislocating background sections. */
#p-wikicities-nav {
    display:none;
}
/* O--<PORTLET>---------------------------------------------------O */
/*
.portlet a.new {color: blue;}
.portlet ul a.new {color: green;}
.portlet li a.new {color: yellow;}
*/
.portlet a:visited {color: #532900;}
.portlet a:active {color: #532900;}
.portlet a:link {color: #532900;}
.portlet a:hover {
    color: #532900;
    background-color: transparent;
     text-decoration: underline;
}
.portlet {
    position: relative;
    top: 28px;
    border: none;
    align: left;
}
}
.portlet UL {
 
     background-color: transparent;
.wikitable {
     border: none;
     border-left: none;               /* Clearing existing style elements. */
     list-style-image: url("http://images.wikia.com/arsmagica/images/7/7a/Bullet.png");
     border-right: none;
     align=left;
 
     border-top: 1px solid #798ca3;
     border-bottom: 1px solid #798ca3;
}
}
.portlet LI {
 
    align=left;
.wikitable tr {
 
}
}
.portlet h5 {
 
     background-color: transparent;
.wikitable th {                     /* Style for bold wikitable rows. */
     color: white;
     border-left: none;               /* Clearing existing style elements. */
    font: 90% "new century schoolbook", serif;
     border-right: none;
     font-weight: bold;
 
     border: none;
     border-top: 1px solid #c0c3c7;
    text-transform: capitalize;
     border-bottom: 1px solid #c0c3c7;
     background-position: bottom left;
 
     background-color: #f0f0f0;
}
}
 
.wikitable td {
/* O--<PERSONAL BAR>---------------------------------------------------O */
    border: none;                   /* Clearing existing style elements. */
#p-personal a.new {color: black;}
#p-personal a:visited {color: white;}
#p-personal a:active {color: white;}
#p-personal a:link {color: white;}
#p-personal li a:hover {
text-decoration: none;
background-color: transparent;
        text-decoration: underline;
}
}
#p-personal {  
 
     font: "new century schoolbook", serif;
.syntax_text {
     font-weight: bold;
     font-family: Courier New;
     background-color: transparent;
     font-size: 12px;
    background: #B4AE9C url("http://images.wikia.com/arsmagica/images/7/7d/Edge.jpg");
 
     background-position: top left;
     background-color: #c8c8c8;
 
     padding: 2px 4px 2px 4px
}
}
 
.syntax_text:hover {
/* O--<TABS BAR>---------------------------------------------------O */
     font-family: Courier New;
     font-size: 12px;
#p-cactions {
 
     position: absolute;
     background-color: #e2e2b8;
     top: 25px;
 
    clear: left;
     text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);
     margin-left: 155px;
 
     width:72%;
    padding: 2px 4px 2px 4px
margin: 0;
white-space: nowrap;
line-height: 1em;
overflow: visible;
padding: 0px;
list-style: none;
font-size: 100%;
}
}
 
#p-cactions li a:hover, #p-cactions li.selected a:hover {
.rounded {
     color: #532900;
     -moz-border-radius: 5px;
    text-decoration: underline;
     border-radius: 5px;
     background-color: transparent;
}
}
#p-cactions li.selected a {
 
font-weight: bold;
.topRounded {
        color: #532900;
    -moz-border-top-left-radius: 5px;
        border: none;
    -moz-border-top-right-radius: 5px;
        background-color: transparent;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
}
#p-cactions li a {
 
        color: #532900;
.bottomRounded {
        border: none;
    -moz-border-bottom-left-radius: 5px;
        background-color: transparent;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
}
 
/* O--<TAB BAR BUTTONS -> INVISIBLE>---------------------------------------------O */
#p-cactions .hiddenStructure, #p-cactions h5 {
display: none;
}
#p-cactions ul,#p-cactions li {
    border: none;
    background-color: transparent;
}
/* O--<LOGO>---------------------------------------------------O */
#p-logo {
#p-logo {
        position: absolute;
    z-index: 3;
top: 36px;
    position: absolute; /*needed to use z-index */
        left:0px;
    top: 0;
        clear: left;
    left: 0;
        align: right;
    height: 155px;
padding: 0px 0px 0px 0px;
    width: 12em;
margin: 0px 0px 0px 0px;
    overflow: visible;
height: 150px;
    background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
        width: 150px;
    background-position: center;
        overflow: visible;
    background-repeat: no-repeat;
        background: none;
        border: none;
}
}
 
#p-logo a, #plogo-a:hover {
/* O--<FOOTER>---------------------------------------------------O */
     display: none;
#footer {
    position: relative;
    margin-left: 155px;
     background-color: transparent;
    background: transparent url(http://images.wikia.com/arsmagica/images/b/b8/Bar.jpg);
    background-repeat: repeat-x;
    background-position: top left;
    border-top: 1px solid #532900;
    border-left: none;
    border-bottom: 3px solid #532900;
    margin-top:0.4em;
    padding-top:22px;
    padding-bottom:0.1em;
    text-align: center;
    font-size: 90%;
    width:72%;
}
}
#footer li {
 
    display: inline;
 
    margin: 0 1.3em;
 
/* Style declarations for portal tabs. */
 
#ptabs {
  font-size:93%;
  font-weight:bold;
  clear: left;
  margin: 0 0 3px 0;
}
}
/* hide from incapable browsers */
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
head:first-child+body #footer li { white-space: nowrap; }
#ptabs .activetab {
#f-poweredbyico, #f-copyrightico {
  padding:5px 10px 5px 10px;
    margin: 0 8px;
  margin:0 3px 0 0;
    background-color: transparent;
  background:#E5E5E5;
    position: relative;
  text-decoration:none;
    top: 0px;
  color:black;
}
}
#f-poweredbyico {
#ptabs .inactivetab {
    float: right;
  padding:5px 10px 5px 10px;
    height: 1%;
  margin:0 3px 0 0;
}
  text-decoration:none;
#f-copyrightico {
  background:#F5F5F5;
    float: right;
  color:black;
    height: 1%;
}
/* O--<SITE NOTICE>---------------------------------------------------O */
#siteNotice {
    display: none;
}
}
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
#ptabs .inactivetab:hover {
/* O--<DIFFERENCES>---------------------------------------------------O */
  background:#CCC;
  color:black;
.diffchange {
    text-decoration: bold;
    color: #FF0000;
}
}
#ptabs a:hover { text-decoration:none !important; }
#ptabs a span {white-space: nowrap}
/* O--<PRE TAGS>---------------------------------------------------O */
pre { overflow: auto; border: 1px solid #aaa }
/* O--<HIDE USER ICON>---------------------------------------------------O */
li#pt-userpage {background: none}

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}