Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
home
/
getwphos
/
public_html
/
jewel
/
multipurpose-theme
/
scss
/
06-components
/
File Content:
_navigation.scss
/* ------------- Header ----------------*/ .top-header { position: absolute; left: 0px; top: 0px; right: 0px; z-index: 100; display: flex; width: 100%; margin-right: auto; margin-left: auto; padding-right: 2%; padding-left: 2%; justify-content: space-between; align-items: center; background-color: transparent; color: #fff; transition: all 300ms ease-in-out; } .logo { display: flex; position: relative; z-index: 101; width: 12%; padding: 20px; justify-content: center; align-items: center; -webkit-transition: letter-spacing 600ms ease; transition: letter-spacing 600ms ease; color: #fff; font-weight: 400; letter-spacing: 4px; padding: 0; h2 { margin-left: 20px; font-family: Lato, sans-serif; font-size: 28px; color: #ffffff; line-height: 32px; font-weight: 400; text-align: center; text-transform: lowercase; font-weight: bold; padding: 0; -webkit-transition: all 600ms ease; transition: all 600ms ease; letter-spacing: 4px; } img { -webkit-filter: invert(100%); filter: invert(100%); } } .nav { height: 7.2rem; display: flex; align-items: center; justify-content: center; } .menu-toggle { color: #fff; font-size: 2.2rem; position: absolute; top: 50%; transform: translateY(-50%); right: 2.5rem; cursor: pointer; z-index: 1500; } .uil-times { display: none; } .nav-list { list-style: none; position: fixed; top: 0; left: 0; width: 80%; height: 100vh; background-color: #004646; padding: 4.4rem; display: flex; flex-direction: column; justify-content: space-around; z-index: 1250; transform: translateX(-100%); transition: 0.5s; } .nav:before { content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: rgba(0, 70, 70, 0.5); z-index: 1000; opacity: 0; transform: scale(0); transition: opacity 0.5s; } .open .uil-times { display: block; } .open .uil-bars { display: none; } .open .nav-list { transform: translateX(0); } .open .nav:before { opacity: 1; transform: scale(1); } .nav-item { border-bottom: 2px solid rgba(255, 255, 255, 0.3); } .nav-item { margin: 0; border: none; } .nav-list li a { color: #fff; padding: 0; } .nav-link { font-size: 19px; font-family: "DM Serif Display", serif; display: block; margin-right: 12px; margin-left: 12px; -webkit-transition: all 600ms ease; transition: all 600ms ease; color: #ffffff; letter-spacing: 0px; text-decoration: none; line-height: 31px; } .nav-link:hover { color: #fe706b; letter-spacing: 1px; } .button-primary.large { padding: 15px 35px; border-style: solid; border-width: 2px; color: #ffffff; border-color: #fe706b; background-color: #fe706b; font-size: 20px; line-height: 22px; letter-spacing: 0px; text-transform: capitalize; background-clip: border-box; transition: transform 350ms ease, background-color 350ms ease; } .button-primary.large:hover { background-color: rgba(254, 112, 107, 0); transform: scale(0.93); color: #ffffff; outline: 0; } @media only screen and (max-width: 600px) { .nav-list li { padding: 15px 0; } .nav-list { display: block; } .top-header-right a { display: none; } .top-header-right { display: none; } .nav { justify-content: space-between; } .logo { width: 30%; } } /*------------- Responsive Navigation ----------------*/ @media screen and (min-width: 900px) { .menu-toggle { display: none; } .nav { justify-content: space-between; } .nav-list { position: initial; width: initial; height: initial; background-color: transparent; padding: 0; justify-content: initial; flex-direction: row; transform: initial; transition: initial; } .nav-item { margin: 0; border: none; } .nav-item:last-child { margin-right: 0; } .active { position: relative; } .active:hover { content: ""; position: absolute; width: 100%; height: 100%; background-color: #fff; left: 0; bottom: -3px; } }
Submit
FILE
FOLDER
Name
Size
Permission
Action
_footer.scss
0 bytes
0644
_hero.scss
0 bytes
0644
_navigation.scss
4376 bytes
0644
N4ST4R_ID | Naxtarrr