Difference between revisions of "MediaWiki:Monobook.css"

From AetoliaWiki
Jump to navigation Jump to search
m
 
(320 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 */


body {
.portlet h5 {                       /* Changes the navigation labels to title case. */
  background-color: #7f7f7f;
    text-transform: capitalize;
}
}


.firstHeading {
.wikitable {
  position: relative;
    border-left: none;               /* Clearing existing style elements. */
  left: -4px;
    border-right: none;
  top: 10px;
 
  margin-top: 0px;
    border-top: 1px solid #798ca3;
  width: 100%;
    border-bottom: 1px solid #798ca3;
  clear: both;
  padding: 10px 0px 10px 3px;
  background-color: transparent;
  color: #541315;
  font-family: Verdana;
  font-weight: bold;
  text-align: left;
  text-shadow: 0px 1px 0px #ffffff, 0px 2px 1px #ed353a;
  border: none;
}
}


:link:link {color: #532900;}
.wikitable tr {
:link:active {color: #913A40;}
:link.new {color: #913A40;}
:link.visited {color: #532900;}
:link.stub {color: #532900;}


.title {
  font-size: 200%;
}
}


#searchInput {
.wikitable th {                      /* Style for bold wikitable rows. */
  width: 123px;
    border-left: none;              /* Clearing existing style elements. */
  background: #000000;
    border-right: none;
 
    border-top: 1px solid #c0c3c7;
    border-bottom: 1px solid #c0c3c7;
 
    background-color: #f0f0f0;
}
}


#p-Navigation, #p-search, #p-tb, #p-Information, #p-General_Categories, #p-Organizations, #p-Lore {
.wikitable td {
  font-family: Verdana;
    border: none;                   /* Clearing existing style elements. */
  font-size: 125%;
}
  width: 147px;
 
  border: none;
.syntax_text {
  color: #ffffff;
    font-family: Courier New;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.5);
    font-size: 12px;
  border-top-right-radius: 12px;
  -moz-border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  -moz-border-bottom-right-radius: 12px;


  background: #541315;
    background-color: #c8c8c8;
  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);
    padding: 2px 4px 2px 4px
}
}


#p-Navigation .pBody, #p-search .pBody, #p-tb .pBody, #p-Information .pBody, #p-General_Categories .pBody, #p-Organizations .pBody, #p-Lore .pBody {
.syntax_text:hover {
  border: none;
    font-family: Courier New;
  font-size: 90%;
    font-size: 12px;
  border-bottom-right-radius: 12px;
 
  -moz-border-bottom-right-radius: 12px;
    background-color: #e2e2b8;
  box-shadow: 0px 0x 2px rgba(0, 0, 0, 0.5);
 
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3), -1px -1px 1px rgba(255, 255, 255, 0.55);


  background: #000000; /* Old browsers */
    padding: 2px 4px 2px 4px
  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+ */
}
}


.portlet a.new {color: blue;}
.rounded {
.portlet ul a.new {color: green;}
    -moz-border-radius: 5px;
.portlet li a.new {color: yellow;}
    border-radius: 5px;
}


.portlet a:visited {color: #bd050a;}
.topRounded {
.portlet a:active {color: #ed353a;}
    -moz-border-top-left-radius: 5px;
.portlet a:link {
    -moz-border-top-right-radius: 5px;
     color: #ed353a;
    border-top-left-radius: 5px;
     border-top-right-radius: 5px;
}
}
.portlet a:hover {
 
     color: #ff655a;
.bottomRounded {
     background-color: transparent;
     -moz-border-bottom-left-radius: 5px;
     text-decoration: none;
     -moz-border-bottom-right-radius: 5px;
     border-bottom: 1px dotted #ff655a;
     border-bottom-left-radius: 5px;
     border-bottom-right-radius: 5px;
}
}


.portlet {
#p-logo {
     position: relative;
    z-index: 3;
     top: 28px;
     position: absolute; /*needed to use z-index */
     border: none;
     top: 0;
     align: left;
    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;
}
}


.portlet UL {
#p-logo a, #plogo-a:hover {
    background-color: transparent;
     display: none;
     border: none;
    list-style-type: armenian;
    align=left;
}
}


.portlet LI {
 
    align=left;
 
/* 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}
.portlet h5 {
#ptabs .activetab {
    background-color: transparent;
  padding:5px 10px 5px 10px;
    color: white;
  margin:0 3px 0 0;
    font: 90% "new century schoolbook", serif;
  background:#E5E5E5;
    font-weight: bold;
  text-decoration:none;
    border: none;
  color:black;
    text-transform: capitalize;
}
    background-position: bottom left;
#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}

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}