Skip to content

Commit

Permalink
Fix some response layouts on footer and projects
Browse files Browse the repository at this point in the history
  • Loading branch information
iiamabby committed Apr 8, 2024
1 parent feba407 commit 5dabbfb
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 46 deletions.
38 changes: 15 additions & 23 deletions public/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ a:hover {
code{
color: black;
}
/*a:visited {
color: var(--pink_dark);
}*/

nav {
display: flex;
Expand Down Expand Up @@ -66,14 +63,12 @@ nav a:hover {
align-items: center;
row-gap: var(--font-xxs);
}
.navbar__left {
/* width: 100%; */
/* text-align: center; */
}

.navbar__right {
justify-content: center;
/* margin-left: 50vw; */
row-gap: 0.5rem;
gap: 1rem;
}
}

Expand All @@ -93,9 +88,7 @@ footer {
.footer__left{
width:5%;
}
.footer__right{
width:20%;
}

.contact-details li {
list-style: none;
}
Expand All @@ -104,10 +97,13 @@ footer {
padding-left: 0;
display: flex;
justify-content: space-between;
width:80%;
margin:auto;
}
.contact-details > li {
margin:5px;
}
.contact-details > li > a > div {
margin-bottom: 5px;
margin:auto;
}
.contact-details > li > a:hover{
color: var(--yellow)
Expand Down Expand Up @@ -798,7 +794,7 @@ a {
/**************
* Mobile
**************/
@media screen and (max-width: 768px) {
@media screen and (max-width: 800px) {
.flex-row_outer {
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -830,17 +826,14 @@ a {

.project-img {
display: block;
width:400px;

margin:auto;
}
.logo{
width:300px;
margin-right: 80px;
}

.center-grid{
width:100%;
}

#contact_form {
width: 100%;
}
Expand All @@ -857,12 +850,11 @@ a {
width: 100%;
height: 100%;
}
.footer__right{
width:400px;
}


.circular-image {
width: 150px; /* Adjust the width and height to your desired size */
height: 150px; /* Same as above */
width: 150px;
height: 150px;
display: flex;
margin-left: auto;
margin-right: auto;
Expand Down
38 changes: 15 additions & 23 deletions themes/ii/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ a:hover {
code{
color: black;
}
/*a:visited {
color: var(--pink_dark);
}*/

nav {
display: flex;
Expand Down Expand Up @@ -66,14 +63,12 @@ nav a:hover {
align-items: center;
row-gap: var(--font-xxs);
}
.navbar__left {
/* width: 100%; */
/* text-align: center; */
}

.navbar__right {
justify-content: center;
/* margin-left: 50vw; */
row-gap: 0.5rem;
gap: 1rem;
}
}

Expand All @@ -93,9 +88,7 @@ footer {
.footer__left{
width:5%;
}
.footer__right{
width:20%;
}

.contact-details li {
list-style: none;
}
Expand All @@ -104,10 +97,13 @@ footer {
padding-left: 0;
display: flex;
justify-content: space-between;
width:80%;
margin:auto;
}
.contact-details > li {
margin:5px;
}
.contact-details > li > a > div {
margin-bottom: 5px;
margin:auto;
}
.contact-details > li > a:hover{
color: var(--yellow)
Expand Down Expand Up @@ -798,7 +794,7 @@ a {
/**************
* Mobile
**************/
@media screen and (max-width: 768px) {
@media screen and (max-width: 800px) {
.flex-row_outer {
flex-direction: column;
align-items: center;
Expand Down Expand Up @@ -830,17 +826,14 @@ a {

.project-img {
display: block;
width:400px;

margin:auto;
}
.logo{
width:300px;
margin-right: 80px;
}

.center-grid{
width:100%;
}

#contact_form {
width: 100%;
}
Expand All @@ -857,12 +850,11 @@ a {
width: 100%;
height: 100%;
}
.footer__right{
width:400px;
}


.circular-image {
width: 150px; /* Adjust the width and height to your desired size */
height: 150px; /* Same as above */
width: 150px;
height: 150px;
display: flex;
margin-left: auto;
margin-right: auto;
Expand Down

0 comments on commit 5dabbfb

Please sign in to comment.