MediaWiki:Common.css: Perbedaan revisi

 
(35 revisi antara oleh pengguna yang sama tidak ditampilkan)
Baris 2: Baris 2:
  
 
/* Angus' custom CSS */
 
/* Angus' custom CSS */
 +
pre {
 +
  background-color: #eaeaea;
 +
  padding-top: 14px;
 +
  padding-bottom: 10px;
 +
  padding-left: 20px;
 +
  padding-right: 20px;
 +
  margin-top: 2em;
 +
  margin-bottom: 2em;
 +
  border-left: 16px solid #8C0315;
 +
  border-bottom: 1px solid #8C0315;
 +
  border-top: 1px solid #eeeeee;
 +
  border-right: 1px solid #8C0315;
 +
}
 +
 
.hlbox {
 
.hlbox {
 
   background-color: #dAdAdA;
 
   background-color: #dAdAdA;
Baris 8: Baris 22:
 
   padding-left: 20px;
 
   padding-left: 20px;
 
   padding-right: 20px;
 
   padding-right: 20px;
  margin-left: 3em;
 
 
   margin-top: 2em;  
 
   margin-top: 2em;  
 
   margin-bottom: 2em;
 
   margin-bottom: 2em;
   border:1px solid #1a1a1a;
+
   border-left: 16px solid #999999;
 +
  border-bottom: 1px solid #bbbbbb;
 +
  border-top: 1px solid #eeeeee;
 +
  border-right: 1px solid #bbbbbb;  
 
}
 
}
 
.qbox {
 
.qbox {
Baris 19: Baris 35:
 
   padding-left: 10px;
 
   padding-left: 10px;
 
   padding-right: 10px;
 
   padding-right: 10px;
  margin-left: 5em;
 
 
   margin-top: 0em;  
 
   margin-top: 0em;  
 
   margin-bottom: 0em;
 
   margin-bottom: 0em;
 
}
 
}
 +
 +
.example {
 +
  background-color: #F0EFE4;
 +
  padding-top: 14px;
 +
  padding-bottom: 10px;
 +
  padding-left: 20px;
 +
  padding-right: 20px;
 +
  margin-top: 2em;
 +
  margin-bottom: 2em;
 +
  /*border:1px solid #1a1a1a;*/
 +
  border-left: 16px solid #A8A25E;
 +
  border-bottom: 1px solid #A8A25E;
 +
  border-top: 1px solid #FAF9F2;
 +
  border-right: 1px solid #A8A25E;
 +
}
 +
  
 
.big {
 
.big {
Baris 31: Baris 62:
 
    
 
    
 
}
 
}
h2 {
+
 
   margin-top: 2em;
+
.toc li {
 +
   margin-top: 2px;
 +
  margin-bottom: 2px;
 +
  font-family: sans-serif;
 +
  font-size: 11pt;
 +
}
 +
.toc a {
 +
    border-bottom: none;
 +
    color: #888888;
 +
    text-decoration: none;
 
}
 
}
body {
+
 
 
+
.toc a:hover {
 +
    color: #222222;
 
}
 
}
  
p, li {
+
/* main menu formatting */
   margin-left: 5em;
+
 
 +
.MainIconMenu {
 +
  backgroundcolor: red;
 +
   margin-left : - 200px;
 
}
 
}
  
.hlbox p {
+
.mainIconMenu a.new {
   position: relative;
+
   font-family : "sans-serif";
  left: -4em;
 
 
}
 
}
  
 +
/* table formatting*/
  
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
+
.sqltable tr:nth-child(even) {
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
+
     background-color: #F0EFE4;
     border: none;
 
    padding: 0.25em 0.9em;    /* 0.9em left/right */
 
    width: 100%;               /* Make all mboxes the same width regardless of text length */
 
 
}
 
}
td.mbox-image {               /* The left image cell */
+
 
    border: none;
+
.sqltable tr:nth-child(odd) {
    padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
+
     background-color: #FCFCF7;
     text-align: center;  
 
 
}
 
}
td.mbox-imageright {           /* The right image cell */
+
 
    border: none;
+
.sqltable th {
    padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
+
  background-color: #A8A25E;
    text-align: center;  
+
  color: white;
 
}
 
}
td.mbox-empty-cell {           /* An empty narrow cell */
+
 
     border: none;
+
div.plain div.sqltable tr {
    padding: 0px;
+
     background-color: white;
    width: 1px;
 
 
}
 
}
  
