Difference between revisions of "Template:UBonn HBRS/css/main"

m
(fixed sideMenu, little improvements)
Line 1: Line 1:
 
/**
 
/**
 
Main Styles
 
Main Styles
 +
iGEM-Team Bonn
 +
 +
feel free to use stuff from here but please credit
 
*/
 
*/
  
/* iGEM Menu */
+
/* * * * * * * * * * * * * * * * * * * * * * * * *
 +
iGEM Menu
 +
* * * * * * * * * * * * * * * * * * * * * * * * */
 +
 
 +
#sideMenu, #sideMenu * {
 +
box-sizing: content-box;
 +
}
  
 
#sideMenu {
 
#sideMenu {
 
display: none;
 
display: none;
 +
border: 1px solid #222;
 +
border-radius: 5px;
 
}
 
}
  
Line 28: Line 39:
 
#top_menu_14 .submenu {
 
#top_menu_14 .submenu {
 
top: 22px !important;
 
top: 22px !important;
opacity: 0.8;
+
opacity: 0.85;
 
}
 
}
  

Revision as of 09:02, 12 July 2016

/** Main Styles iGEM-Team Bonn

feel free to use stuff from here but please credit

  • /

/* * * * * * * * * * * * * * * * * * * * * * * * * iGEM Menu

  • * * * * * * * * * * * * * * * * * * * * * * * */
  1. sideMenu, #sideMenu * {

box-sizing: content-box; }

  1. sideMenu {

display: none; border: 1px solid #222; border-radius: 5px; }

  1. top_menu_under {

display: none; }

  1. top_menu_14 {

width: auto; height: 24px; margin-left: 20px; padding: 0px 10px; border-radius: 0 0 5px 5px; opacity: 0; }

  1. top_menu_14:hover {

opacity: 0.95; }

  1. top_menu_14 .submenu {

top: 22px !important; opacity: 0.85; }

  1. top_menu_inside {

width: auto; margin-left: 0px; border: none; }

  1. top_menu_inside ul {

display: inline-block; margin-left: 15px; }

  1. top_menu_inside ul li {

padding-top: 2px; padding-bottom: 4px; }

  1. user_item {

margin-right: 0px !important; padding: 4px !important; }

  1. bars_item {

position: absolute !important; top: 0px !important; left: 0px !important; float: left !important; }