diff --git a/WebHostLib/static/static/button-images/dropdown.png b/WebHostLib/static/static/button-images/dropdown.png new file mode 100644 index 00000000..cbc86341 Binary files /dev/null and b/WebHostLib/static/static/button-images/dropdown.png differ diff --git a/WebHostLib/static/styles/islandFooter.css b/WebHostLib/static/styles/islandFooter.css index 96611f4e..7d5344a9 100644 --- a/WebHostLib/static/styles/islandFooter.css +++ b/WebHostLib/static/styles/islandFooter.css @@ -15,3 +15,33 @@ padding-left: 0.5rem; color: #dfedc6; } +@media all and (max-width: 900px) { + #island-footer{ + font-size: 17px; + font-size: 2vw; + } +} +@media all and (max-width: 768px) { + #island-footer{ + font-size: 15px; + font-size: 2vw; + } +} +@media all and (max-width: 650px) { + #island-footer{ + font-size: 13px; + font-size: 2vw; + } +} +@media all and (max-width: 580px) { + #island-footer{ + font-size: 11px; + font-size: 2vw; + } +} +@media all and (max-width: 512px) { + #island-footer{ + font-size: 9px; + font-size: 2vw; + } +} diff --git a/WebHostLib/static/styles/landing.css b/WebHostLib/static/styles/landing.css index a70ac69d..202c43ba 100644 --- a/WebHostLib/static/styles/landing.css +++ b/WebHostLib/static/styles/landing.css @@ -21,7 +21,6 @@ html{ margin-right: auto; margin-top: 10px; height: 140px; - z-index: 10; } #landing-header h4{ diff --git a/WebHostLib/static/styles/themes/base.css b/WebHostLib/static/styles/themes/base.css index 1c41bd27..0c491f7b 100644 --- a/WebHostLib/static/styles/themes/base.css +++ b/WebHostLib/static/styles/themes/base.css @@ -42,7 +42,7 @@ html{ margin-top: 4px; } -#base-header a, #base-header-mobile-menu a{ +#base-header a, #base-header-mobile-menu a, #dropdown #dropdown-text{ color: #2f6b83; text-decoration: none; cursor: pointer; @@ -86,6 +86,31 @@ html{ #base-header-right-mobile img{ height: 3rem; } +#dropdown { + display: inline-block; +} + +#dropdown:hover #dropdown-menu { + display: block; +} +#dropdown-menu{ + display: none; + position: absolute; + background-color: #fff; + min-width: 160px; + padding: 12px 16px; + margin-left: -90px; + border-radius: 15px; + border-left: 2px solid #d0ebe6; + border-bottom: 2px solid #d0ebe6; + filter: drop-shadow(-6px 6px 2px #2e3e83); +} +#dropdown-icon { + height: 7px; + width: 14px; + margin-bottom: 3px; + margin-left: 2px; +} @media all and (max-width: 960px), only screen and (max-device-width: 768px) { #base-header-right{ diff --git a/WebHostLib/templates/header/baseHeader.html b/WebHostLib/templates/header/baseHeader.html index 80e8d622..5865d509 100644 --- a/WebHostLib/templates/header/baseHeader.html +++ b/WebHostLib/templates/header/baseHeader.html @@ -11,10 +11,20 @@