Difference between revisions of "Template:TecCEM/Menu"

Line 1: Line 1:
 
<html>
 
<html>
<!doctype html>
 
 
<head>
 
<head>
 
<meta charset="utf-8">
 
<meta charset="utf-8">
Line 87: Line 86:
 
</div>
 
</div>
 
<div class="menu_teccem">
 
<div class="menu_teccem">
<p>Tec CEM 2021</p>
+
 
</div>
 
</div>
 
</div>
 
</div>
Line 114: Line 113:
 
top: 30px;
 
top: 30px;
 
height: 90%;
 
height: 90%;
width: 10%;
+
width: 10%;
 
display: flex;
 
display: flex;
 
flex-direction: column;
 
flex-direction: column;
align-items: center;
 
 
justify-content: center;
 
justify-content: center;
margin: 1rem;
+
align-items: center;
 +
 
}
 
}
 
.menu_icon img{
 
.menu_icon img{
 
width: 70%;
 
width: 70%;
 +
display: block;
 +
margin: 0;
 +
margin-left: auto;
 +
  margin-right: auto;
 
}
 
}
 
.menu_icon:hover .menu_item{
 
.menu_icon:hover .menu_item{
visibility: visible;
+
display: block;
 
}
 
}
 +
/*=============== SubMenus ==========*/
 
.menu_item{
 
.menu_item{
background: white;
 
padding: .5rem;
 
 
margin-left: 13%;
 
margin-left: 13%;
margin-top: 10%;
+
margin-top: 12%;
position: absolute;
+
display:none;
list-style-type: none;
+
padding: 0px;
visibility: hidden;
+
padding-top: 50px;
width: 6%;
+
position:absolute;
 +
list-style:none;
 +
 +
margin-left: auto;
 +
margin-right: auto;
 +
 
}
 
}
 +
.menu_item > li {
 +
float:left;
 +
position:relative;
 +
display: inline-block;
 +
padding: 0px;
 +
margin-bottom: 5px;
 +
padding:10px 12px;
 +
}
 +
 
.menu_item > li:hover{
 
.menu_item > li:hover{
 
text-decoration: underline;
 
text-decoration: underline;
background: red;
+
background: white;
 
cursor: pointer;
 
cursor: pointer;
 
}
 
}
 +
 +
/*======================================*/
 
 
 
.menu_hidden{
 
.menu_hidden{
transform: translateX(-0%) translateY(-73%);
+
transform: translateX(-0%) translateY(-70%);
 
/*100% - .menu.height + .menu_teccem.heigh
 
/*100% - .menu.height + .menu_teccem.heigh
 
100 - 35 + 25 = 90
 
100 - 35 + 25 = 90
Line 154: Line 172:
 
height: 100%;
 
height: 100%;
 
background: green;
 
background: green;
padding-left: 2.5rem;
+
padding-left: 5rem;
 
overflow: hidden;
 
overflow: hidden;
 
display: flex;
 
display: flex;
Line 160: Line 178:
 
justify-content: space-around;
 
justify-content: space-around;
 
align-content: center;
 
align-content: center;
align-items: center;
 
 
 
}
 
}
 
.menu_teccem > p{
 
.menu_teccem > p{
Line 167: Line 183:
 
}
 
}
 
.menu_teccem{
 
.menu_teccem{
height: 40%;
+
height: 50%;
 
padding: 0;
 
padding: 0;
 
display: flex;
 
display: flex;
Line 190: Line 206:
 
.menu-close {
 
.menu-close {
 
  position: fixed;
 
  position: fixed;
top:10px;
+
top:10;
 
z-index: 99999;
 
z-index: 99999;
 
  display: flex;
 
  display: flex;

Revision as of 02:11, 13 September 2021

Untitled Document