Skip to content

Commit

Permalink
Update style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
Anandprafull authored Oct 24, 2023
1 parent e41281b commit 18f6293
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ copyright {
padding: 1.25rem 0;
}

/* Media query for smaller screens */
/* Media query for smaller screens */
@media screen and (max-width: 980px) {
hr {
Expand All @@ -219,37 +220,31 @@ copyright {
}

p {
margin-left: 2rem;
margin-right: 2rem;
margin: 0 2rem; /* Adjust margin on all sides */
}

.name-container {
margin-top: 40%;
margin-bottom: 0px;
margin-bottom: 0;
line-height: 5.8rem;
}

.name {
font-size: 1000%;
font-size: 500%; /* Adjust font size as needed */
}

.name-description {
font-size: 300%;
font-size: 200%; /* Adjust font size as needed */
}

.top-container {
margin-top: 10vh;
height: 1100px;
padding-top:5%;
height: auto; /* Allow height to adapt */
padding-top: 5%;
}

.mountain {
position: absolute;
left: 0;
right: 0;
bottom: 0;
margin: 0 auto;
width: 100%;
width: 100%; /* Width 100% to fill the container */
}

.profile-img {
Expand Down Expand Up @@ -289,3 +284,4 @@ copyright {
padding: 1.3rem 1.5rem 1rem;
}
}

0 comments on commit 18f6293

Please sign in to comment.