Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Changed image size and border #1634

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ body {
#7644ff 50.19%,
#fd4766 79.69%
);
-webkit-background-clip: text;
/* -webkit-background-clip: text; */
-webkit-text-fill-color: transparent;
}

Expand Down Expand Up @@ -686,23 +686,20 @@ header {

.header__image img {
position: absolute;

top: 50%;
left: 75%;
border: 0.5rem solid var(--img-color);
border: 0.2rem solid black; /* Set border color to black and reduce width */
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

like after the changes u have made with the border color & as well with the bg the color scheme of all the headings has been looking like this , try to solve this ASAP within tom & push your commits

border-radius: 2rem;
box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.1);
}

.header__image img:nth-child(1) {
/* max-width: 350px; */
max-width: 20vw;
max-width: 25vw; /* Increase size */
transform: translate(-75%, -50%);
}

.header__image img:nth-child(2) {
/* max-width: 250px; */
max-width: 15vw;
max-width: 20vw; /* Increase size */
transform: translate(0%, -25%);
}

Expand Down Expand Up @@ -1440,13 +1437,15 @@ body, html {


/* ====================== */
@media (width < 1200px) {
@media (max-width: 1200px) {
.header__image img:nth-child(1) {
max-width: 30vw;
max-width: 35vw; /* Increase size */
transform: translate(-75%, -50%);
}

.header__image img:nth-child(2) {
max-width: 20vw;
max-width: 25vw; /* Increase size */
transform: translate(0%, -25%);
}
}

Expand Down
Loading