Difference between revisions of "MediaWiki:Monobook.css"

From AetoliaWiki
Jump to navigation Jump to search
m
 
(227 intermediate revisions by one other user not shown)
Line 1: Line 1:
/* Lin's magic custom CSS! ORIGINAL CHARACTER DON'T STEAL */
/* Lin's fancy-schmancy CSS hacks and whatnot. */
/* ORIGINAL CHARACTER DON'T STEAL             */


/* Colors:          */
h2 {
/* Grey:      7f7f7f */
    overflow: hidden;
/* Dark grey: 3a3a3a */
}
/* Red:       ed353a */
/* Dark red:  541315 */


#column-content {
.portlet h5 {                       /* Changes the navigation labels to title case. */
  position: relative;
    text-transform: capitalize;
  top: 7px;
  border-top: none;
}
}


#content {
.wikitable {
  border: none;
    border-left: none;              /* Clearing existing style elements. */
  background-color: #1d1d1d;
    border-right: none;
  color: #d8d8d8;
 
    border-top: 1px solid #798ca3;
    border-bottom: 1px solid #798ca3;
}
}


body {
.wikitable tr {
  background-image: url('http://wiki.aetolia.com/mediawiki/images/5/58/Gradient.png');
  background-repeat: repeat-x;
  background-position: top;
  background-color: #000000;


}
}


