Difference between revisions of "Team:Macquarie Australia/NavBarCss"

 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
#TopBar {
 
#TopBar {
width: 1000px;
+
width: 1300px;
min-width: 800px;
+
min-width: 900px;
 
height: 30px;
 
height: 30px;
 
text-align: center;
 
text-align: center;
Line 17: Line 17:
  
 
#TopBar ul {
 
#TopBar ul {
background: #66cc66;
+
background: #50b738;
 
list-style: none;
 
list-style: none;
 
position: relative;
 
position: relative;
Line 33: Line 33:
 
#TopBar li {
 
#TopBar li {
 
float: left;
 
float: left;
width: 120px;
+
width: 162px;
 
text-align: center;
 
text-align: center;
 
}
 
}
Line 52: Line 52:
 
//color: #7bc470;
 
//color: #7bc470;
 
text-decoration: none;
 
text-decoration: none;
font: 16px "Trebuchet MS", Helvetica, sans-serif;
+
        font-size: 18px;
 +
font-family: Arial;
 
}
 
}
  
Line 61: Line 62:
 
#TopBar ul ul {
 
#TopBar ul ul {
 
display: none;
 
display: none;
background: #66cc66;
+
background: #50b738;
 
padding: 0 10px;
 
padding: 0 10px;
 
position: absolute;
 
position: absolute;

Latest revision as of 00:19, 23 October 2017

  1. TopBar {

width: 1300px; min-width: 900px; height: 30px; text-align: center; position: fixed; top: 16px;

       left: 155px;

}

  1. TopBar #TopLvlNavLink {

display: none; padding: 16px;

 margin-top: 20px;
 height: 1500px; /* Used in this example to enable scrolling */

}

  1. TopBar ul {

background: #50b738; list-style: none; position: relative; display: inline-table; padding: 0; margin: 0; }

  1. TopBar ul:after {

content: ""; clear: both; display: block; }

  1. TopBar li {

float: left; width: 162px; text-align: center; }

  1. TopBar li:hover > a {

//font-weight: bold; text-shadow: 0px 0px 15px white, 0px 1px 15px white; //text-shadow: 0px -1px 4px white, 0px -2px 10px white, 0px -10px 20px white, 0px -18px 40px yellow;

}

  1. TopBar a {

display: block; width: 100%; height: 100%; padding: 15px 0; color: #FFF; //color: #7bc470; text-decoration: none;

       font-size: 18px;

font-family: Arial; }

  1. TopBar > #TopLvlNav > li > a {

padding: 5px 0; }

  1. TopBar ul ul {

display: none; background: #50b738; padding: 0 10px; position: absolute; top: 95%; z-index: 10; margin-left: -10px; }

  1. TopBar ul li:hover > ul {

display: block; }

  1. TopBar ul ul li {

float: none; position: relative; }

  1. TopBar ul ul a {

font-size: 16px; }

  1. TopBar ul ul ul {

position: absolute; left: 100%; top: 0; margin: 0; }

  1. TopBar #LogoItem {

padding: 8px 0; }

  1. TopBarCollapse {

position: fixed; width: 120px; height: 60px; top: 25px; background: orange; z-index: 10; }

  1. TopBarCollapse #TopLvlNavLink {

display: block; width: 100%; height: 100%; }

  1. TopBarCollapse:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse ul {

display: none; list-style: none; padding: 0; }

  1. TopBarCollapse ul:after {

content: ""; clear: both; display: block; }

  1. TopBarCollapse li {

float: left; display: block; clear: both; width: 120px; padding: 0; background: green; }

  1. TopBarCollapse li:hover {

background: pink; }

  1. TopBarCollapse a {

color: #FFFFFF; display: block; text-decoration: none; padding: 10px 15px; }

.contentContainer { width: 959px; background-color: #fff; margin: 0px -5px; padding: 0px 8px; }