|
|
Line 71: |
Line 71: |
| /**************************************************************************************************************************************************************************************************/ | | /**************************************************************************************************************************************************************************************************/ |
| | | |
− | /*wrapping for the menu*/
| |
− | .igem_2019_team_menu {
| |
− | background-color:#cecece;
| |
− | border-left: 1px solid #635d5d;
| |
− | float:right;
| |
− | height:100vh;
| |
− | max-width: 270px;
| |
− | overflow-y: auto;
| |
− | overflow-x: hidden;
| |
− | padding:0px;
| |
− | position:fixed;
| |
− | right:0%;
| |
− | text-align:left;
| |
− | width: 15%;
| |
− | }
| |
− |
| |
− | /*controlling menu visibility*/
| |
− | .igem_2019_team_menu.displaying_menu{
| |
− | display:block;
| |
− | }
| |
− |
| |
− | /*links in the menu*/
| |
− | .igem_2019_team_menu a {
| |
− | color: #484848;
| |
− | text-decoration:none;
| |
− | }
| |
− |
| |
− | /*images in the menu*/
| |
− | .igem_2019_team_menu img {
| |
− | width:100%;
| |
− | }
| |
− |
| |
− | /*level 1 menu items*/
| |
− | .igem_2019_team_menu .menu_item {
| |
− | background-color: #cecece;
| |
− | border-bottom: 1px solid #635d5d;
| |
− | clear: both;
| |
− | color: #484848;
| |
− | cursor: pointer;
| |
− | float: left;
| |
− | font-size: 120%;
| |
− | font-weight: bold;
| |
− | padding: 15px 0px 15px 5%;
| |
− | width: 100%;
| |
− | }
| |
− |
| |
− | /*level 1 menu items without submenus*/
| |
− | .igem_2019_team_menu .menu_item.direct_link {
| |
− | color: #484848;
| |
− | padding-left: 15%;
| |
− | }
| |
| | | |
− | /*level 1 menu items on hover*/
| + | #navigation-title{ |
− | .igem_2019_team_menu .menu_item:hover {
| + | float: left; |
− | background-color: #ecb656 !important;
| + | width: 22.5%;} |
− | }
| + | #navigation-title a{ |
− | | + | display: block; |
− | /*icon for expanding and collapsing level 1 menut items*/
| + | color: white; |
− | .igem_2019_team_menu .menu_item .submenu_control_icon {
| + | text-align: center; |
− | color: #484848;
| + | padding: 14px 16px;} |
− | float: left;
| + | #navigation-title a:hover{ |
− | width: 10%;
| + | background-color: aquamarine;} |
− | }
| + | |
− | | + | |
− | /* submenu icon "-"*/
| + | |
− | .igem_2019_team_menu .menu_item .submenu_control_icon::before {
| + | |
− | content: "+";
| + | |
− | }
| + | |
− | | + | |
− | /* submenu icon "-"*/
| + | |
− | .igem_2019_team_menu .menu_item .submenu_control_icon.open::before {
| + | |
− | content: "-";
| + | |
− | }
| + | |
− | | + | |
− |
| + | |
− | /*level 2 menu (submenu) wrapper*/
| + | |
− | .igem_2019_team_menu .submenu{
| + | |
− | background-color: #ececec;
| + | |
− | clear:both;
| + | |
− | display:none;
| + | |
− | float: left;
| + | |
− | width:100%;
| + | |
− | }
| + | |
− | | + | |
− | /*level 2 menu (submenu) item*/
| + | |
− | .igem_2019_team_menu .submenu .submenu_item {
| + | |
− | border-bottom: 1px solid #cecece;
| + | |
− | color: #635d5d;
| + | |
− | height: 30px;
| + | |
− | float: left;
| + | |
− | font-size: 110%;
| + | |
− | font-weight: bold;
| + | |
− | padding: 12px 0px 0px 15%;
| + | |
− | width: 100%;
| + | |
− | }
| + | |
− | | + | |
− | /*level 2 menu (submenu) items on hover*/
| + | |
− | .igem_2019_team_menu .submenu .submenu_item:hover {
| + | |
− | background-color: #ecb656 !important;
| + | |
− | }
| + | |
| | | |
− | /*color for highlighting current page on the wiki*/
| + | #navigation-image{ |
− | .igem_2019_team_menu .submenu .submenu_item.current_page,
| + | float: left; |
− | .igem_2019_team_menu .menu_item.current_page,
| + | width: 10%;} |
− | .igem_2019_team_menu .menu_item.direct_link.current_page {
| + | #navigation-image a{ |
− | background-color:#a2d3d0;
| + | display: block; |
− | }
| + | color: white; |
| + | text-align: center; |
| + | padding: 14px 16px;} |
| + | #navigation-image a:hover{ |
| + | background-color: aquamarine;} |
| | | |
| + | #ul-1 |
| + | { |
| + | list-style-type: none; |
| + | margin: 0; |
| + | padding: 0; |
| + | overflow: hidden; |
| + | background-color:none; |
| + | position: absolute ; |
| + | top: 0; |
| + | width: 100%; |
| + | margin-left: 0; |
| + | } |
| | | |
| /*mobile menu bar styling*/ | | /*mobile menu bar styling*/ |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////