/* Article message box styles */
+
div.plain div.sqltable th {
table.ambox {
+
  background-color: white;
    margin: 0px 10%;                  /* 10% = Will not overlap with other elements */
+
  color: black;
    border: 1px solid #aaa;
 
    border-left: 10px solid #1e90ff; /* Default "notice" blue */
 
    background: #fbfbfb;  
 
 
}
 
}
table.ambox + table.ambox {      /* Single border between stacked boxes. */
+
 
    margin-top: -1px;
+
 
 +
/***********************************************************************/
 +
/* CSS for Drop Down menus - content is placed in MediaWiki:SiteNotice */
 +
/***********************************************************************/
 +
 
 +
 
 +
/*Ensure that the Sitenotice is above the body content*/
 +
 
 +
#bodyContent {
 +
z-index: 98;
 
}
 
}
.ambox th.mbox-text,
+
#menu{
.ambox td.mbox-text {            /* The message body cell(s) */
+
z-index: 99;
    padding: 0.25em 0.5em;       /* 0.5em left/right */
 
 
}
 
}
.ambox td.mbox-image {           /* The left image cell */
+
 
    padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
+
/* START DROP DOWN MENUS */
 +
/* http://www.mediawiki.org/wiki/Extension:CSS_Dropdowns#Adding_it_to_your_site */
 +
 
 +
div#siteNotice {
 +
        width:100%;    /* makes the entire box full width */
 +
        float:left; /*makes the  entire box  enclose the list */
 +
        font-size:1.3em; /* SET FONT-SIZE HERE */
 +
        background-color:#CFCFCF; /* colors the background  behind the box*/
 +
a:link {color: #FFFFFF;} /* FFFFFF = COLOR WHITE */
 +
        background:#930B00; /*  BACKGROUND COLORS FOR ENTIRE BOX 930B00 = DARK RED */  
 +
        margin:7px -2px -2px -2px;
 +
        padding:0;     
 
}
 
}
.ambox td.mbox-imageright {      /* The right image cell */
+
div#siteNotice li {
     padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
+
        float:left;    /* Causes the list to align horizontally instead of stack */
 +
        position:relative; /* positioning context for the absolutely positioned drop-down */
 +
        list-style-type:none;  /* removes the bullet off each list item */
 +
        background-color:#930B00; /*sets the background of the menu items */
 +
 
 +
        margin: -4px 0 0 0; /*Brings the menu items up */      
 +
        padding:0 6px; /*creates space each side of menu item's text */
 
}
 
}
 +
div#siteNotice li:first-child {
 +
        -moz-border-radius-topleft: .5em;
 +
        padding-bottom:1px; /*to fix from rounded edge */
 +
        border-top-left-radius: .5em;
 +
        }
 +
div#siteNotice li:last-child {
 +
        -moz-border-radius-topright: .5em;
 +
        border-top-right-radius: .5em;
 +
        padding-bottom:1px; /*to fix from rounded edge */
 +
        }
 +
div#siteNotice li:hover {
 +
        background-color:#202020; /*Background of the menu items when hovered over #202020 = DARK GRAY */
 +
        }
 +
div#siteNotice a {
 +
        display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
 +
        color:#FFF;  /* LINK TEXT color #FFF = WHITE */
 +
        text-decoration: none;    /* removes underline */
 +
        }
 +
 +
div#Menu a {
 +
        display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
 +
        color:#FFF;  /* LINK TEXT color #FFF = WHITE */
 +
        text-decoration: none;    /* removes underline */
 +
        }
  
table.ambox-notice {
+
/* the horizontal menu ends here */
    border-left: 10px solid #1e90ff;   /* Blue */
+
/* the drop-down starts here */
 +
div#siteNotice ul li ul {
 +
        margin:0; /* prevents the TEMP value inheriting from the horizontal menu  */
 +
        position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
 +
        width:10em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
 +
        left:-1px; /*aligns the drop exactly under the menu */
 +
        }
 +
