diff --git a/activites.html b/activites.html index 8d90f74..8d800b1 100644 --- a/activites.html +++ b/activites.html @@ -18,7 +18,49 @@ Contact Us Volunteer - menu + menu + + +
@@ -68,5 +110,6 @@

We Need Your Help

+ diff --git a/css/activites.css b/css/activites.css index 38fbe94..caccd94 100644 --- a/css/activites.css +++ b/css/activites.css @@ -86,6 +86,112 @@ input#search { margin: 20px auto 20px auto; width: 80%; } +#menu-container { + position: relative; +} + +#menu-button { + cursor: pointer; + padding: 15px; + + color: #fff; + text-align: center; +} + +#dropdown-menu { + display: none; + position: absolute; + top: 60px; + right: 40px; + width: 25%; + background-color: #000; + color: #fff; + font-family: abhayalibre; + z-index: 1; + overflow: hidden; + padding: 30px; + flex-direction: column; + animation: slideIn 0.6s ease-out; + -webkit-box-shadow: 0px 0px 25px -2px rgba(0, 0, 0, 0.75); + -moz-box-shadow: 0px 0px 25px -2px rgba(0, 0, 0, 0.75); + box-shadow: 0px 0px 25px -2px rgba(0, 0, 0, 0.75); +} + +@keyframes slideIn { + from { + height: 0; + } + to { + height: 750px; + } +} +@keyframes slideOut { + from { + height: 750px; + } + to { + height: 0; + } +} + +.menu-item { + padding: 12px; + text-decoration: none; + color: #333; + display: block; + transition: background-color 0.3s; +} +.menu-item a { + color: #fff; + display: flex; + height: 100%; + align-items: center; +} +.dropdownbody h5 { + display: flex; + align-items: center; + font-family: abhayalibre; + font-size: 20px; + margin-bottom: 10px; + color: #e6222b; + vertical-align: middle; +} +.dropdownbody ul { + list-style-type: none; +} +.dropdownbody ul li { + margin-bottom: 10px; + text-align: left; + margin-bottom: 20px; + font-size: 15px; + margin-left: 40px; + margin-right: 20px; +} +.menu-item:hover { + background-color: #f1f1f1; +} +#close-button { + display: flex; + width: 100%; + justify-content: flex-end; + color: #fff; + padding: 10px; + text-align: center; + cursor: pointer; + padding: 20px; +} +#close-button img { + height: 25px; +} +.headerbody { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding-top: 100px; + padding-bottom: 100px; +} + .activities { display: flex; flex-direction: column; @@ -178,6 +284,27 @@ input#search { .navleft img { margin-right: 10px; } + #dropdown-menu { + width: 100%; + right: 0; + top: 0; + } + @keyframes slideIn { + from { + height: 0; + } + to { + height: 732px; + } + } + @keyframes slideOut { + from { + height: 732px; + } + to { + height: 0; + } + } .activities h1 { font-size: 60px; } diff --git a/css/style.css b/css/style.css index 1df093c..8112559 100644 --- a/css/style.css +++ b/css/style.css @@ -104,14 +104,19 @@ input#search { display: none; position: absolute; top: 60px; - right: 0; + right: 40px; width: 25%; background-color: #000; color: #fff; font-family: abhayalibre; z-index: 1; overflow: hidden; - animation: slideIn 0.3s ease-out; + padding: 30px; + flex-direction: column; + animation: slideIn 0.6s ease-out; + -webkit-box-shadow: 0px 0px 25px -2px rgba(0, 0, 0, 0.75); + -moz-box-shadow: 0px 0px 25px -2px rgba(0, 0, 0, 0.75); + box-shadow: 0px 0px 25px -2px rgba(0, 0, 0, 0.75); } @keyframes slideIn { @@ -119,12 +124,12 @@ input#search { height: 0; } to { - height: 200px; + height: 750px; } } @keyframes slideOut { from { - height: 200px; + height: 750px; } to { height: 0; @@ -138,7 +143,32 @@ input#search { display: block; transition: background-color 0.3s; } - +.menu-item a { + color: #fff; + display: flex; + height: 100%; + align-items: center; +} +.dropdownbody h5 { + display: flex; + align-items: center; + font-family: abhayalibre; + font-size: 20px; + margin-bottom: 10px; + color: #e6222b; + vertical-align: middle; +} +.dropdownbody ul { + list-style-type: none; +} +.dropdownbody ul li { + margin-bottom: 10px; + text-align: left; + margin-bottom: 20px; + font-size: 15px; + margin-left: 40px; + margin-right: 20px; +} .menu-item:hover { background-color: #f1f1f1; } @@ -567,6 +597,11 @@ input[type="radio"]:checked { .navleft img { margin-right: 10px; } + #dropdown-menu { + width: 100%; + right: 0; + top: 0; + } .headerbody p { width: 80%; } @@ -624,6 +659,22 @@ input[type="radio"]:checked { .socials { justify-content: center; } + @keyframes slideIn { + from { + height: 0; + } + to { + height: 732px; + } + } + @keyframes slideOut { + from { + height: 732px; + } + to { + height: 0; + } + } } @media screen and (min-width: 1400px) { .bodymissiontext ul li { diff --git a/index.html b/index.html index 914fb97..b41c270 100644 --- a/index.html +++ b/index.html @@ -29,15 +29,41 @@