Difference between revisions of "Template:NYU Shanghai"

Line 16: Line 16:
 
/* Creates a container that will wrap all of the content inside your wiki pages. */
 
/* Creates a container that will wrap all of the content inside your wiki pages. */
 
#mainContainer {   
 
#mainContainer {   
width: 978px;
+
overflow:hidden;
+
float:left;
+
margin-left:20px;
+
margin-bottom: 10px;
+
background-color: #fff;
+
border-bottom: 14px solid #57068c;
+
border-right: 2px solid #57068c;
+
border-left: 2px solid #57068c;
+
border-top: 2px solid #57068c;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
 
}
 
}
  
 
/* Creates the container for the menu */
 
/* Creates the container for the menu */
 
#menuContainer  {  
 
#menuContainer  {  
float:left;
+
padding: 20px 0px;
+
border-top: 14px solid #57068c;
+
background-color: #E8E8E9;
+
 
}
 
}
  
 
/* Creates the container for the content */
 
/* Creates the container for the content */
 
#contentContainer {
 
#contentContainer {
padding-top:20px;
+
padding-right:10px;
+
margin-bottom: 20px;
+
//width: 814px;
+
padding-left: 20px;
+
float: left;
+
background-color: #fff;
+
border-top: 14px solid #57068c;
+
font-family: "Trebuchet MS", Helvetica, sans-serif;
+
}
+
 
+
/*Set up height place holder for the banner*/
+
#bannerContainer {
+
height:200px;
+
margin:auto;
+
text-align:center;
+
color: #24B694;
+
 
}
 
}
  
Line 121: Line 92:
 
/*Styling for the links in the menu */
 
/*Styling for the links in the menu */
 
#menuContainer a {
 
#menuContainer a {
color: #57068c;
+
text-decoration:none;
+
font-weight: bold;
+
                                display: float;
+
                                width: 100%;
+
 
}
 
}
  
 
/* Sets the style for lists inside menuContainer  */
 
/* Sets the style for lists inside menuContainer  */
 
#menuContainer ul {  
 
#menuContainer ul {  
list-style-type: none;
+
margin-left:0px;
+
 
}
 
}
  
 
/*Styles the list items to become menu buttons */
 
/*Styles the list items to become menu buttons */
 
#menuContainer ul li {  
 
#menuContainer ul li {  
text-align: center;
+
display: float;
+
width: 60px;
+
height:30px;
+
padding-top:10px;
+
 
}
 
}
  
 
/*For the menu buttons, changes the color when hovering*/
 
/*For the menu buttons, changes the color when hovering*/
 
#menuContainer li:hover {
 
#menuContainer li:hover {
color:  #ffffff;
+
background-color: #57068c;
+
 
}
 
}
  
Line 152: Line 113:
 
#menuContainer li ul {
 
#menuContainer li ul {
 
display: none;
 
display: none;
padding-top:15px;
+
}
margin-left: -19px;
+
                                align: center;
+
}
+
  
 
/*Submenus are displayed when hovering the menu button */
 
/*Submenus are displayed when hovering the menu button */
 
#menuContainer li:hover ul {
 
#menuContainer li:hover ul {
color: #ffffff;
 
 
                                 display: inline-block;
 
                                 display: inline-block;
 
display: block;  
 
display: block;  
position: absolute;
 
float:right;
 
margin-left: 134px;
 
margin-top:-42px;
 
 
  }
 
  }
  
 
/*Style the submenu buttons*/
 
/*Style the submenu buttons*/
 
#menuContainer li ul li{
 
#menuContainer li ul li{
background-color: #f0f0f0;
+
padding-left:20px;
+
padding-right:20px;
+
height:30px;
+
padding-top:10px;
+
margin-top:-2px;
+
color: #57068c;
+
width: 150px;
+
 
}
 
}
  

Revision as of 22:16, 24 May 2015