Skip to content

Commit

Permalink
Merge pull request #5 from Barath-Balamurugan/main
Browse files Browse the repository at this point in the history
Update Design and Alignment for Mobile/Tab View
  • Loading branch information
malleshamdasari authored Jan 7, 2025
2 parents 0f3e1fd + d3393c9 commit 2d73f6d
Show file tree
Hide file tree
Showing 22 changed files with 540 additions and 21 deletions.
67 changes: 66 additions & 1 deletion activities/activities.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ body {
text-transform: uppercase;
}

.lab-name-mobile{
display: none;
}

.lab-name span{
display: inline-block;
}
Expand Down Expand Up @@ -68,7 +72,7 @@ body {
.navbar {
background-color: var(--dark);
text-align: center;
padding: 10px 0px 20px 0px;
padding: 10px 0px 10px 0px;
max-width: 1600px;
margin: auto;
align-self: center;
Expand Down Expand Up @@ -149,14 +153,29 @@ footer {
padding: 20px 0;
}

@media (max-width: 1024px) {
.navbar .nav-link {
padding: 0px 30px !important;
}
.activity-section {
margin: 40px 40px;
}
}

/* Responsive Design */
@media (max-width: 768px) {
.header {
justify-content: space-between;
}
.header img {
height: 40px;
}

.navbar .nav-link {
font-size: 1rem;
width: 100%;
text-align: start;
padding: 15px 50px !important;
}

.header .lab-name {
Expand Down Expand Up @@ -191,4 +210,50 @@ footer {
.activity-section {
margin: 20px auto;
}
.activity {
margin: 20px;
}
.page-title{
text-align: center;
font-size: 28px;
}
.lab-name{
display: none;
}

.lab-name-mobile{
display: inline-block;
color: var(--primary);
font-family: "Poppins", serif;
font-weight: 500;
font-size: 1.2rem;
letter-spacing: 10px;
word-spacing: 20px;
text-transform: uppercase;
}
.header a{
width: 20%;
}
footer {
font-size: 10px;
}
}

@media (max-width: 430px) {

.header a{
width: 35%;
}

.lab-name-mobile{
font-size: 18px;
}

.navbar .nav-link {
padding: 15px 50px !important;
}

.activity-section {
margin: 30px 10px;
}
}
1 change: 1 addition & 0 deletions activities/activities.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<a href="/index.html">
<img class="lab-logo" src="/logo/SinrgLogoMain.png" alt="Lab Logo">
</a>
<div class="lab-name-mobile">SINRG</div>
<div class="lab-name"><span>Spatial</span> <span>I<span class="second-letter">n</span>telligence</span> <span>Research</span> <span>Group</span></div>
<!-- <div class="lab-name">Spatial Intelligence Research Group</div> -->
<img class="school-logo" src="/images/N-Motto Wordmark_PMSu_186+KO.png" alt="School Logo">
Expand Down
69 changes: 67 additions & 2 deletions courses/courses.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ body {
text-transform: uppercase;
}

.lab-name-mobile{
display: none;
}

.lab-name span{
display: inline-block;
}
Expand Down Expand Up @@ -68,7 +72,7 @@ body {
.navbar {
background-color: var(--dark);
text-align: center;
padding: 10px 0px 20px 0px;
padding: 10px 0px 10px 0px;
max-width: 1600px;
margin: auto;
align-self: center;
Expand Down Expand Up @@ -151,14 +155,30 @@ footer {
padding: 20px 0;
}

@media (max-width: 1024px) {
.navbar .nav-link {
padding: 0px 30px !important;
}
.course-section {
max-width: 1200px;
margin: 40px 40px;
}
}

/* Responsive Design */
@media (max-width: 768px) {
.header {
justify-content: space-between;
}
.header img {
height: 40px;
}

.navbar .nav-link {
font-size: 1rem;
width: 100%;
text-align: start;
padding: 15px 50px !important;
}

.header .lab-name {
Expand Down Expand Up @@ -190,7 +210,52 @@ footer {
width: 100%; /* Adjust width for smaller screens */
height: 100px;
}

.course{
margin: 20px;
}

.course-title {
text-align: left;
font-size: 22px;
}
.lab-name{
display: none;
}

.lab-name-mobile{
display: inline-block;
color: var(--primary);
font-family: "Poppins", serif;
font-weight: 500;
font-size: 1.2rem;
letter-spacing: 10px;
word-spacing: 20px;
text-transform: uppercase;
}
.header a{
width: 20%;
}
footer {
font-size: 10px;
}
}

@media (max-width: 430px) {

.header a{
width: 35%;
}

.lab-name-mobile{
font-size: 18px;
}

.navbar .nav-link {
padding: 15px 50px !important;
}

.course-section {
margin: 20px auto;
margin: 30px 10px;
}
}
1 change: 1 addition & 0 deletions courses/courses.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<a href="/index.html">
<img class="lab-logo" src="/logo/SinrgLogoMain.png" alt="Lab Logo">
</a>
<div class="lab-name-mobile">SINRG</div>
<div class="lab-name"><span>Spatial</span> <span>I<span class="second-letter">n</span>telligence</span> <span>Research</span> <span>Group</span></div>
<!-- <div class="lab-name">Spatial Intelligence Research Group</div> -->
<img class="school-logo" src="/images/N-Motto Wordmark_PMSu_186+KO.png" alt="School Logo">
Expand Down
Binary file added images/Carousel/compression-abr.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Carousel/xr-glass-hud-prototype.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Carousel/xr-nasa.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Carousel/xr-netsys.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Carousel/xr-overlays.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Carousel/xr-sports.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Carousel/xr-wafer.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/People/AidanHanson.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
103 changes: 97 additions & 6 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ body {
text-transform: uppercase;
}

.lab-name-mobile{
display: none;
}

.lab-name span{
display: inline-block;
}
Expand Down Expand Up @@ -72,7 +76,7 @@ body {
.navbar {
background-color: var(--dark);
text-align: center;
padding: 10px 0px 20px 0px;
padding: 10px 0px 10px 0px;
max-width: 1600px;
margin: auto;
align-self: center;
Expand Down Expand Up @@ -227,36 +231,69 @@ footer {
padding: 20px 0;
}

@media (max-width: 1024px) {
.navbar .nav-link {
padding: 0px 30px !important;
}

.carousel-item img {
height: 350px;
}

.carousel-caption h5{
width: 80%;
margin: auto;
}
}

/* Responsive Design */
@media (max-width: 768px) {
.header {
justify-content: space-between;
}
.header img {
height: 40px;
}

.navbar .nav-link {
font-size: 1rem;
width: 100%;
text-align: start;
padding: 15px 50px !important;
}

.header .lab-name {
font-size: 1.2rem;
}
.carousel-item img {
height: 100%;
max-height: 150px;
}
.highlight-caption {
font-size: 1.2rem;
}
.carousel {
height: 100px; /* Adjust height for smaller screens */
height: 350px; /* Adjust height for smaller screens */
}

.carousel-item img {
width: 100%;
}

.carousel-item img {
height: 300px !important;
}

.carousel-caption h5{
width: 80%;
margin: auto;
font-size: 1rem !important; /* Reduce heading size */
padding: 20px;
}

.carousel-caption {
font-size: 0.5rem; /* Adjust font size for smaller screens */
padding: 2px;
}
.carousel-caption h5 {
font-size: 0.5rem !important; /* Reduce heading size */
}
.research-areas {
flex-direction: column;
gap: 20px;
Expand All @@ -266,4 +303,58 @@ footer {
width: 100%; /* Adjust width for smaller screens */
height: 100px;
}

.lab-name{
display: none;
}

.lab-name-mobile{
display: inline-block;
color: var(--primary);
font-family: "Poppins", serif;
font-weight: 500;
font-size: 1.2rem;
letter-spacing: 10px;
word-spacing: 20px;
text-transform: uppercase;
}

.header a{
width: 20%;
}

footer {
font-size: 10px;
}
}

@media (max-width: 430px) {

.header a{
width: 35%;
}

.lab-name-mobile{
font-size: 18px;
}

.navbar .nav-link {
padding: 15px 50px !important;
}

.carousel {
height: 200px; /* Adjust height for smaller screens */
}

.carousel-item img {
height: 150px !important;
}

.carousel-caption h5{
width: 95%;
margin: auto;
font-size: 12px !important; /* Reduce heading size */
padding: 20px;
/* text-align: justify; */
}
}
Loading

0 comments on commit 2d73f6d

Please sign in to comment.