div#siteNotice ul li ul li {
 +
        margin: -1px 0 0 0; /* prevents the margin value inheriting from the horiz menu + bring menu items up  */
 +
        width:100%; /* makes the list items fill the list container (ul) */
 +
       
 +
        list-style-type:none;  /* removes the bullet off each list item */
 +
        list-style-image:none;  /* removes the bullet off each list item */
 +
        padding:0 0 1px;
 +
        -moz-border-radius-topright: 0;
 +
        -moz-border-radius-topleft: 0;
 +
        -moz-border-radius-bottomright: 0;
 +
        -moz-border-radius-bottomleft: 0;
 +
        border-bottom-right-radius: 0;
 +
        border-bottom-left-radius: 0;
 +
        border-top-left-radius: 0;
 +
        border-top-right-radius: 0;
 +
        }
 +
div#siteNotice ul li ul li:last-child {
 +
        -moz-border-radius-bottomright: 1em;
 +
        -moz-border-radius-bottomleft: 1em;
 +
        -moz-border-radius-topleft: 0; 
 +
        -moz-border-radius-topright: 0;
 +
        border-bottom-right-radius: 1em;
 +
        border-bottom-left-radius: 1em;
 +
        border-top-left-radius: 0;
 +
        border-top-right-radius: 0;
 +
        padding-right:1px; /*to fix from rounded edge */
 
}
 
}
table.ambox-speedy {
+
div#siteNotice ul li ul li:first-child {
    border-left: 10px solid #b22222;   /* Red */
+
        /* REMOVED border-top:1px solid #069; /*the top edge of the dropdown #069 = DARK BLUE http://www.color-hex.com/color/006699 */ */
    background: #fee;                  /* Pink */
+
        -moz-border-radius-topleft: 0;
}
+
        border-top-left-radius: 0;
table.ambox-delete {
 
    border-left: 10px solid #b22222;    /* Red */
 
}
 
table.ambox-content {
 
    border-left: 10px solid #f28500;   /* Orange */
 
}
 
table.ambox-style {
 
    border-left: 10px solid #f4c430;    /* Yellow */
 
}
 
table.ambox-move {
 
    border-left: 10px solid #9932cc;    /* Purple */
 
}
 
table.ambox-protection {
 
    border-left: 10px solid #bba;       /* Gray-gold */
 
 
}
 
}
 +
/* make the drop-down display as the menu is rolled over */
 +
 +
div#siteNotice ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
 +
 +
div#siteNotice ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */
 +
 +
/* pop-out starts here */
 +
body div#siteNotice ul li ul li ul  {
 +
        visibility:hidden; /* same effect as display:none in this situation */
 +
        top:-1px;
 +
        left:10em;
 +
        }
 +
div#siteNotice ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */
 +
 +
/* second level popouts start here*/
 +
 +
div#siteNotice ul li ul li:hover ul li ul {visibility:hidden;}
 +
 +
div#siteNotice ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */
 +
 +
 +
/* third level popouts start here
 +
I haven't tested this */
 +
 +
div#siteNotice ul li ul li ul li:hover ul li ul {visibility:hidden;}
 +
 +
div#siteNotice ul li ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */
 +
 +
/* THE HACK ZONE - */
 +
 +
/* hack for IE (all flavors) so the menu has a vertical line on the left */
 +
 +
* html div#siteNotice ul {
 +
        float:left; /* makes the ul wrap the li's */
 +
        }
 +
/* add a top line to drops and pops in IE browsers - can't read :first-child */
 +
 +
* html  div#siteNotice ul li ul {
 +
        border-left:0px; /* stops the drop inheriting the ul border */
 +
        }
 +
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */
  
/* Image message box styles */
+
* html  div#siteNotice ul li ul li ul {  
table.imbox {
+
  left:9.85em;  
    margin: 4px 10%;  
+
  voice-family: "\"}\"";  
    border-collapse: collapse;  
+
  voice-family:inherit;
    border: 3px solid #1e90ff;   /* Default "notice" blue */
+
  left:10em;
    background: #fbfbfb;
+
  }
}
+
/* and the "be nice to Opera" rule */
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
+
html>body div#siteNotice ul li ul li ul {
    margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
