Difference between revisions of "Template:Wellesley TheTech"
Sminchev17 (Talk | contribs) |
|||
Line 1: | Line 1: | ||
− | {{ | + | {{Template_Wellesley_TheTech}} |
− | + | ||
− | + | ||
<html> | <html> | ||
+ | <head> | ||
<!-- Start of CSS--> | <!-- Start of CSS--> | ||
<style type="text/css"> | <style type="text/css"> | ||
+ | |||
/* PAGE LAYOUT */ | /* PAGE LAYOUT */ | ||
Line 11: | Line 11: | ||
/* Change Background color*/ | /* Change Background color*/ | ||
body { | body { | ||
− | background- | + | background-image: url("https://2015.igem.org/File:Wellesley_TheTech_Background.png"); |
− | width: 980px; | + | width: 980px; |
− | margin: auto; | + | margin: auto; |
+ | background-color: #565656; | ||
+ | } | ||
+ | |||
+ | @font-face { | ||
+ | font-family: 'SlimJoe'; | ||
+ | src: url("https://2015.igem.org/File:Wellesley_TheTech_SlimJoeFont.otf") | ||
} | } | ||
/* 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: | + | width: 998px; |
− | + | position: absolute; | |
− | + | bottom: 0; | |
− | + | top: 0; | |
− | margin | + | margin: auto; |
− | background-color: #fff; | + | background-color: #fff; |
− | border-bottom: 14px solid # | + | border-bottom: 14px solid #57c7da; |
− | + | border-top: 20px solid #57c7da; | |
− | + | ||
− | border-top: | + | |
font-family: "Trebuchet MS", Helvetica, sans-serif; | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | z-index: -1; | ||
} | } | ||
/* Creates the container for the menu */ | /* Creates the container for the menu */ | ||
− | #menuContainer | + | #menuContainer { |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
background-color: #E8E8E9; | background-color: #E8E8E9; | ||
− | + | ||
} | } | ||
/* Creates the container for the content */ | /* Creates the container for the content */ | ||
#contentContainer { | #contentContainer { | ||
− | |||
padding-right:10px; | padding-right:10px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
Line 55: | Line 55: | ||
/*Set up height place holder for the banner*/ | /*Set up height place holder for the banner*/ | ||
− | #bannerContainer { | + | #bannerContainer { |
− | + | ||
− | + | ||
− | + | ||
color: #24B694; | color: #24B694; | ||
+ | position:absolute; | ||
+ | bottom: 0px; | ||
+ | margin-left: -45px; | ||
+ | width: 1061px; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | #topContainer{ | ||
+ | |||
+ | position: absolute; | ||
+ | top: 0px; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | text-align: left; | ||
+ | } | ||
+ | |||
+ | #topContainer h1 { | ||
+ | color: #5d6bb2; | ||
+ | font-weight: bold; | ||
+ | font-family: "Roboto", sans-serif; | ||
+ | font-size: 40px; | ||
+ | margin: 25px 50px 5px; | ||
+ | } | ||
+ | |||
+ | #topContainer h2 { | ||
+ | color: #5d6bb2; | ||
+ | font-family: "SlimJoe"; | ||
+ | font-size: 45px; | ||
+ | margin: -60px 410px -40px; | ||
+ | } | ||
+ | |||
+ | #topContainer h3 { | ||
+ | color: #5d6bb2; | ||
+ | font-family: "SlimJoe"; | ||
+ | font-size: 45px; | ||
+ | margin: -13px 2000px; | ||
+ | } | ||
+ | |||
+ | #topContainer a { | ||
+ | color: inherit; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | .nextLine{ | ||
+ | margin-top: -40px; | ||
+ | margin-left: 30px; | ||
+ | } | ||
+ | |||
+ | .leftFloat { | ||
+ | float:left; | ||
+ | } | ||
+ | |||
+ | .rightFloat{ | ||
+ | float:right; | ||
+ | } | ||
+ | |||
+ | #menuBar { | ||
+ | background-color: #7a86c2; | ||
+ | position: absolute; | ||
+ | bottom: 430px; | ||
+ | left: 0; | ||
+ | height: 50px; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
/*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | /*VISUAL STYLE (TABLES, FONTS, LINKS, IMAGES, UL) */ | ||
Line 95: | Line 160: | ||
border-collapse: collapse; | border-collapse: collapse; | ||
width: 90% | width: 90% | ||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
Line 122: | Line 182: | ||
/*MENU STYLING */ | /*MENU STYLING */ | ||
+ | |||
+ | #menuwrapper { | ||
+ | height: auto; | ||
+ | text-align: justify; | ||
+ | -ms-text-justify: distribute-all-lines; | ||
+ | text-justify: distribute-all-lines; | ||
+ | padding-top: 10px; | ||
+ | } | ||
+ | |||
+ | #menuwrapper ul li { | ||
+ | width: auto; | ||
+ | height: 40px; | ||
+ | vertical-align: top; | ||
+ | display: inline-block; | ||
+ | *display: inline; | ||
+ | margin-right: 50px; | ||
+ | } | ||
+ | |||
+ | .stretcher { | ||
+ | width: 90%; | ||
+ | display: inline-block; | ||
+ | font-size: 0; | ||
+ | line-height: 0; | ||
+ | } | ||
/*Styling for the links in the menu */ | /*Styling for the links in the menu */ | ||
Line 139: | Line 223: | ||
#menuContainer ul li { | #menuContainer ul li { | ||
text-align: center; | text-align: center; | ||
− | |||
− | |||
height:30px; | height:30px; | ||
− | + | display:inline; | |
− | + | padding: 0px 0px 20px 20px; | |
} | } | ||
Line 203: | Line 285: | ||
</style> | </style> | ||
+ | </head> | ||
<!-- End of CSS --> | <!-- End of CSS --> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</html> | </html> |
Latest revision as of 18:45, 6 September 2015