|
|
(7 intermediate revisions not shown) |
Line 1: |
Line 1: |
- | {{CSS/Grid16}}
| |
| <html> | | <html> |
| <head> | | <head> |
| <style type="text/css"> | | <style type="text/css"> |
- | | + | #topNav { /*-- creates styled 100% width fixed navigation bar --*/ |
- | #contentSub, .firstHeading, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/ | + | |
- | | + | |
- | #menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover {color: #ccc; background-color: transparent;} /*-- styling for default menu bar links (edit, page, history, etc.) --*/
| + | |
- | | + | |
- | | + | |
- | #top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
| + | |
- | background-color: #ccc;
| + | |
- | border: 0 none;
| + | |
- | display: block;
| + | |
- | height: 14px;
| + | |
- | position: fixed;
| + | |
- | top: 0;
| + | |
- | width: 100%;
| + | |
- | z-index: 10;
| + | |
- | }
| + | |
- | | + | |
- | body { background-color: #fff;}
| + | |
- | | + | |
- | #globalWrapper, #content { /*-- changes default wiki settings --*/
| + | |
- | width: 100%;
| + | |
- | height: 100%;
| + | |
- | border: 0px;
| + | |
- | background-color: transparent;
| + | |
- | margin: 0px;
| + | |
- | padding: 0px;
| + | |
- | }
| + | |
- | | + | |
- | html, body, .wrapper { /*-- changes default wiki settings --*/
| + | |
- | width: 100%;
| + | |
- | height: 100%;
| + | |
- | background-color: transparent;
| + | |
- | }
| + | |
- | | + | |
- | #contentcontainer { /*-- creates container for all content on page --*/
| + | |
- | font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
| + | |
- | font-weight: 200;
| + | |
- | font-size: 16px;
| + | |
- | color: #000;
| + | |
- | width: 960px;
| + | |
- | margin-left: auto;
| + | |
- | margin-right: auto;
| + | |
- | background-color: #transparent;
| + | |
- | margin-top: 70px;
| + | |
- | padding-bottom: 100px;
| + | |
- | }
| + | |
- | | + | |
- | #loginBar {
| + | |
| width: 100%; | | width: 100%; |
| position: fixed; | | position: fixed; |
- | top: 16px; | + | top: 14px; |
- | height: 19px; | + | height: 50px; |
- | background-color: #383838; | + | background-color: #f0f0f0; |
| border-bottom: 1px solid #ccc; | | border-bottom: 1px solid #ccc; |
| z-index: 1000; | | z-index: 1000; |
| } | | } |
| | | |
- | #loginBarContainer { | + | #navContainer { /*-- creates centered container for nav bar --*/ |
- | width: 960px; | + | width: 975px; |
| height: 100%; | | height: 100%; |
| margin: 0px auto; | | margin: 0px auto; |
| + | position: relative; |
| + | font-family: Arial, sans-serif; |
| } | | } |
| | | |
- | #barLinks {
| + | .navLinks { /*-- clears style for nav bar ul --*/ |
- | list-style-type: none;
| + | margin: 0px; |
- | margin: auto; | + | |
| height: 100%; | | height: 100%; |
- | font-family: verdana;
| |
- | color: #fff;
| |
| } | | } |
| | | |
- | #barLinks li {
| + | .navLinks li { /*-- styles nav bar li, the nav bar elements --*/ |
- | display: table-cell; | + | display: inline-block; |
- | height: 100%; | + | float: left; |
| + | font-size: 12px; |
| + | height: 49px; |
| + | padding: 0px; |
| + | margin: 0px; |
| + | border: 1px solid transparent; |
| } | | } |
| | | |
- | #barLinks li:hover {
| + | .navLinks li:hover { |
- | background-color: #4b4b4b; | + | background-color: #fff; |
- | height: 100%; | + | border: 1px solid #ccc; |
| + | border-bottom: 1px solid #fff; |
| } | | } |
| | | |
- | #barLinks a { | + | #navSingleLink:hover { |
| + | border-bottom: 1px solid #ccc; |
| + | } |
| + | |
| + | .navLinks li > a { /*-- styles the links within the nav bar li --*/ |
| text-decoration: none; | | text-decoration: none; |
- | color:#000; | + | line-height: 50px; |
- | padding: 0px 30px; | + | color: #000; |
| + | padding-left: 30px; |
| + | padding-right: 30px; |
| + | display: block; |
| height: 100%; | | height: 100%; |
- | display: block;
| + | } |
- | color: #fff;
| + | |
- | } | + | |
| | | |
- | #barLinks a:hover { color: #fff;}
| + | .navlinks li > a:hover { |
| + | color: #fff; |
| | | |
- | | + | } |
- | .barDropMenu { | + | .navDropMenu { /*-- the drop down box --*/ |
| width: 100%; | | width: 100%; |
| position: absolute; | | position: absolute; |
- | left: 0; | + | top: 50px; |
- | top: 19px; | + | left: 0px; |
- | background-color: #4b4b4b; | + | display: none; |
| + | background-color: #fff; |
| border-bottom: 1px solid #ccc; | | border-bottom: 1px solid #ccc; |
- | z-index: 100; | + | z-index: -100; |
- | padding: 10px 0px; | + | padding: 20px 0px; |
- | display: none;
| + | border: 1px solid #ccc; |
| } | | } |
| | | |
- | .barDropToggle {} | + | .navDropMenu a {display:inline-block; padding: 0px; margin: 0px; height: auto; width: auto; line-height: auto;} |
| | | |
- | #barLinks > li:hover > .barDropMenu {display: block;}
| + | .navDropMenu li { /*-- the drop down box --*/ |
| + | display: block; |
| + | float: none; |
| + | list-style: none; |
| + | height: auto; |
| + | padding: 3px 6px; |
| + | margin: 0px; |
| + | border: 0px; |
| + | } |
| + | .navDropMenu li:hover { |
| + | border: 0px; |
| + | } |
| | | |
- | #barDropContainer {
| + | .navDropMenu li a { /*-- styles the links within the nav bar li --*/ |
- | width: 960px; | + | text-decoration: none; |
- | height: 100%; | + | color: #333; |
- | margin: 0px auto; | + | display: block; |
| + | height: auto; |
| + | line-height: normal; |
| + | padding: 4px 0px 4px 6px; |
| } | | } |
| | | |
| + | .navDropMenu li a:hover { /*-- styles the links within the nav bar li --*/ |
| + | background-color: #f0f0f0; |
| + | color: #484848; |
| + | } |
| + | |
| + | .navLinks > li:hover > .navDropMenu { |
| + | display: block; |
| + | } |
| + | |
| + | .menuHeader { border-bottom: 1px solid #ccc; display: block; font-weight: bold;} |
| </style> | | </style> |
| </head> | | </head> |
- | | + | <div id="top-section-bar"></div> |
- | <header id="loginBar"> | + | <header id="topNav"> |
- | <nav id="loginBarContainer"> | + | <nav id="navContainer"> |
- | <ul id="barLinks"> | + | <ul class="navLinks"> |
- | <li style="padding: 0px;"> | + | <li id="navSingleLink"> |
- | <a href="#" class="barDropToggle">iGEM 2014</a> | + | <a href="https://2014.igem.org" style="padding-left: 10px; padding-right: 10px;"><img src="https://static.igem.org/mediawiki/2014/d/d4/Logo2014.png" /></a> |
- | <div class="barDropMenu">
| + | </li> |
- | <div class="barDropContainer container_16">
| + | <li> |
- | <div class="grid_4" style="background-color: #ccc;">Lorem</div>
| + | <a href="#">ABOUT</a> |
- | <div class="grid_4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas consectetur diam lectus, in ultrices velit dictum ac. Curabitur et diam lectus. Quisque vel cursus ante, tincidunt placerat sem. Donec porttitor tincidunt turpis non mollis. Suspendisse sed lectus non eros ullamcorper facilisis. Morbi tincidunt eu tortor dapibus blandit. Integer et urna vehicula, dignissim eros nec, venenatis erat. Vivamus eu libero sem. Nullam eget fringilla enim.</div>
| + | <div class="navDropMenu"> |
- | <div class="grid_4" style="background-color: #ccc;">Lorem</div>
| + | </html>{{Nav/About}}<html> |
- | <div class="grid_4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas consectetur diam lectus, in ultrices velit dictum ac. Curabitur et diam lectus. Quisque vel cursus ante, tincidunt placerat sem. Donec porttitor tincidunt turpis non mollis. Suspendisse sed lectus non eros ullamcorper facilisis. Morbi tincidunt eu tortor dapibus blandit. Integer et urna vehicula, dignissim eros nec, venenatis erat. Vivamus eu libero sem. Nullam eget fringilla enim.</div>
| + | |
- | </div>
| + | |
| </div> | | </div> |
| </li> | | </li> |
- | <li style="padding: 0px;"> | + | <li> |
- | <a href="#">wiki tools</a> | + | <a href="#" class="dropToggle">COMPETITION</a> |
- | <div class="barDropMenu"> | + | <div class="navDropMenu"> |
- | <div class="barDropContainer container_16"> | + | </html>{{Nav/Competition}}<html> |
- | <div class="grid_4"></div>
| + | |
- | </div>
| + | |
| </div> | | </div> |
| </li> | | </li> |
- | <li style="padding: 0px;"> | + | <li> |
- | <a href="#">team info</a> | + | <a href="#">RESOURCES</a> |
- | <div class="barDropMenu"> | + | <div class="navDropMenu"> |
- | <div class="barDropContainer container_16"> | + | </html>{{Nav/Resources}}<html> |
- | <div class="grid_4" style="background-color: #ccc;">Lorem</div>
| + | |
- | <div class="grid_4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas consectetur diam lectus, in ultrices velit dictum ac. Curabitur et diam lectus. Quisque vel cursus ante, tincidunt placerat sem. Donec porttitor tincidunt turpis non mollis. Suspendisse sed lectus non eros ullamcorper facilisis. Morbi tincidunt eu tortor dapibus blandit. Integer et urna vehicula, dignissim eros nec, venenatis erat. Vivamus eu libero sem. Nullam eget fringilla enim.</div>
| + | |
- | <div class="grid_4" style="background-color: #ccc;">Lorem</div>
| + | |
- | <div class="grid_4">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas consectetur diam lectus, in ultrices velit dictum ac. Curabitur et diam lectus. Quisque vel cursus ante, tincidunt placerat sem. Donec porttitor tincidunt turpis non mollis. Suspendisse sed lectus non eros ullamcorper facilisis. Morbi tincidunt eu tortor dapibus blandit. Integer et urna vehicula, dignissim eros nec, venenatis erat. Vivamus eu libero sem. Nullam eget fringilla enim.</div>
| + | |
- | </div>
| + | |
| </div> | | </div> |
| </li> | | </li> |
- | <li style="padding: 0px;"> | + | <li id="navSingleLink"> |
- | <a href="#">login</a> | + | <a href="https://igem.org/Contact">CONTACT</a> |
| </li> | | </li> |
| </ul> | | </ul> |
| </nav> | | </nav> |
- |
| |
- | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
| |
- | <script>
| |
- | $(function() {
| |
- |
| |
- | // Dropdown toggle
| |
- | $('.barDropToggle').click(function(){
| |
- | $(this).next('.barDropMenu').toggle();
| |
- | });
| |
- |
| |
- | $(document).click(function(e) {
| |
- | var target = e.target;
| |
- | if (!$(target).is('.barDropToggle') && !$(target).parents().is('.barDropToggle')) {
| |
- | $('.barDropMenu').hide();
| |
- | }
| |
- | });
| |
- |
| |
- | });
| |
- | </script>
| |
| </header> | | </header> |
- | | + | <html> |
- | <div id="contentcontainer"> | + | |
- | | + | |
- | <div class="container_16">
| + | |
- | <div class="grid_16">
| + | |
- | | + | |
- | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas consectetur diam lectus, in ultrices velit dictum ac. Curabitur et diam lectus. Quisque vel cursus ante, tincidunt placerat sem. Donec porttitor tincidunt turpis non mollis. Suspendisse sed lectus non eros ullamcorper facilisis. Morbi tincidunt eu tortor dapibus blandit. Integer et urna vehicula, dignissim eros nec, venenatis erat. Vivamus eu libero sem. Nullam eget fringilla enim.</p>
| + | |
- | | + | |
- | <p>Mauris urna orci, ultrices ut pulvinar sed, tincidunt quis neque. Donec semper tortor mattis massa adipiscing, et consequat ipsum eleifend. Curabitur vehicula gravida leo ut varius. Nullam elementum, odio in elementum porta, magna leo aliquet neque, eget blandit augue eros vel massa. Integer felis tellus, cursus ac arcu a, ullamcorper laoreet felis. Donec nec pretium felis. Phasellus nec arcu mattis, congue leo id, posuere nibh. Pellentesque velit sapien, lobortis at erat vitae, molestie sagittis leo. Aliquam pulvinar erat sed lacus tristique, id blandit nulla mattis. Pellentesque a libero mi. Curabitur mi justo, tempus nec pretium et, laoreet et tellus. Donec tincidunt vitae velit eget commodo. Nunc quis massa varius, lacinia est dictum, volutpat neque. Ut pharetra commodo metus non molestie. Etiam laoreet ut sapien nec gravida.</p>
| + | |
- | | + | |
- | <p>Aliquam dolor purus, pharetra ac tellus id, eleifend venenatis augue. Quisque lobortis augue lacus, eget consectetur diam dapibus quis. Donec ac felis eget erat scelerisque ornare ut eu metus. Mauris blandit et tellus sit amet ultricies. Nam turpis nunc, fringilla congue urna scelerisque, luctus fermentum metus. Fusce quis rhoncus quam. In eleifend commodo volutpat. Ut a porta nibh, ut gravida diam. Quisque at dolor eget massa dignissim molestie at ac leo.</p>
| + | |
- | | + | |
- | <p>Interdum et malesuada fames ac ante ipsum primis in faucibus. Donec malesuada, urna eu cursus vehicula, lectus nisl posuere elit, eget mattis nulla erat id urna. Maecenas ultricies diam id leo mollis, at mattis eros laoreet. Maecenas commodo eleifend luctus. Curabitur diam mauris, mollis ut volutpat et, scelerisque convallis lorem. Quisque arcu est, malesuada pellentesque ligula a, luctus egestas neque. In eu auctor leo, ut lobortis ante.</p>
| + | |
- | | + | |
- | <p>Nam quis lectus auctor urna vulputate viverra eget eget lectus. Donec porta ac ipsum vitae aliquam. Nulla tempor non nisl in dictum. Nam convallis sapien vitae sem pharetra convallis. Sed sit amet justo in tortor tempus vehicula. Quisque lobortis luctus vestibulum. In quis neque et dui placerat elementum. In sodales velit vel lacus dapibus tincidunt. Maecenas placerat nec diam in malesuada. Quisque sollicitudin mattis ultricies. Nullam pretium commodo elit ac bibendum.</p>
| + | |
- | | + | |
- | </div>
| + | |
- | </div>
| + | |
- | | + | |
- | </html>
| + | |
- | <nocomments />
| + | |