+
  left:10em;
    display: block;        /* Fix for webkit to force 100% width.  */
+
  }
}
 
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
 
    margin: 4px;
 
}
 
  
table.imbox-notice {
 
    border: 3px solid #1e90ff;    /* Blue */
 
}
 
table.imbox-speedy {
 
    border: 3px solid #b22222;    /* Red */
 
    background: #fee;            /* Pink */
 
}
 
table.imbox-delete {
 
    border: 3px solid #b22222;    /* Red */
 
}
 
table.imbox-content {
 
    border: 3px solid #f28500;    /* Orange */
 
}
 
table.imbox-style {
 
    border: 3px solid #f4c430;    /* Yellow */
 
}
 
table.imbox-move {
 
    border: 3px solid #9932cc;    /* Purple */
 
}
 
table.imbox-protection {
 
    border: 3px solid #bba;      /* Gray-gold */
 
}
 
table.imbox-license {
 
    border: 3px solid #88a;      /* Dark gray */
 
    background: #f7f8ff;          /* Light gray */
 
}
 
table.imbox-featured {
 
    border: 3px solid #cba135;    /* Brown-gold */
 
}
 
  
/* Category message box styles */
+
/* an Opera-only hack to fix a redraw problem by invisibly extending the ul */
table.cmbox {
+
/* the first-level drop stays open for 100px below the bottom but at least it works */
    margin: 3px 10%;
+
/* this can be reduced to as little as 22px if you don't have pop-outs */
    border-collapse: collapse;
+
/* the pop-out menu stays open for 22px below the bottom but at least it works
    border: 1px solid #aaa;
 
    background: #DFE8FF;    /* Default "notice" blue */
 
}
 
  
table.cmbox-notice {
+
Not Tested!! */
    background: #D8E8FF;    /* Blue */
+
        @media all and (min-width: 0px){
}
+
  body div#siteNotice ul li ul {padding-bottom:200px;}
table.cmbox-speedy {
+
  body div#siteNotice ul li ul li ul {padding-bottom:22px;}
    margin-top: 4px;
+
   body div#siteNotice ul li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */
    margin-bottom: 4px;
+
   }
    border: 4px solid #b22222;   /* Red */
 
    background: #FFDBDB;          /* Pink */
 
}
 
table.cmbox-delete {
 
    background: #FFDBDB;    /* Red */
 
}
 
table.cmbox-content {
 
    background: #FFE7CE;   /* Orange */
 
}
 
table.cmbox-style {
 
    background: #FFF9DB;    /* Yellow */
 
}
 
table.cmbox-move {
 
    background: #E4D8FF;    /* Purple */
 
}
 
table.cmbox-protection {
 
    background: #EFEFE1;   /* Gray-gold */
 
}
 
  
/* Other pages message box styles */
+
/*end Opera hack */
table.ombox {
 
    margin: 4px 10%;
 
    border-collapse: collapse;
 
    border: 1px solid #aaa;      /* Default "notice" gray */
 
    background: #f9f9f9;
 
}
 
  
table.ombox-notice {
+
/* end of hack zone */
    border: 1px solid #aaa;      /* Gray */
 
}
 
table.ombox-speedy {
 
    border: 2px solid #b22222;    /* Red */
 
    background: #fee;            /* Pink */
 
}
 
table.ombox-delete {
 
    border: 2px solid #b22222;    /* Red */
 
}
 
table.ombox-content {
 
    border: 1px solid #f28500;    /* Orange */
 
}
 
table.ombox-style {
 
    border: 1px solid #f4c430;    /* Yellow */
 
}
 
table.ombox-move {
 
    border: 1px solid #9932cc;    /* Purple */
 
}
 
table.ombox-protection {
 
    border: 2px solid #bba;      /* Gray-gold */
 
}
 
 
/* Talk page message box styles */
 
