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 { | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
/* Creates the container for the menu */ | /* Creates the container for the menu */ | ||
#menuContainer { | #menuContainer { | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
/* Creates the container for the content */ | /* Creates the container for the content */ | ||
#contentContainer { | #contentContainer { | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Line 121: | Line 92: | ||
/*Styling for the links in the menu */ | /*Styling for the links in the menu */ | ||
#menuContainer a { | #menuContainer a { | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
/* Sets the style for lists inside menuContainer */ | /* Sets the style for lists inside menuContainer */ | ||
#menuContainer ul { | #menuContainer ul { | ||
− | + | ||
− | + | ||
} | } | ||
/*Styles the list items to become menu buttons */ | /*Styles the list items to become menu buttons */ | ||
#menuContainer ul li { | #menuContainer ul li { | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
/*For the menu buttons, changes the color when hovering*/ | /*For the menu buttons, changes the color when hovering*/ | ||
#menuContainer li:hover { | #menuContainer li:hover { | ||
− | + | ||
− | + | ||
} | } | ||
Line 152: | Line 113: | ||
#menuContainer li ul { | #menuContainer li ul { | ||
display: none; | display: none; | ||
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
/*Submenus are displayed when hovering the menu button */ | /*Submenus are displayed when hovering the menu button */ | ||
#menuContainer li:hover ul { | #menuContainer li:hover ul { | ||
− | |||
display: inline-block; | display: inline-block; | ||
display: block; | display: block; | ||
− | |||
− | |||
− | |||
− | |||
} | } | ||
/*Style the submenu buttons*/ | /*Style the submenu buttons*/ | ||
#menuContainer li ul li{ | #menuContainer li ul li{ | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
Revision as of 22:16, 24 May 2015