Difference between revisions of "Template:GenetiX Tec CCM"
Line 3: | Line 3: | ||
<!-- 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> | ||
− | <head> | + | <head> |
<meta charset="utf-8"> | <meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | <meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
− | <title></title> | + | <title>iGem Tec CCM</title> |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> | <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css"> | ||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script> | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/js/bootstrap.min.js"></script> | ||
</head> | </head> | ||
− | <style> | + | <script> |
+ | function close() { | ||
+ | if(document.getElementById('benefits').style.display=='block') { | ||
+ | document.getElementById('benefits').style.display='none'; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
+ | <script> | ||
+ | function show() { | ||
+ | if(document.getElementById('benefits').style.display=='none') { | ||
+ | document.getElementById('benefits').style.display='block'; | ||
+ | } | ||
+ | } | ||
+ | </script> | ||
− | </style> | + | <style type="text/css"> /* Used in page */ |
+ | body { background-color: #fff; } | ||
+ | ul{list-style: none; list-style-type: none;} | ||
+ | li{list-style: none; list-style-type: none;} | ||
+ | #globalWrapper, #content{ | ||
+ | background-color: transparent; | ||
+ | border: 0px; | ||
+ | margin:0px; | ||
+ | padding: 0px; | ||
+ | } | ||
+ | #mainContainer {/* Creates a container that will wrap all of the content inside your wiki pages. */ | ||
+ | width: 100%; | ||
+ | overflow:hidden; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | margin-bottom: 10px; | ||
+ | background-color: #fff; | ||
+ | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | } | ||
+ | .menu { | ||
+ | font-family: "Verdana", Geneva, sans-serif; | ||
+ | font-weight: 100; | ||
+ | font-size: 28px; | ||
+ | float: top; | ||
+ | color: black; | ||
+ | margin-top: 20px; | ||
+ | } | ||
+ | #menuNavbar { | ||
+ | background: #fff; | ||
+ | float:top; | ||
+ | width: 97%; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | margin-top: 18px; | ||
+ | } | ||
+ | .navContainer li{ | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | .navContainer li ul { | ||
+ | display: none; | ||
+ | padding-top:10px; | ||
+ | margin-left: -19px; | ||
+ | } | ||
+ | .navContainer li:hover ul { | ||
+ | /*display: inline-block; */ | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | float:right; | ||
+ | margin-left:-40px; | ||
+ | margin-top:-10px; | ||
+ | } | ||
+ | .up{ | ||
+ | background: #fff; | ||
+ | } | ||
+ | #topbar { | ||
+ | background: #fff; | ||
+ | padding: 10px 0 10px 0; | ||
+ | text-align: center; | ||
+ | height: 100px; | ||
+ | color: black; | ||
+ | overflow: hidden; | ||
+ | -webkit-transition: height 0.5s linear; | ||
+ | -moz-transition: height 0.5s linear; | ||
+ | transition: height 0.5s linear; | ||
+ | } | ||
+ | #topbar a { | ||
+ | color: #fff; | ||
+ | font-size:1.3em; | ||
+ | line-height: 1.25em; | ||
+ | text-decoration: none; | ||
+ | opacity: 0.5; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | #tophiddenbar { | ||
+ | font-size:1.5em; | ||
+ | background: #fff; | ||
+ | font-weight: bold; | ||
+ | text-align: right; | ||
+ | text-shadow: 1px 1px 0 #444; | ||
+ | } | ||
+ | #tophiddenbar a { | ||
+ | color: black; | ||
+ | font-size: 1.0em; | ||
+ | text-decoration: none; | ||
+ | opacity: 0.5; | ||
+ | text-shadow: none; | ||
+ | } | ||
+ | #tophiddenbar a:hover { opacity: 1; } | ||
+ | .subnavbar{ | ||
+ | width:90%; | ||
+ | height:100px; | ||
+ | margin-left: 0px; | ||
+ | } | ||
+ | #contentContainer { | ||
+ | margin-top: 100px; | ||
+ | padding-top:20px; | ||
+ | padding-right:20px; | ||
+ | padding-left: 20px; | ||
+ | margin-bottom: 20px; | ||
+ | width: 100%; | ||
+ | background-color: #fff; | ||
+ | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | } | ||
+ | #bannerContainer { | ||
+ | height:200px; | ||
+ | margin:auto; | ||
+ | text-align:center; | ||
+ | color: #24B694; | ||
+ | } | ||
+ | #contentContainer h1, h2, h3, h4, h5, h6 { | ||
+ | color: #565656; | ||
+ | border-bottom: none; | ||
+ | font-weight: bold; | ||
+ | font-family: "Trebuchet MS", Helvetica, sans-serif; | ||
+ | margin-top:10px; | ||
+ | } | ||
+ | |||
+ | #footer{ | ||
+ | background-color: #EEFFFF ; | ||
+ | font-family: "Impact", "Charcoal", sans-serif; | ||
+ | font-weight: 100; | ||
+ | font-size: 25px; | ||
+ | color: #594F4F; | ||
+ | float: bottom; | ||
+ | } | ||
+ | .address{ | ||
+ | font-family: "Verdana", Geneva, sans-serif; | ||
+ | font-weight: 100; | ||
+ | font-size: 12px; | ||
+ | color:#594F4F; | ||
+ | margin-top: 20px; | ||
+ | margin-bottom: 10px; | ||
+ | } | ||
+ | .video { | ||
+ | margin-top: 40px; | ||
+ | margin-bottom: 60px; | ||
+ | } | ||
+ | .icons{ | ||
+ | width: 50px; | ||
+ | margin-top: 20px; | ||
+ | margin-right: 10px; | ||
+ | } | ||
+ | .icons2{ | ||
+ | width: 20px; | ||
+ | |||
+ | } | ||
+ | .clear{ | ||
+ | clear:both; | ||
+ | height: 10px; | ||
+ | } | ||
+ | </style> | ||
+ | |||
+ | <style> | ||
+ | |||
+ | .submenu { | ||
+ | font-weight: 50; | ||
+ | font-family: "Verdana", Geneva, sans-serif; | ||
+ | font-size: 20px; | ||
+ | color: black; | ||
+ | float: right; | ||
+ | margin-top: 10px; | ||
+ | } | ||
+ | .btn-default { | ||
+ | background-color: transparent; | ||
+ | border-color: transparent; | ||
+ | font-weight: bold; | ||
+ | font-size: 25px; | ||
+ | color: black; | ||
+ | } | ||
+ | .headerline { | ||
+ | height: 30px; | ||
+ | width: 100px; | ||
+ | } | ||
+ | .body { | ||
+ | margin-top: 25px; | ||
+ | } | ||
+ | .abstract{ | ||
+ | font-family: "Verdana", Geneva, sans-serif; | ||
+ | font-weight: 100; | ||
+ | font-size: 25px; | ||
+ | color: black; | ||
+ | } | ||
+ | </style><!-- de iGem--> | ||
+ | <!-- Start of CSS--> | ||
+ | <style type="text/css"> | ||
+ | /*Change the styling of text for everything inside main container*/ | ||
+ | #mainContainer p { | ||
+ | font-size: 13px; | ||
+ | color: #000000; | ||
+ | } | ||
+ | /*Style of the links - links are different inside the menu */ | ||
+ | #contentContainer a { | ||
+ | font-weight: bold; | ||
+ | color: #23b593; | ||
+ | } | ||
+ | /* Styling links on hover- links are different inside the menu */ | ||
+ | #contentContainer a:hover { | ||
+ | color: #59bf92; | ||
+ | } | ||
+ | /*Change the styling of tables */ | ||
+ | #contentContainer table { | ||
+ | border: 1px solid #565656; | ||
+ | border-collapse: collapse; | ||
+ | width: 90% | ||
+ | margin: auto; | ||
+ | margin-bottom: 15px; | ||
+ | margin-top: 15px; | ||
+ | margin-right: 10px; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | /*Change the styling of table cells*/ | ||
+ | #contentContainer td { | ||
+ | padding: 10px; | ||
+ | border: 1px solid #565656; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | } | ||
+ | /*Change the styling of table headers */ | ||
+ | #contentContainer th { | ||
+ | background-color: #E8E8E9; | ||
+ | padding: 10px; | ||
+ | border: 1px solid #565656; | ||
+ | border-collapse: collapse; | ||
+ | vertical-align: text-top; | ||
+ | } | ||
+ | /*MENU STYLING */ | ||
+ | /*Styling for the links in the menu */ | ||
+ | /* #menuContainer a { | ||
+ | color: #565656; | ||
+ | text-decoration:none; | ||
+ | font-weight: bold; | ||
+ | } | ||
+ | /* Sets the style for lists inside menuContainer */ | ||
+ | #menuContainer ul { | ||
+ | list-style: none; | ||
+ | margin-left:0px; | ||
+ | } | ||
+ | /*Styles the list items to become menu buttons */ | ||
+ | #menuContainer ul li { | ||
+ | text-align: center; | ||
+ | display: block; | ||
+ | width: 100%; | ||
+ | height:30px; | ||
+ | } | ||
+ | /*For the menu buttons, changes the color when hovering*/ | ||
+ | #menuContainer li:hover { | ||
+ | color: black; | ||
+ | background-color: #24B694; | ||
+ | } | ||
+ | /*Submenus are not displayed as default*/ | ||
+ | #menuContainer li ul { | ||
+ | display: none; | ||
+ | padding-top:-30px; | ||
+ | margin-left: -19px; | ||
+ | } | ||
+ | /*Submenus are displayed when hovering the menu button */ | ||
+ | #menuContainer li:hover ul { | ||
+ | /*display: inline-block; */ | ||
+ | display: block; | ||
+ | position: absolute; | ||
+ | float:right; | ||
+ | margin-left: 134px; | ||
+ | margin-top:-82px; | ||
+ | } | ||
+ | /*Style the submenu buttons*/ | ||
+ | #menuContainer ul li { | ||
+ | text-align: center; | ||
+ | display: block; | ||
+ | width: 100%; | ||
+ | height:30px; | ||
+ | padding-left:30px; | ||
+ | } | ||
+ | ul { | ||
+ | list-style-type: none; | ||
+ | margin: 0; | ||
+ | } | ||
+ | li { | ||
+ | float: left; | ||
+ | list-style-type: none; | ||
+ | padding-left: 20px; | ||
+ | } | ||
+ | a { | ||
+ | display: block; | ||
+ | } | ||
+ | .menu-main{ | ||
+ | width:90%; | ||
+ | height:30px; | ||
+ | align:center; | ||
+ | padding-right: 50px; | ||
+ | } | ||
+ | /*CLASSES */ | ||
+ | /*Clear class for all the pages, adds spacing too*/ | ||
+ | /* highlight box for special messages */ | ||
+ | .highlightBox { | ||
+ | width:500px; | ||
+ | margin:auto; | ||
+ | background-color: #E8E8E9; | ||
+ | margin-bottom: 15px; | ||
+ | margin-top: 15px; | ||
+ | padding: 15px; | ||
+ | padding-top: 5px; | ||
+ | } | ||
+ | </style><!-- de iGem--> | ||
<!-- End of CSS --> | <!-- End of CSS --> | ||
</html> | </html> |
Revision as of 19:53, 16 September 2015