.firstHeading {
.wikitable th {                     /* Style for bold wikitable rows. */
  position: relative;
    border-left: none;               /* Clearing existing style elements. */
  left: -4px;
    border-right: none;
  top: 10px;
  margin-top: 0px;
  width: 100%;
  clear: both;
  padding: 10px 0px 10px 3px;
  background-color: transparent;
  color: #ed353a;
  font-family: Verdana;
  font-weight: bold;
  text-align: left;
  text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
  border: none;
}


:link:link {color: #532900;}
    border-top: 1px solid #c0c3c7;
:link:active {color: #913A40;}
    border-bottom: 1px solid #c0c3c7;
:link.new {color: #913A40;}
:link.visited {color: #532900;}
:link.stub {color: #532900;}


#searchInput {
    background-color: #f0f0f0;
  width: 123px;
  background: #222;
  color: #ffffd0;
  border-top: 1px dotted #541315;
  border-bottom: 1px dotted #541315;
  border-left: none;
  border-right: none;
}
}


#p-logo {
.wikitable td {
  position: absolute;
    border: none;                   /* Clearing existing style elements. */
  top: 22px;
  background-color: transparent;
}
}


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


    background-color: #c8c8c8;


 
    padding: 2px 4px 2px 4px
#p-Navigation, #p-search, #p-tb, #p-Information, #p-General_Categories, #p-Organizations, #p-Lore {
  position: relative;
  left: 4px;
  font-family: Verdana;
  width: 146px;
  border: none;
  color: #ffffff;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
  -moz-border-radius: 12px;
 
  background: #541315;
  background: -moz-linear-gradient(top, #140000 0%, #541315 39%, #541315 100%); /* FF3.6+ */
  background: -webkit-linear-gradient(top, #140000 0%,#541315 39%,#541315 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #140000 0%,#541315 39%,#541315 100%); /* Opera11.10+ */
  background: -ms-linear-gradient(top, #140000 0%,#541315 39%,#541315 100%); /* IE10+ */
 
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}
 
#p-Navigation .pBody, #p-search .pBody, #p-tb .pBody, #p-Information .pBody, #p-General_Categories .pBody, #p-Organizations .pBody, #p-Lore .pBody {
  border: none;
  font-size: 90%;
  border-bottom-right-radius: 12px;
  -moz-border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  -moz-border-bottom-left-radius: 12px;
  box-shadow: 0px 0x 2px rgba(0, 0, 0, 0.5);
 
  background: #000000; /* Old browsers */
  background: -moz-linear-gradient(top, #000000 0%, #000000 75%, #1c1c1c 100%); /* FF3.6+ */
  background: -webkit-linear-gradient(top, #000000 0%,#000000 75%,#1c1c1c 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #000000 0%,#000000 75%,#1c1c1c 100%); /* Opera11.10+ */
  background: -ms-linear-gradient(top, #000000 0%,#000000 75%,#1c1c1c 100%); /* IE10+ */
}
}


.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
.portlet a.new {color: blue;}
.portlet ul a.new {color: green;}
.portlet li a.new {color: yellow;}
 
.portlet a:visited {color: #bd050a;}
.portlet a:active {color: #ed353a;}
.portlet a:link {
    color: #ed353a;
}
.portlet a:hover {
    color: #ff655a;
    background-color: transparent;
    text-decoration: none;
     border-bottom: 1px dotted #ff655a;
}
}


.portlet {
.rounded {
     position: relative;
     -moz-border-radius: 5px;
    top: 28px;
     border-radius: 5px;
     border: none;
    align: left;
}
}


.portlet UL {
.topRounded {
     background-color: transparent;
     -moz-border-top-left-radius: 5px;
     border: none;
     -moz-border-top-right-radius: 5px;
     list-style-type: armenian;
     border-top-left-radius: 5px;
     align=left;
     border-top-right-radius: 5px;
}
}


.portlet LI {
.bottomRounded {
     align=left;
     -moz-border-bottom-left-radius: 5px;
    -moz-border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
}


.portlet h5 {
#p-logo {
     position: relative;
    z-index: 3;
     left: 4px;
     position: absolute; /*needed to use z-index */
     background-color: transparent;
     top: 0;
     color: white;
     left: 0;
     font-size: 90%;
     height: 155px;
     font-weight: bold;
     width: 12em;
     border: none;
     overflow: visible;
     text-transform: capitalize;
     background-image: url('http://wiki.aetolia.com/mediawiki/images/c/c9/Logo.png');
     background-position: bottom left;
     background-position: center;
     background-repeat: no-repeat;
}
}


 
#p-logo a, #plogo-a:hover {
 
     display: none;
 
 
#p-personal a.new {color: #ed353a;}
#p-personal a:visited {color: #ed353a;}
#p-personal a:active {color: #ed353a;}
#p-personal a:link {color: #ed353a;}
#p-personal li a:hover {
     text-decoration: none;
    background-color: transparent;
    color: #ff655a;
    border-bottom: 1px dotted #ff655a;
}
#p-personal {
    font-family: Verdana;
    font-weight: bold;
    color: #ed353a;
    background-color: #000000;
    padding-bottom: 3px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}
}






/* Style declarations for portal tabs. */


 
#ptabs {
#p-cactions {
  font-size:93%;
    position: absolute;
  font-weight:bold;
    top: 22px;
  clear: left;
    clear: left;
  margin: 0 0 3px 0;
    left: 154px;
    width:72%;
    background-color: #1d1d1d;
    margin: 0px;
    white-space: nowrap;
    line-height: 1em;
    overflow: visible;
    padding: 0px;
    list-style: none;
    font-size: 100%;
    border: none;
    border-top-left-radius: 12px;
    -moz-border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    -moz-border-top-right-radius: 12px;
}
#p-cactions li a:hover, #p-cactions li.selected a:hover {
    color: #ed353a;
    text-decoration: none;
    border-bottom: 1px dotted #ed353a;
    background-color: transparent;
}
}
#p-cactions li.selected a {
#firstHeading #ptabs { margin: 0 0.5em 0 1em !important; font-weight:normal !important; vertical-align: 3px}
font-weight: bold;
#ptabs .activetab {
        color: #ed353a;
  padding:5px 10px 5px 10px;
        border: none;
  margin:0 3px 0 0;
        background-color: transparent;
  background:#E5E5E5;
  text-decoration:none;
  color:black;
}
}
#p-cactions li a {
#ptabs .inactivetab {
        color: #ed353a;
  padding:5px 10px 5px 10px;
        border: none;
  margin:0 3px 0 0;
        background-color: transparent;
  text-decoration:none;
  background:#F5F5F5;
  color:black;
}
}
 
#firstHeading #ptabs .activetab, #firstHeading #ptabs .inactivetab { padding: 1px 10px 1px 10px}
#p-cactions .hiddenStructure, #p-cactions h5 {
#ptabs .inactivetab:hover {
display: none;
   background:#CCC;
}
   color:black;
#p-cactions ul,#p-cactions li {
    border: none;
    background-color: transparent;
}
 
.mw-code, .mw-css {
   background-color: #000000;
   color: #bbbbbb;
  border-top: none;
  border-bottom: none;
  border-left: 1px dotted #541315;
  border-right: 1px dotted #541315;
}
}
#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}