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

(created css/main with iGEM Menu changes)
 
(added !important where needed and additional styles for iGEM Menu, tried html tags to better preserve contents (made note of missing tabulators))
Line 1: Line 1:
 +
<html>
 
/**
 
/**
 
Main Styles
 
Main Styles
Line 15: Line 16:
 
#top_menu_14 {
 
#top_menu_14 {
 
width: auto;
 
width: auto;
 +
height: 24px;
 
margin-left: 20px;
 
margin-left: 20px;
 +
padding: 0px 10px;
 
border-radius: 0 0 5px 5px;
 
border-radius: 0 0 5px 5px;
 
visibility: hidden;
 
visibility: hidden;
Line 22: Line 25:
 
#top_menu_14:hover {
 
#top_menu_14:hover {
 
visibility: visible;
 
visibility: visible;
 +
}
 +
 +
#top_menu_14 .submenu {
 +
top: 22px !important;
 
}
 
}
  
Line 27: Line 34:
 
width: auto;
 
width: auto;
 
margin-left: 0px;
 
margin-left: 0px;
border-left: none;
+
border: none;
 
}
 
}
  
 
#top_menu_inside ul {
 
#top_menu_inside ul {
 
display: inline-block;
 
display: inline-block;
 +
margin-left: 15px;
 +
}
 +
 +
#top_menu_inside ul li {
 +
padding-top: 2px;
 
}
 
}
  
 
#user_item {
 
#user_item {
margin-right: 0px;
+
margin-right: 0px !important;
padding-top: 0px;
+
padding-top: 2px !important;
 
}
 
}
  
 
#bars_item {
 
#bars_item {
position: absolute;
+
position: absolute !important;
top: 0px;
+
top: 0px !important;
left: 0px;
+
left: 0px !important;
float: left;
+
float: left !important;
 
}
 
}
 +
</html>

Revision as of 08:34, 12 July 2016

/** Main Styles */ /* iGEM Menu */ #sideMenu { display: none; } #top_menu_under { display: none; } #top_menu_14 { width: auto; height: 24px; margin-left: 20px; padding: 0px 10px; border-radius: 0 0 5px 5px; visibility: hidden; } #top_menu_14:hover { visibility: visible; } #top_menu_14 .submenu { top: 22px !important; } #top_menu_inside { width: auto; margin-left: 0px; border: none; } #top_menu_inside ul { display: inline-block; margin-left: 15px; } #top_menu_inside ul li { padding-top: 2px; } #user_item { margin-right: 0px !important; padding-top: 2px !important; } #bars_item { position: absolute !important; top: 0px !important; left: 0px !important; float: left !important; }