table.tmbox {
 
    margin: 4px 10%;
 
    border-collapse: collapse;
 
    border: 1px solid #c0c090;    /* Default "notice" gray-brown */
 
    background: #f8eaba;
 
}
 
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
 
    margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)  */
 
    width: 100%;                /* For Safari and Opera */
 
}
 
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
 
    line-height: 1.5em;          /* also "nested", so reset styles that are  */ 
 
    font-size: 100%;            /* set in "mbox-small" above.                */
 
}
 
  
table.tmbox-speedy {
+
/* END OF LIST-BASED MENU */
    border: 2px solid #b22222;    /* Red */
 
    background: #fee;            /* Pink */
 
}
 
table.tmbox-delete {
 
    border: 2px solid #b22222;    /* Red */
 
}
 
table.tmbox-content {
 
    border: 2px solid #f28500;    /* Orange */
 
}
 
table.tmbox-style {
 
    border: 2px solid #f4c430;    /* Yellow */
 
}
 
table.tmbox-move {
 
    border: 2px solid #9932cc;    /* Purple */
 
}
 
table.tmbox-protection,
 
table.tmbox-notice {
 
    border: 1px solid #c0c090;    /* Gray-brown */
 
}
 
  
/* Disambig and set index box styles */
 
table.dmbox {
 
    clear: both;
 
    margin: 0.9em 1em;
 
    border-top: 1px solid #ccc;
 
    border-bottom: 1px solid #ccc;
 
    background: transparent;
 
}
 
 
/* Footer and header message box styles */
 
table.fmbox {
 
    clear: both;
 
    margin: 0.2em 0;
 
    width: 100%;
 
    border: 1px solid #aaa;
 
    background: #f9f9f9;    /* Default "system" gray */
 
}
 
table.fmbox-system {
 
    background: #f9f9f9;
 
}
 
table.fmbox-warning {
 
    border: 1px solid #bb7070;  /* Dark pink */
 
    background: #ffdbdb;        /* Pink */
 
}
 
table.fmbox-editnotice {
 
    background: transparent;
 
}
 
/* Div based "warning" style fmbox messages. */
 
div.mw-warning-with-logexcerpt,
 
div.mw-lag-warn-high,
 
div.mw-cascadeprotectedwarning,
 
div#mw-protect-cascadeon {
 
    clear: both;
 
    margin: 0.2em 0;
 
    border: 1px solid #bb7070;
 
    background: #ffdbdb;
 
    padding: 0.25em 0.9em;
 
}
 
/* Div based "system" style fmbox messages.
 
  Used in [[MediaWiki:Readonly lag]]. */
 
div.mw-lag-warn-normal,
 
div.fmbox-system {
 
    clear: both;
 
    margin: 0.2em 0;
 
    border: 1px solid #aaa;
 
    background: #f9f9f9;
 
    padding: 0.25em 0.9em;
 
}
 
  
/* These mbox-small classes must be placed after all other
+
/* finally after feeding values to all others, we deal with MAc5 IE */
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so  
+
/* IE5 Mac can't do drop-downs so we need to present the info in a different way*/
  they override "table.ambox + table.ambox" above. */
+
/* we present the drop down choices in a row and never show any second-level drops */
body.mediawiki table.mbox-small {  /* For the "small=yes" option. */
+
/* this stylesheet is read by IE5 Mac only - hack omits 'url' and leave no space between @import and (" 
    clear: right;
+
Not Tested!!*/
    float: right;
+
@import("/wiki/skins/common/dropdown/ie51_menu_hack.css");  
    margin: 4px 0 4px 1em;
+
/* END OF DROP DOWN MENUS */
    width: 238px;
 
    font-size: 88%;
 
    line-height: 1.25em;
 
}
 
body.mediawiki table.mbox-small-left {  /* For the "small=left" option. */
 
    margin: 4px 1em 4px 0;
 
    width: 238px;
 
    border-collapse: collapse;
 
    font-size: 88%;
 
    line-height: 1.25em;
 
}
 

Revisi terkini pada 21 Maret 2015 14.44

/* CSS placed here will be applied to all skins */

