From 68843f72716bd3c4fc6f1be0b89697c8027e39d6 Mon Sep 17 00:00:00 2001 From: Awindsr <84223604+awindsr@users.noreply.github.com> Date: Sat, 14 Oct 2023 22:52:16 +0530 Subject: [PATCH] Add files via upload --- assets/css/execom.css | 145 ++++++++++++++++++++++++++ assets/css/templatemo-grad-school.css | 1 + execom.html | 6 +- 3 files changed, 149 insertions(+), 3 deletions(-) create mode 100644 assets/css/execom.css diff --git a/assets/css/execom.css b/assets/css/execom.css new file mode 100644 index 0000000..a8bb70e --- /dev/null +++ b/assets/css/execom.css @@ -0,0 +1,145 @@ +/* Global styles */ +body { + background: #172238 url("../images/choosing-bg.jpg") no-repeat; +} + +#mentors { + width: 100%; +} + +.mentors-heading, +.execom-heading { + height: 12rem; + color: white; + text-align: center; + padding: 4rem; + margin: auto; +} + +.mentor-container { + margin-top: 80px !important; + margin: auto; +} + +.mentors-heading h2, +.execom-heading h2 { + margin: auto; + color: white; + width: fit-content; + padding: 1rem; + border: 2px solid #2e384b; +} + +.mentors-img { + width: 100%; +} + +/* Hide scrollbars */ +::-webkit-scrollbar { + display: none; +} + +/* Gallery styles */ +#container { + overflow: scroll hidden; + height: auto; + width: 100vw; +} + +.gallery { + background: #172238 url(../images/choosing-bg.jpg) no-repeat; +} + +ul.images { + margin: 0; + padding: 0; + display: flex; + flex-direction: row; + width: auto; + overflow-x: auto; + list-style: none; +} + +ul.images li { + flex: 0 0 auto; + width: auto; + height: auto; + margin-right: 5px; +} + +ul.images li:not(:last-child) { + margin-right: 5px; +} + +ul.images li img { + width: 70rem; + height: 40rem; + object-fit: fit; + +} +/* Responsive styles for screens <= 768px */ +@media screen and (max-width: 768px) { + #container { + overflow: hidden auto; + height: 100%; + width: 100%; + } + + ul.images li { + height: auto; + } + + ul.images { + margin: 5px; + padding: 0; + display: flex; + flex-direction: column; + width: 100%; + } + + ul.images li img { + width: 100%; + height: auto; + object-fit: cover; + } +} + +@media screen and (max-width: 950px) { + .main-menu { padding-right: 0!important; } + .main-header .logo { + line-height: 73px; + + } + .main-menu li { + display: none; + line-height: 1; + margin-left: 0 !important; + } + + .main-menu li .sub-menu { + opacity: 1; + visibility: visible; + position: static; + margin-left: auto; + margin-right: auto; + width: 100%; + } + .main-menu li .sub-menu li:last-child { + border-bottom: 1px solid rgba(250,250,250,0.25); + } +} + +@media screen and (max-width: 950px) and (max-height: 400px) { + nav[role="navigation"].active { + max-height: calc(80px + 100vh); + overflow-y: auto; + } +} + +@media screen and (max-width: 767px) { + footer p { + font-size: 12px; + font-weight: 600; + letter-spacing: 0.25px; + } +} \ No newline at end of file diff --git a/assets/css/templatemo-grad-school.css b/assets/css/templatemo-grad-school.css index 2bb8373..9b1b085 100644 --- a/assets/css/templatemo-grad-school.css +++ b/assets/css/templatemo-grad-school.css @@ -325,6 +325,7 @@ a.menu-link { display: none; } left: 50%; top: 50%; transform: translate(-50%,-50%); + z-index: 5; } .main-banner .caption h6 { diff --git a/execom.html b/execom.html index 123ff5f..b49a2e9 100644 --- a/execom.html +++ b/execom.html @@ -13,7 +13,7 @@ - + @@ -40,10 +40,10 @@ -
  • Execom
  • +
  • Execom
  • Courses