(Undo revision 39 by Sifuentes anita (talk)) |
|||
Line 3: | Line 3: | ||
/* Clear the default wiki settings */ | /* Clear the default wiki settings */ | ||
− | + | ||
+ | /* Remove footer, catlinks and logos */ | ||
+ | #contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .visualClear, .firstHeading{ | ||
+ | display: none; | ||
+ | } | ||
/*-- Make page full width and remove borders */ | /*-- Make page full width and remove borders */ | ||
− | #globalWrapper, { | + | #globalWrapper, #content { |
width: 100%; | width: 100%; | ||
height: 100%; | height: 100%; | ||
− | border: | + | border: 0px; |
background-color: transparent; | background-color: transparent; | ||
margin: 0px; | margin: 0px; | ||
Line 22: | Line 26: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 53: | Line 33: | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 64: | Line 38: | ||
/*LAYOUT CLASSES */ | /*LAYOUT CLASSES */ | ||
/**************************************************************************************************************************************************************************************************************************************************/ | /**************************************************************************************************************************************************************************************************************************************************/ | ||
+ | /* General wrap for the pages*/ | ||
+ | #contentWrap { | ||
+ | width: 980px; | ||
+ | height: auto; | ||
+ | float:left; | ||
+ | margin-left: 20px; | ||
+ | margin-top: -10px; | ||
+ | margin-right: auto; | ||
+ | background-color: #ffffff; | ||
+ | } | ||
+ | |||
/* Full width div */ | /* Full width div */ | ||
− | + | .oneColumn { | |
− | width: | + | width: 950px; |
float:left; | float:left; | ||
− | padding: 15px; | + | padding:15px; |
− | + | ||
} | } | ||
/* half width div - can be mixed with .fourColumns */ | /* half width div - can be mixed with .fourColumns */ | ||
− | + | .twoColumns { | |
− | width: | + | width: 460px; |
float:left; | float:left; | ||
− | padding: 15px; | + | padding:15px; |
} | } | ||
/* one third width div */ | /* one third width div */ | ||
− | + | .threeColumns { | |
− | width: | + | width: 296.5px; |
− | float: left; | + | float:left; |
− | padding: 15px; | + | padding:15px; |
} | } | ||
/* one fourth width div */ | /* one fourth width div */ | ||
− | + | .fourColumns { | |
− | width: | + | width: 215px; |
float:left; | float:left; | ||
− | padding: 15px; | + | padding:15px; |
} | } | ||
− | /*Clear, adds spacing | + | /*Clear class for all the pages, adds spacing too*/ |
− | + | .clear { | |
height:10px; | height:10px; | ||
clear: both; | clear: both; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /**************************************************************************************************************************************/ | ||
− | /* | + | /* HIGHLIGHTS */ |
− | + | ||
+ | .threeColumns_feature{ | ||
+ | width: 296.5px; | ||
+ | float:left; | ||
+ | padding:15px; | ||
− | /* | + | /*animate transition */ |
+ | -webkit-transition: background 0.2s linear; | ||
+ | -moz-transition: background 0.2s linear; | ||
+ | -ms-transition: background 0.2s linear; | ||
+ | -o-transition: background 0.2s linear; | ||
+ | transition: background 0.2s linear; | ||
+ | } | ||
− | + | .twoColumns_Highlight { | |
− | + | width: 460px; | |
+ | float:left; | ||
+ | padding:15px; | ||
+ | background-color: #d3d3d3; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .fourColumns_feature{ | ||
+ | width: 215px; | ||
+ | float:left; | ||
+ | padding:15px; | ||
+ | font-weight:normal; | ||
+ | color:black; | ||
+ | |||
/*animate transition */ | /*animate transition */ | ||
-webkit-transition: background 0.2s linear; | -webkit-transition: background 0.2s linear; | ||
Line 127: | Line 130: | ||
} | } | ||
− | + | ||
− | + | /*hover state for feature items */ | |
+ | .threeColumns_feature:hover, .fourColumns_feature:hover { | ||
background-color:#ebeea9; | background-color:#ebeea9; | ||
cursor:pointer; | cursor:pointer; | ||
Line 134: | Line 138: | ||
− | + | /**************************************************************************************************************************************************************************************************************************************************/ | |
− | + | /*END LAYOUT CLASSES */ | |
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*MENU */ | |
− | + | /**************************************************************************************************************************************************************************************************************************************************/ | |
− | + | ||
− | + | ||
+ | /* this div will contain the side menu */ | ||
+ | .sideMenu { | ||
+ | width: 170px; | ||
+ | position: absolute; | ||
+ | display:none; | ||
+ | top:20px; | ||
+ | left: 1020px; | ||
+ | z-index: 10; | ||
− | + | padding-top: 0px; | |
− | + | padding-bottom: 15px; | |
− | + | padding-left: 15px; | |
− | + | padding-right: 15px; | |
− | + | ||
− | + | background-color: white; | |
− | + | text-align: left; | |
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | .sideMenu ul{ | ||
+ | margin-top:0px; | ||
+ | margin-bottom: 0px; | ||
+ | } | ||
/**************************************************************************************************************************************/ | /**************************************************************************************************************************************/ | ||
+ | /*MAIN MENU STYLING*/ | ||
+ | /*styling for the Main menu*/ | ||
+ | #mainMenu ul li { | ||
+ | width: 183px; | ||
+ | |||
+ | margin-left: -30px; | ||
+ | margin-bottom: 0px; | ||
− | + | list-style:none; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | /*main menu item */ | |
− | + | .mainMenu_Title { | |
− | + | width: 152px; | |
− | + | float:left; | |
− | + | ||
− | + | padding-left:15px; | |
− | + | padding-top: 10px; | |
− | + | padding-bottom: 10px; | |
− | + | ||
+ | border: solid 1px #f2f2f2; | ||
+ | font-size: 14px; | ||
+ | |||
+ | /*animate transition */ | ||
+ | -webkit-transition: background 0.2s linear; | ||
+ | -moz-transition: background 0.2s linear; | ||
+ | -ms-transition: background 0.2s linear; | ||
+ | -o-transition: background 0.2s linear; | ||
+ | transition: background 0.2s linear; | ||
+ | } | ||
+ | |||
+ | |||
+ | /* toggle button in the main Menu */ | ||
+ | .mainMenu_toggle { | ||
+ | width: 24px; | ||
+ | text-align: center; | ||
+ | float: left; | ||
+ | font-size: 12px; | ||
+ | margin-right: -17px; | ||
+ | margin-left: -14px; | ||
+ | padding-left: 5px; | ||
+ | padding-bottom: 10px; | ||
+ | padding-top: 10px; | ||
+ | border: solid 1px #f2f2f2; | ||
+ | |||
/*animate transition */ | /*animate transition */ | ||
Line 210: | Line 230: | ||
-o-transition: background 0.2s linear; | -o-transition: background 0.2s linear; | ||
transition: background 0.2s linear; | transition: background 0.2s linear; | ||
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /*hover styling for main menu item and main menu toggle */ | ||
+ | .mainMenu_Title:hover, .mainMenu_toggle:hover { | ||
+ | background: #5da88a; | ||
+ | color:white; | ||
+ | border: solid 1px #5da88a; | ||
+ | } | ||
+ | /**************************************************************************************************************************************/ | ||
+ | /*MAIN MENU SUB MENUS (NESTED LISTS) */ | ||
− | + | /* submenu lists */ | |
− | # | + | #mainMenu ul li li { |
− | + | width: 183px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | margin-bottom: 0px; | ||
+ | margin-left: -15px; | ||
+ | padding-left: 15px; | ||
+ | padding-top: 5px; | ||
+ | padding-bottom:5px; | ||
+ | cursor: pointer; | ||
+ | border: solid 1px #f2f2f2; | ||
+ | background-color: white; | ||
+ | color: black; | ||
+ | font-size: 12px; | ||
+ | } | ||
− | + | #mainMenu ul li li:hover { | |
− | + | background: #5da88a; | |
− | + | border: solid 1px #5da88a; | |
− | + | color:white; | |
− | color: # | + | } |
− | + | ||
− | + | ||
− | + | ||
+ | |||
+ | |||
+ | /* For HUB MENUS */ | ||
+ | |||
+ | |||
+ | #home_logo {margin-bottom:10px; } | ||
+ | |||
+ | #home_logo:hover { opacity: 0.4; } | ||
+ | |||
+ | .sideMenuTitle, .expand_subMenus, .switch_Menus { | ||
+ | height:30px; | ||
+ | padding-top:10px; | ||
+ | float:left; | ||
+ | font-weight:bold; | ||
+ | color: #4e606e; | ||
+ | background-color:#e8edaa; | ||
+ | cursor:pointer; | ||
+ | text-align:center; | ||
} | } | ||
+ | /* This switches between menus */ | ||
+ | .switch_Menus { | ||
+ | width:30px; | ||
+ | font-size: 18px; | ||
+ | margin-left:-15px; | ||
+ | display:block; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /* This holds the title of the menu */ | ||
+ | .sideMenuTitle { | ||
+ | width:140px; | ||
+ | margin-left: 0px; | ||
+ | font-size: 16px; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /* This holds the expand all / collapse all button (+) (-) */ |
− | + | .expand_subMenus { | |
− | + | width:30px; | |
− | + | font-size: 20px; | |
− | + | margin-right:-15px; | |
− | + | } | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | + | .sideMenuTitle:hover, .expand_subMenus:hover, .switch_Menus:hover { | |
− | + | background-color:#f17530; | |
− | + | color:white; | |
− | + | } | |
− | + | ||
− | background-color: | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | .sideMenu h4 {color: #5ba88a;} | ||
+ | .sideMenu a:hover {text-decoration:none;} | ||
− | + | /*First layer of lists (LIST ITEMS) */ | |
− | + | .sideMenu ul {margin-left: 15px; list-style:disc; } | |
− | + | .sideMenu ol {margin-left: 17px;} | |
− | + | .sideMenu ul a , .sideMenu ol a{font-weight:bold; color: #4e606e; } | |
− | + | .sideMenu ul a:hover, .sideMenu ol a:hover { color:#f27631;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | /*Second layer of lists (SUBMENUS) */ | ||
+ | .sideMenu ul ul { margin-left: 15px; list-style: none; color: #4e606e;} | ||
+ | .sideMenu ul ul a {color: black; font-weight:normal;} | ||
+ | .sideMenu ul ul a:hover { color:#f27631; cursor:pointer;} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | ||
− | + | .subMenu_toggle { | |
− | + | float:right; | |
− | + | cursor:pointer; | |
− | + | ||
− | + | ||
} | } | ||
− | + | /**************************************************************************************************************************************************************************************************************************************************/ | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 363: | Line 361: | ||
/*VISUAL STYLING*/ | /*VISUAL STYLING*/ | ||
− | /**********************************************************************************************************************************************************************************************************************************************/ | + | /**************************************************************************************************************************************************************************************************************************************************/ |
/* TEXT */ | /* TEXT */ | ||
/* styling for text in all the pages */ | /* styling for text in all the pages */ | ||
− | # | + | #contentWrap p { |
font-family: "Arial", Helvetica, sans-serif; | font-family: "Arial", Helvetica, sans-serif; | ||
font-size: 13px; | font-size: 13px; | ||
text-align: justify; | text-align: justify; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
/**************************************************************************************************************************************/ | /**************************************************************************************************************************************/ | ||
Line 387: | Line 376: | ||
/* styling for all the headers in all the pages */ | /* styling for all the headers in all the pages */ | ||
− | # | + | #contentWrap h1, h2, h3, h4, h5 { |
font-family: "Arial", Gadget, sans-serif; | font-family: "Arial", Gadget, sans-serif; | ||
border-bottom:none; | border-bottom:none; | ||
font-weight: bold; | font-weight: bold; | ||
+ | color: black; | ||
} | } | ||
/*Define color for h1 titles (black) */ | /*Define color for h1 titles (black) */ | ||
− | + | #contentWrap h1 { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
color: #000000; | color: #000000; | ||
} | } | ||
Line 405: | Line 391: | ||
/*Define color for h2 titles (turquoise) */ | /*Define color for h2 titles (turquoise) */ | ||
− | + | #contentWrap h2 { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
color: #5da88a; | color: #5da88a; | ||
} | } | ||
− | /*Define color for | + | /*Define color for h4 titles (navy)*/ |
− | + | #contentWrap h3, h4 { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
color: #4d5f6d; | color: #4d5f6d; | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
/*Define color for h5 h6 titles (black) */ | /*Define color for h5 h6 titles (black) */ | ||
− | + | #contentWrap h5, h6 { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
color: #000000; | color: #000000; | ||
} | } | ||
Line 455: | Line 413: | ||
/*Defines the color of links*/ | /*Defines the color of links*/ | ||
− | + | .oneColumn a, .twoColumns a, .threeColumns a, .fourColumns a { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
color:#f58631; | color:#f58631; | ||
font-weight: bold; | font-weight: bold; | ||
Line 467: | Line 421: | ||
/* Styling links on hover- links are different in menus */ | /* Styling links on hover- links are different in menus */ | ||
− | + | .oneColumn a:hover, .twoColumns a:hover, .threeColumns a:hover, .fourColumns a:hover { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
color: #fbceac; | color: #fbceac; | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
/**************************************************************************************************************************************/ | /**************************************************************************************************************************************/ | ||
Line 479: | Line 433: | ||
/*Styling for all the tables */ | /*Styling for all the tables */ | ||
− | # | + | #contentWrap table { |
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 491: | Line 445: | ||
/*Styling cells inside all of the tables */ | /*Styling cells inside all of the tables */ | ||
− | # | + | #contentWrap td { |
padding: 10px; | padding: 10px; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
Line 499: | Line 453: | ||
/*Styling table headers for all the tables */ | /*Styling table headers for all the tables */ | ||
− | # | + | #contentWrap th { |
background-color:#f2f2f2; | background-color:#f2f2f2; | ||
padding: 10px; | padding: 10px; | ||
Line 508: | Line 462: | ||
} | } | ||
− | |||
Line 517: | Line 470: | ||
− | /* | + | /*CLASSES */ |
− | /* | + | /*Buttons for all of the pages */ |
+ | .button { | ||
+ | width: 130px; | ||
+ | border: 2px solid #f58631; | ||
+ | background-color: #FFF; | ||
+ | height: 30px; | ||
+ | text-align: center; | ||
+ | border-radius: 5px; | ||
+ | padding: 10px 5px 0px 5px; | ||
+ | margin: auto; | ||
− | /* | + | /*animate transition */ |
− | + | -webkit-transition: background 0.2s linear; | |
− | + | -moz-transition: background 0.2s linear; | |
− | + | -ms-transition: background 0.2s linear; | |
− | + | -o-transition: background 0.2s linear; | |
+ | transition: background 0.2s linear; | ||
+ | } | ||
− | + | /*For the button class, change background on hover */ | |
− | + | .button:hover { | |
− | + | background-color: #f58631; | |
+ | color: #fff; | ||
+ | } | ||
− | |||
− | |||
− | |||
− | |||
− | + | ||
− | + | /*Class for creating a news post, this is used in the Main Page and in the Archived news page */ | |
+ | .newsItem { | ||
+ | border: 1px solid #cccccc; | ||
+ | margin: 0px 5px 5px 5px; | ||
+ | padding: 5px 15px 5px 15px; | ||
+ | border-radius: 5px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /*Style the date inside a news post */ |
− | + | .newsDate { | |
− | + | font-style: italic; | |
+ | display: inline-block; | ||
+ | color: #383838; | ||
+ | float: right; | ||
+ | padding-top: 5px; | ||
+ | padding-right: 15px; | ||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | /* highlight classes */ | ||
− | |||
− | |||
− | |||
− | |||
− | + | .highlightBoxB { | |
− | + | background-color: #f2f2f2; | |
− | padding | + | padding: 10px; |
− | + | width: 85%; | |
− | + | margin:auto; | |
− | + | margin-top:10px; | |
− | + | margin-bottom:10px; | |
− | + | border-radius:5px; | |
− | - | + | border: 1px solid #ccc; |
− | - | + | |
− | - | + | |
− | + | ||
− | + | ||
} | } | ||
− | /* | + | /*highlight link */ |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | a.redLink { color: red;} | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | a.redLink:hover { color: pink;} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | #slideshow {margin-left: -15px; margin-right:-15px;} | |
+ | #slider { overflow: hidden; list-style: none; padding: 0; margin: 0;} | ||
− | + | .hide_button {width:25px; height:30px;background-color: #f2f2f2;text-align:center;font-weight:bold;padding-top:5px;cursor:pointer; left:975px; top:20px; position:absolute; z-index:50;} | |
+ | .hide_button:hover { background-color:orange; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /* | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | #returnMainMenu, #returnCurrentMenu, #TitleMainMenu { | |
− | # | + | width:185px; |
− | + | background-color:#f2f2f2; | |
− | background: # | + | height:30px; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
margin-left:-15px; | margin-left:-15px; | ||
− | + | padding-top: 10px; | |
+ | padding-left: 15px; | ||
+ | cursor:pointer; | ||
+ | font-weight:bold; | ||
+ | font-size:18px; | ||
+ | color: #4d5f6d; | ||
} | } | ||
+ | #TitleMainMenu { background-color: #ebeea9; color:#4d5f6d; } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | #returnMainMenu:hover, #returnCurrentMenu:hover, #TitleMainMenu:hover { | |
− | + | background-color: #f17530; | |
− | + | ||
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | background-color:#f17530; | + | |
color:white; | color:white; | ||
} | } | ||
+ | */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 786: | Line 590: | ||
+ | <div id="contentWrap"> | ||
+ | <div class="sideMenu"> | ||
+ | <a href="https://2015.igem.org/Demo_mainpage"> | ||
+ | <div id="home_logo" > | ||
+ | <img style="float:left;" src="https://static.igem.org/mediawiki/2015/2/2a/Igemlogo_banner.jpg" width="60px"> | ||
+ | <h1 style="float:left; padding-left:20px; padding-top:20px;"> 2016 </h1> | ||
+ | </div> | ||
+ | </a> | ||
+ | <div style="clear:both;"></div> | ||
+ | <div id="menuDisplay"> | ||
− | + | </div> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
+ | </div> | ||
</html> | </html> |
Revision as of 17:54, 30 November 2015