/* Angus' custom CSS */
pre {
  background-color: #eaeaea;
  padding-top: 14px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 2em; 
  margin-bottom: 2em;
  border-left: 16px solid #8C0315;
  border-bottom: 1px solid #8C0315;
  border-top: 1px solid #eeeeee;
  border-right: 1px solid #8C0315; 
}

.hlbox {
  background-color: #dAdAdA;
  padding-top: 14px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 2em; 
  margin-bottom: 2em;
  border-left: 16px solid #999999;
  border-bottom: 1px solid #bbbbbb;
  border-top: 1px solid #eeeeee;
  border-right: 1px solid #bbbbbb; 
}
.qbox {
  background-color: #eeeeee;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 10px;
  padding-right: 10px;
  margin-top: 0em; 
  margin-bottom: 0em;
}

.example {
  background-color: #F0EFE4;
  padding-top: 14px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  margin-top: 2em; 
  margin-bottom: 2em;
  /*border:1px solid #1a1a1a;*/
  border-left: 16px solid #A8A25E;
  border-bottom: 1px solid #A8A25E;
  border-top: 1px solid #FAF9F2;
  border-right: 1px solid #A8A25E; 
}


.big {
  font-size: 20pt;
  font-weight: bold;
  position: relative;
  left: -2em;
  
}

.toc li {
  margin-top: 2px;
  margin-bottom: 2px;
  font-family: sans-serif;
  font-size: 11pt;
}
.toc a {
    border-bottom: none;
    color: #888888;
    text-decoration: none;
}

.toc a:hover {
    color: #222222;
}

/* main menu formatting */

.MainIconMenu {
  backgroundcolor: red;
  margin-left : - 200px;
}

.mainIconMenu a.new {
  font-family : "sans-serif";
}

/* table formatting*/

.sqltable tr:nth-child(even) {
    background-color: #F0EFE4;
}

.sqltable tr:nth-child(odd) {
    background-color: #FCFCF7;
}

.sqltable th {
  background-color: #A8A25E;
  color: white;
}

div.plain div.sqltable tr {
    background-color: white;
}

div.plain div.sqltable th {
  background-color: white;
  color: black;
}


/***********************************************************************/
/* CSS for Drop Down menus - content is placed in MediaWiki:SiteNotice */
/***********************************************************************/


/*Ensure that the Sitenotice is above the body content*/

#bodyContent {
z-index: 98;
}
#menu{
z-index: 99;
}

/* START DROP DOWN MENUS */
/* http://www.mediawiki.org/wiki/Extension:CSS_Dropdowns#Adding_it_to_your_site */

div#siteNotice {
        width:100%;     /* makes the entire box full width */
        float:left; /*makes the  entire box  enclose the list */
        font-size:1.3em; /* SET FONT-SIZE HERE */
        background-color:#CFCFCF; /* colors the background  behind the box*/ 
a:link {color: #FFFFFF;} /* FFFFFF = COLOR WHITE */
        background:#930B00; /*  BACKGROUND COLORS FOR ENTIRE BOX 930B00 = DARK RED */ 
        margin:7px -2px -2px -2px;
        padding:0;      
}
div#siteNotice li {
        float:left;     /* Causes the list to align horizontally instead of stack */
        position:relative; /* positioning context for the absolutely positioned drop-down */
        list-style-type:none;   /* removes the bullet off each list item */
        background-color:#930B00; /*sets the background of the menu items */

        margin: -4px 0 0 0; /*Brings the menu items up */     
        padding:0 6px; /*creates space each side of menu item's text */
}
div#siteNotice li:first-child {
        -moz-border-radius-topleft: .5em;
        padding-bottom:1px; /*to fix from rounded edge */
        border-top-left-radius: .5em;
        }
div#siteNotice li:last-child {
        -moz-border-radius-topright: .5em;
        border-top-right-radius: .5em;
        padding-bottom:1px; /*to fix from rounded edge */
        }
div#siteNotice li:hover { 
        background-color:#202020; /*Background of the menu items when hovered over #202020 = DARK GRAY */
        }
div#siteNotice a {
        display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
        color:#FFF;  /* LINK TEXT color #FFF = WHITE */
        text-decoration: none;    /* removes underline */
        }

