Untitled
unknown
plain_text
a year ago
9.1 kB
2
Indexable
Never
<style> .site-header { height: 70px; border-bottom: 1px solid #EAEAEA; } .site-header .container { max-width: 80rem; padding-left: 40px; padding-right: 40px; margin: auto; } .site-header nav { display: flex; align-items: center; height: 100%; gap: 30px; } .site-header .nav-menu { margin-left: auto; height: 100%; } .site-header .nav-menu .menu { height: 100%; } .site-header .logo svg { height: 40px; } .site-header .container { height: 100%; } .site-header .menu ul li { height: 100%; display: flex; align-items: center; border-bottom: 2px solid transparent; } .site-header .menu ul li:hover { border-bottom: 2px solid black; } .site-header .menu ul li a { font-weight: 500; color: #000; } .site-header .menu ul li.current_page_item { border-bottom: 2px solid black; } .site-header .current_page_parent { border-bottom: 2px solid black; } a { text-decoration: none; } .mobile-menu-toggle { display: none; } .btn-primary { background-color: #00A8C4; padding: 6px 16px; color: #fff !important; transition: all 250ms ease-in-out; } .btn-primary:hover { background-color: #00788C; } @media only screen and (max-width: 768px) { .container { max-width: 100%; margin: auto; padding: 0 40px; } .site-header nav { display: flex; } .site-header .nav-menu { display: none; } .site-header .switch-theme { margin-left: auto; } .site-header .mobile-menu-toggle { display: block; } .site-header .btn-primary { display: none; } .site-header .logo svg { height: 35px; } } .site-header .menu { display: flex; align-items: center; list-style: none; gap: 30px; } .site-header .menu-menu-container { height: 100%; } .site-header .menu .menu-item { display: flex; align-items: center; position: relative; height: 100%; } .site-header .menu .menu-item a { color: black; font-weight: 500; display: flex; align-items: center; height: 100%; } .site-header .menu .menu-item a:focus { outline: none; } .site-header .menu .menu-item:hover .sub-menu { height: auto; } .site-header .sub-menu { width: 243px; margin: 0; list-style: none; display: none; overflow: hidden; position: absolute; top: 70px; border: 1px solid #eaeaea; padding: 20px 40px; background: white; } .site-header .sub-menu .menu-item a { color: #707070; font-size: 15px; font-weight: 400; } .site-header .sub-menu .menu-item a:hover { color: #000; font-weight: 500; } .site-header .current-menu-item { border-bottom: 2px solid black; } .site-header .hidden { display: none; } .block { display: block; } .site-header .sub-menu-show { display: block; } .dark .site-header { background-color: #262626; color: #fff; } body:not(.dark) .site-header .sun { display: none; } body.dark .site-header .moon { display: none; } body:not(.dark) .site-header .icon-dark { display: none; } body.dark .site-header .icon-light { display: none; } body:not(.dark) .site-header .dark-mood { display: none; } body.dark .site-header .light-mood { display: none; } .dark .site-header .menu-item a { color: #fff; } .dark .site-header .current-menu-item { border-bottom: 2px solid #fff; } .dark .site-header .sub-menu { background-color: #262626; color: #fff; } .dark .site-header .sub-menu .current-menu-item { border-bottom: 2px solid #fff; } .dark .site-header .sub-menu .menu-item:hover { border-bottom: 2px solid #fff; } .dark .site-header .current_page_parent { border-bottom: 2px solid #fff; } /***MODAL TEST */ .modal { display: none; position: fixed; z-index: 1; padding-top: 100px; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0, 0, 0, 0.4); } /* Modal Content */ .modal-content { background-color: #37393FE5; padding: 20px; width: 80%; margin: auto; } /* The Close Button */ .close { color: #aaaaaa; float: right; font-size: 28px; font-weight: bold; } .close:hover, .close:focus { color: #000; text-decoration: none; cursor: pointer; } .navigation-modal .modal-content .nav-menu .menu-menu-container { display: flex; align-items: center; justify-content: center; } .navigation-modal .modal-content .nav-menu .menu { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 0; list-style: none; width: 100%; } .navigation-modal .modal-content .menu .current-menu-item a { padding: 16px; background-color: #56595F; width: 100%; display: block; } .navigation-modal .modal-content .menu .current-menu-item a:hover { background-color: #00A8C4; } .navigation-modal .modal-content .menu .menu-item-has-children a { padding: 16px; background-color: #56595F; width: 100%; display: block; } .navigation-modal .modal-content .menu .menu-item-has-children a:hover { background-color: #00A8C4; } .navigation-modal .modal-content .menu .menu-item-has-children .sub-menu a { padding: 14px; background-color: transparent; width: 100%; display: block; } .navigation-modal .modal-content .menu .sub-menu { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; max-height: 0; transition: all 0.3s; overflow: hidden; } .navigation-modal .modal-content .menu .sub-menu-show { max-height: 500px; } .navigation-modal .modal-content .menu .menu-item a { color: #fff; text-transform: uppercase; cursor: pointer; } .navigation-modal .modal-content .menu .sub-menu a { color: #909090; text-transform: capitalize; } .navigation-modal .modal-contact { background-color: #37393FE5; display: flex; align-items: center; flex-direction: column; justify-content: center; padding: 16px; width: 80%; margin: auto; } .navigation-modal .modal-contact { margin-top: 30px; } .navigation-modal .modal-heading { color: #fff; font-size: 16px; font-weight: 500; } </style>