Difference between revisions of "Template:HKUST-Rice"
Stephanieyiu (Talk | contribs) |
|||
Line 10: | Line 10: | ||
/*-- Remove borders, float content left and remove padding/margin */ | /*-- Remove borders, float content left and remove padding/margin */ | ||
#globalWrapper, #content{ | #globalWrapper, #content{ | ||
− | + | width: 100%; | |
} | } | ||
/*left align Black Menu Bar */ | /*left align Black Menu Bar */ | ||
#top_menu_inside { | #top_menu_inside { | ||
− | + | width: 100%; | |
} | } | ||
− | + | #top_menu_inside .submenu { | |
− | + | width: 90%; | |
− | + | } | |
− | + | #top_menu_inside #bars_item { | |
− | + | position: absolute; | |
− | + | top: 1px; | |
− | + | left: 93%; | |
− | + | z-index: 99; | |
− | + | cursor: pointer; | |
− | + | } | |
</style> | </style> | ||
<!-- Declare that you are going to use html code instead of wiki code --> | <!-- Declare that you are going to use html code instead of wiki code --> | ||
− | <html> | + | <html> |
− | + | <!-- Start of CSS--> | |
− | + | <style type="text/css"> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
/* PAGE LAYOUT */ | /* PAGE LAYOUT */ | ||
Line 60: | Line 49: | ||
width: 100%; | width: 100%; | ||
float:center; | float:center; | ||
− | margin-left: | + | margin-left: 0px; |
margin-right: 0px; | margin-right: 0px; | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
Line 82: | Line 71: | ||
z-index:0; | z-index:0; | ||
− | + | } | |
Line 102: | Line 91: | ||
/*Set up height place holder for the title*/ | /*Set up height place holder for the title*/ | ||
#titleContainer { | #titleContainer { | ||
− | + | width: 100%; | |
− | + | height:auto; | |
− | + | overflow:hidden; | |
− | + | margin: 0px; | |
− | + | background-color: #1b1c3a; | |
− | + | text-align:center; | |
− | + | text-shadow: 2px 2px #000000; | |
} | } | ||
/*Set up height place holder for the banner*/ | /*Set up height place holder for the banner*/ | ||
#bannerContainer { | #bannerContainer { | ||
− | + | width: 100%; | |
− | + | height: 75%; | |
− | + | /*overflow:hidden;*/ | |
− | + | margin: 0px; | |
− | + | text-align:center; | |
} */ | } */ | ||
Revision as of 03:06, 19 July 2015