div#Menu a {
        display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
        color:#FFF;  /* LINK TEXT color #FFF = WHITE */
        text-decoration: none;    /* removes underline */
        }

/* the horizontal menu ends here */
/* the drop-down starts here */
div#siteNotice ul li ul {
        margin:0; /* prevents the TEMP value inheriting from the horizontal menu  */
        position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
        width:10em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
        left:-1px; /*aligns the drop exactly under the menu */
        }
div#siteNotice ul li ul li {
        margin: -1px 0 0 0; /* prevents the margin value inheriting from the horiz menu + bring menu items up  */
        width:100%; /* makes the list items fill the list container (ul) */
        
        list-style-type:none;   /* removes the bullet off each list item */
        list-style-image:none;  /* removes the bullet off each list item */
        padding:0 0 1px;
        -moz-border-radius-topright: 0;
        -moz-border-radius-topleft: 0;
        -moz-border-radius-bottomright: 0;
        -moz-border-radius-bottomleft: 0;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        }
div#siteNotice ul li ul li:last-child {
        -moz-border-radius-bottomright: 1em;
        -moz-border-radius-bottomleft: 1em;
        -moz-border-radius-topleft: 0;  
        -moz-border-radius-topright: 0; 
        border-bottom-right-radius: 1em;
        border-bottom-left-radius: 1em;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        padding-right:1px; /*to fix from rounded edge */
}
div#siteNotice ul li ul li:first-child {
        /* REMOVED border-top:1px solid #069; /*the top edge of the dropdown #069 = DARK BLUE http://www.color-hex.com/color/006699 */ */
        -moz-border-radius-topleft: 0;  
        border-top-left-radius: 0;
}
/* make the drop-down display as the menu is rolled over */

div#siteNotice ul li ul {display:none;} /* conceals the drop-down when menu not hovered */

div#siteNotice ul li:hover ul {display:block; } /* shows the drop-down when the menu is hovered */

/* pop-out starts here */
body div#siteNotice ul li ul li ul  {
        visibility:hidden; /* same effect as display:none in this situation */
        top:-1px;
        left:10em;
        }
div#siteNotice ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* second level popouts start here*/

div#siteNotice ul li ul li:hover ul li ul {visibility:hidden;}

div#siteNotice ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */


/* third level popouts start here
I haven't tested this */

div#siteNotice ul li ul li ul li:hover ul li ul {visibility:hidden;}

div#siteNotice ul li ul li ul li ul li:hover ul {visibility:visible;} /* same effect as display:block in this situation */

/* THE HACK ZONE - */

/* hack for IE (all flavors) so the menu has a vertical line on the left */

* html div#siteNotice ul {
        float:left; /* makes the ul wrap the li's */
        }
/* add a top line to drops and pops in IE browsers - can't read :first-child */

* html  div#siteNotice ul li ul {
        border-left:0px; /* stops the drop inheriting the ul border */
        }
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */

* html  div#siteNotice ul li ul li ul { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:10em;
  }
/* and the "be nice to Opera" rule */
html>body div#siteNotice ul li ul li ul {
  left:10em;
  }


/* an Opera-only hack to fix a redraw problem by invisibly extending the ul */
/* the first-level drop stays open for 100px below the bottom but at least it works */
/* this can be reduced to as little as 22px if you don't have pop-outs */
/* the pop-out menu stays open for 22px below the bottom but at least it works

Not Tested!! */
        @media all and (min-width: 0px){
   body div#siteNotice ul li ul {padding-bottom:200px;}
   body div#siteNotice ul li ul li ul {padding-bottom:22px;}
   body div#siteNotice ul li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */
   }

/*end Opera hack */

/* end of hack zone */

/* END OF LIST-BASED MENU */


/* finally after feeding values to all others, we deal with MAc5 IE */
/* IE5 Mac can't do drop-downs so we need to present the info in a different way*/
/* we present the drop down choices in a row and never show any second-level drops */
 /* this stylesheet is read by IE5 Mac only - hack omits 'url' and leave no space between @import and ("   
Not Tested!!*/
@import("/wiki/skins/common/dropdown/ie51_menu_hack.css"); 
/* END OF DROP DOWN MENUS */