Edwinlawisan (Talk | contribs) (fran : template edit) |
Edwinlawisan (Talk | contribs) (fran : template test) |
||
Line 24: | Line 24: | ||
left: 0; | left: 0; | ||
width : 100vw; | width : 100vw; | ||
− | padding: | + | padding:12px 0px 0px 0px; |
} | } | ||
@import url(http://fonts.googleapis.com/css?family=Raleway); | @import url(http://fonts.googleapis.com/css?family=Raleway); | ||
− | #cssmenu, | + | #cssmenu, |
− | #cssmenu ul, | + | #cssmenu ul, |
− | #cssmenu ul li, | + | #cssmenu ul li, |
− | #cssmenu ul li a { | + | #cssmenu ul li a { |
− | + | margin: 0; | |
− | + | padding: 0; | |
− | + | border: 0; | |
− | + | list-style: none; | |
− | + | line-height: 1; | |
− | + | display: block; | |
− | + | position: relative; | |
− | + | -webkit-box-sizing: border-box; | |
− | + | -moz-box-sizing: border-box; | |
− | + | box-sizing: border-box; | |
− | } | + | } |
− | #cssmenu:after, | + | #cssmenu:after, |
− | #cssmenu > ul:after { | + | #cssmenu > ul:after { |
− | + | content: "."; | |
− | + | display: block; | |
− | + | clear: both; | |
− | + | visibility: hidden; | |
− | + | line-height: 0; | |
− | + | height: 0; | |
− | } | + | } |
− | #cssmenu { | + | #cssmenu { |
− | + | width: auto; | |
− | + | border-bottom: 3px solid #47c9af; | |
− | + | font-family: Raleway, sans-serif; | |
− | + | line-height: 1; | |
− | } | + | } |
− | #cssmenu ul { | + | #cssmenu ul { |
− | + | background: #ffffff; | |
− | } | + | } |
− | #cssmenu > ul > li { | + | #cssmenu > ul > li { |
− | + | float: left; | |
− | } | + | } |
− | #cssmenu.align-center > ul { | + | #cssmenu.align-center > ul { |
− | + | font-size: 0; | |
− | + | text-align: center; | |
− | } | + | } |
− | #cssmenu.align-center > ul > li { | + | #cssmenu.align-center > ul > li { |
− | + | display: inline-block; | |
− | + | float: none; | |
− | } | + | } |
− | #cssmenu.align-right > ul > li { | + | #cssmenu.align-right > ul > li { |
− | + | float: right; | |
− | } | + | } |
− | #cssmenu.align-right > ul > li > a { | + | #cssmenu.align-right > ul > li > a { |
− | + | margin-right: 0; | |
− | + | margin-left: -4px; | |
− | } | + | } |
− | #cssmenu > ul > li > a { | + | #cssmenu > ul > li > a { |
− | + | z-index: 2; | |
− | + | margin-top: 12px; | |
− | + | padding: 18px 25px 12px 25px; | |
− | + | font-size: 15px; | |
− | + | font-weight: 400; | |
− | + | text-decoration: none; | |
− | + | color: #444444; | |
− | + | -webkit-transition: all .2s ease; | |
− | + | -moz-transition: all .2s ease; | |
− | + | -ms-transition: all .2s ease; | |
− | + | -o-transition: all .2s ease; | |
− | + | transition: all .2s ease; | |
− | + | margin-right: -4px; | |
− | } | + | } |
− | #cssmenu > ul > li.active > a, | + | #cssmenu > ul > li.active > a, |
− | #cssmenu > ul > li:hover > a, | + | #cssmenu > ul > li:hover > a, |
− | #cssmenu > ul > li > a:hover { | + | #cssmenu > ul > li > a:hover { |
− | + | color: #ffffff; | |
− | } | + | } |
− | #cssmenu > ul > li > a:after { | + | #cssmenu > ul > li > a:after { |
− | + | position: absolute; | |
− | + | left: 0; | |
− | + | bottom: 0; | |
− | + | right: 0; | |
− | + | z-index: -1; | |
− | + | width: 100%; | |
− | + | height: 120%; | |
− | + | border-top-left-radius: 8px; | |
− | + | border-top-right-radius: 8px; | |
− | + | content: ""; | |
− | + | -webkit-transition: all .2s ease; | |
− | + | -o-transition: all .2s ease; | |
− | + | transition: all .2s ease; | |
− | + | -webkit-transform: perspective(5px) rotateX(2deg); | |
− | + | -webkit-transform-origin: bottom; | |
− | + | -moz-transform: perspective(5px) rotateX(2deg); | |
− | + | -moz-transform-origin: bottom; | |
− | + | transform: perspective(5px) rotateX(2deg); | |
− | + | transform-origin: bottom; | |
− | } | + | } |
− | #cssmenu > ul > li.active > a:after, | + | #cssmenu > ul > li.active > a:after, |
− | #cssmenu > ul > li:hover > a:after, | + | #cssmenu > ul > li:hover > a:after, |
− | #cssmenu > ul > li > a:hover:after { | + | #cssmenu > ul > li > a:hover:after { |
− | + | background: #47c9af; | |
− | } | + | } |
− | .dropdown { | + | .dropdown { |
− | + | float: left; | |
− | + | overflow: hidden; | |
− | } | + | } |
− | .dropdown .dropbtn { | + | .dropdown .dropbtn { |
− | + | font-size: 16px; | |
− | + | border: none; | |
− | + | outline: none; | |
− | + | color: black; | |
− | + | padding: 14px 16px; | |
− | + | background-color: inherit; | |
− | + | font-family: inherit; | |
− | + | margin: 0; | |
− | } | + | } |
− | .dropdown-content { | + | .dropdown-content { |
− | + | display: none; | |
− | + | position: absolute; | |
− | + | background-color: #f9f9f9; | |
− | + | min-width: 160px; | |
− | + | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | |
− | + | z-index: 1; | |
− | } | + | } |
− | .dropdown-content a { | + | .dropdown-content a { |
− | + | float: none; | |
− | + | color: black; | |
− | + | padding: 12px 16px; | |
− | + | text-decoration: none; | |
− | + | display: block; | |
− | + | text-align: left; | |
− | } | + | } |
− | .dropdown-content a:hover { | + | .dropdown-content a:hover { |
− | + | background-color: #ddd; | |
− | } | + | } |
− | .dropdown:hover .dropdown-content { | + | .dropdown:hover .dropdown-content { |
− | + | display: block; | |
− | } | + | } |
</style> | </style> | ||
</head> | </head> | ||
<body> | <body> | ||
<div class = "bg"> | <div class = "bg"> | ||
− | <div id='cssmenu'> | + | <div class = "nav"> |
− | + | <div id='cssmenu'> | |
− | + | <ul> | |
− | + | <li> | |
− | + | <a href='#'>Home</a> | |
− | + | </li> | |
− | + | <li class="dropdown"> | |
− | + | <a class="dropbtn">TEAM | |
− | + | <i class="fa fa-caret-down"></i> | |
− | + | </a> | |
− | + | <div class="dropdown-content"> | |
− | + | <a href="#">Team Members</a> | |
− | <a href="#"> | + | <a href="#">Collaborations</a> |
− | + | </div> | |
− | + | </li> | |
− | + | <li class="dropdown"> | |
− | <a href='#'> | + | <a class="dropbtn">PROJECT |
− | + | <i class="fa fa-caret-down"></i> | |
− | + | </a> | |
− | <a href='#'> | + | <div class="dropdown-content"> |
− | + | <a href="#">Description</a> | |
− | + | <a href="#">Design</a> | |
− | </div> | + | <a href="#">Experiments</a> |
+ | <a href="#">Notebook</a> | ||
+ | <a href="#">InterLab</a> | ||
+ | <a href="#">Model</a> | ||
+ | <a href="#">Results</a> | ||
+ | <a href="#">Demonstrate</a> | ||
+ | <a href="#">Improve</a> | ||
+ | <a href="#">Attributions</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a class="dropbtn">PARTS | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Parts Overview</a> | ||
+ | <a href="#">Basic Parts</a> | ||
+ | <a href="#">Composite Parts</a> | ||
+ | <a href="#">Part Collection</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href='#'>SAFETY</a> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a class="dropbtn">HUMAN PRACTICES | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Human Practices</a> | ||
+ | <a href="#">Education & Engagement</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li class="dropdown"> | ||
+ | <a class="dropbtn">AWARDS | ||
+ | <i class="fa fa-caret-down"></i> | ||
+ | </a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="#">Applied Design</a> | ||
+ | <a href="#">Entrepreneurship</a> | ||
+ | <a href="#">Hardware</a> | ||
+ | <a href="#">Measurement</a> | ||
+ | <a href="#">Model</a> | ||
+ | <a href="#">Plant</a> | ||
+ | <a href="#">Software</a> | ||
+ | </div> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href='#'>JUDGING FORM</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
</div> | </div> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 16:56, 23 June 2018