diff --git a/css/general.css b/css/general.css index 89c2d07..b46c56e 100644 --- a/css/general.css +++ b/css/general.css @@ -37,6 +37,16 @@ nav * { #nav-logo { margin-top: 5px; + height: 50px; + width: 258px; +} + +#nav-logo-div { + height: 50px; + width: 258px; + margin: none; + display: inline block; + position: fixed; } #nav-logo-a { @@ -132,12 +142,26 @@ nav li a:focus::after{ transition: 0.5s; } -.notification { +/* .notification { position: absolute; text-align: center; margin: auto; z-index: 100; visibility: hidden; +} */ + +@keyframes dropdown{ + 0% { + opacity: 0; + } + 30% { + transform: translateY(-30px); + opacity: 0; + } + 100% { + transform: translateY(0px); + opacity: 1; + } } /* Responsive Functions */ @@ -146,28 +170,26 @@ nav li a:focus::after{ display: inline-block; } nav ul { - position: fixed; - width: 100%; - height: 250px; - margin-top: 58px; - margin-right: 0; - background: rgb(24, 24, 24); - top: -100%; - text-align: center; + position: fixed; + width: 100%; + height: 250px; + margin-top: 58px; + margin-right: 0; + background: rgb(24, 24, 24); + visibility: hidden; + text-align: center; } nav ul li { - display: block; - margin: 20px 0; - line-height: 30px; + display: block; + margin: 20px 0; + line-height: 30px; } #check:checked ~ul { - top: 0; + visibility: visible; + animation: dropdown 1s ease; } .checkbtn { - display: inline-block; - } - #card-container { - grid-template-columns: repeat(1, 1fr) !important; + display: inline-block; } #prize-logo, .podium-label { transform: scale(0.9); @@ -189,8 +211,13 @@ nav li a:focus::after{ } } @media (max-width: 470px) { - .checkbtn { + /* .checkbtn { display: none; + } */ + #nav-logo { + content: url(/img/Gilroy-Hacks-Logo-icon-tp.ico); + height: 50px; + width: 50px; } #logo { height: 300px; @@ -243,8 +270,8 @@ nav li a:focus::after{ /* Header */ #header-background { background-image: url(/img/mountains-1.jpg); - background-position: center; - background-size: cover; + /* background-position: center; */ + /* background-size: cover; */ background-repeat: no-repeat; background-attachment: fixed; height: 100vh; @@ -1051,7 +1078,7 @@ section { #map-article { margin: 20px auto 0; width: 90%; - max-width: 1000px; + max-width: 1100px; } #cal-container { @@ -1065,7 +1092,7 @@ section { } .cal-card { - width: 33%; + width: 33.3%; border-radius: 7px; border: 1px solid white; } diff --git a/index.html b/index.html index a950522..6b3eb62 100644 --- a/index.html +++ b/index.html @@ -41,7 +41,7 @@